contents go
  • Multimedia
    Samsung B2B Display Media Spec

    Please check below link.

  • Multimedia
    Does Samsung Smart TV B2B Display supports the MP3/MP4 streaming?

    Yes, MP3/MP4 streaming is supported


  • Multimedia
    Content blinking between video playback

    Solution:

     

    When using internal Player API it is very important to have proper framerate of video files.

     

    For Korea/USA FW it should be 24/30/60 frames per second.

     

    For Europe and rest of the world it should be 25/50 frames per second.

  • Multimedia
    How to play unicast video in loop?

    Register for the onEvent callback function.

    When you get the RENDERING_COMPLETE event then stop the video and again call play function.

  • Multimedia
    How to detect end of stream?

    For handling end of stream event, please refer to OnRenderingComplete API.

    Following link provide you the details.    http://www.samsungdforum.com/Guide/ref00011/deviceapi_player_onrenderingcomplete.html

  • Multimedia
    How can I play videos in HD resolution?

              The player deforms the aspect ratio of the videos. Is there a setting to keep the video aspect ratio?

     

    While changing the resolution of video, please maintain its aspect ratio i.e. 16:9

                

    Example:

    var width = 320 //16:9 aspect ratio

    var height = 180; //16:9 aspect ratio

     

    //If video window values are according to [960x540] then:

     

    var xx = 320;

    var yy = 100;

    var ww = 373;

    var hh = 210;

    this.plugin.Execute('SetDisplayArea', xx, yy, ww, hh);

     

    //Define See-through hole in image plane [1280x720] to map with video window

    this.plugin.style.position='absolute';

    var x= (1280/960)*xx;

    var y= (720/540)*yy;

    var w= (1280/960)*ww;

    var h= (720/540)*hh;

    this.plugin.style.width =w+'px';

    this.plugin.style.height =h+'px';

    this.plugin.style.left = x+'px';

    this.plugin.style.top = y+'px';

     

    or

    //If video window values are according to [1280x720] then:

    var xx = 520;

    var yy = 200;

    var ww = 573;

    var hh = 410;

     

    var x= (960/1280)*xx;

    var y= (540/720)*yy;

    var w= (960/1280)*ww;

    var h= (540/720)*hh;

    this.plugin.Execute('SetDisplayArea', x, y, w, h);

     

    //Define See-through hole in image plane [1280x720] to map with video window

    this.plugin.style.position='absolute';

    this.plugin.style.width =ww+'px';

    this.plugin.style.height =hh+'px';

    this.plugin.style.left = xx+'px';

    this.plugin.style.top = yy+'px';


  • Multimedia
    Problem with multicast channels

               The multicast channels are not getting played when I power on the TV is virtual standby mode. How to solve this?

     

    The object specified for channel play need to reinitialize inside onShow call back function. The keys need to be register /unregister again. E.g.


    1. Declare the callback function, so that it could be triggered when TV is power on in VS=ON mode. This should be done when the app launches for the very first time.(inside onLoad callback function).
    window.onShow = onShowHandler;


    2. Define the function by re-initializing the objects and re-declaring keys. 
    function onShowHandler()
    {
     pluginObj.unregistKey(tvKey.KEY_VOL_UP);//declare the keys again
     pluginIPTV.Open('IPTV', '1.00', 'IPTV');//initialize the object again
    }


  • Multimedia
    How to play HLS stream ?

     Please refer the below code:

    Include in HTML File-

     

    <object id='pluginSefVOD' border=0 classid='clsid:SAMSUNG-INFOLINK-SEF'></object>

     

    Include in JS file

    var videoURL =  "http://stream.gravlab.net/003119/sparse/v1d30/posts/2014/barcelona/barcelona.m3u8|COMPONENT=HLS";

     

    var pluginVOD = document.getElementById("pluginSefVOD");

    pluginVOD.Open('Player','1.000','Player');

     

    pluginVOD.Execute("InitPlayer", videoURL);

    pluginVOD.Execute("Start", videoURL);

    pluginVOD.Execute("StartPlayback", 0);

    pluginVOD.Execute('SetDisplayArea', 0, 0, 960, 540);


  • Multimedia
    Do I need alter data from channel map?

    When we receive the channel information from TV via clone using channel map parser, do we need to alter any data?

     

    No, none of the parameters that is received via channel map parser cannot be changed.

  • Multimedia
    Multi Language & Subtitle for HLS stream

              To get Multi Language and subtitle for HLS streams, the API is GetStreamLanguageInfo.

    To change language API SetStreamID is used. GetTotalNumOfStreamID will return total number of languages in stream.

     

    Example:

    pluginSef.Execute('GetTotalNumOfStreamID', 1);

    // This will return the total number of languages in stream. '1' is passed for mutilanguage

    pluginSef.Execute('GetStreamLanguageInfo',1,1); //This will return the language at index '1'

    pluginSef.Execute('SetStreamID',1,0); //language can be changed by passing the index..here its '0'

     

     

     

    Regarding Subtitles - HLS support only SAMI (External subtitle).

    To change subtitle API SetStreamID is used. GetTotalNumOfStreamID will return total number of subtitles in stream.

     

    pluginSef.Execute('GetTotalNumOfStreamID', 5);

    // This will return the total number of languages in stream. '5' is passed for subtitle

    pluginSef.Execute('StartSubtitle', '$TEMP/subtitle/subtitle.smi');

    //to display subtitle. path to .smi file(external subtitle file)

    pluginSef.Execute('SetStreamID', '5', '0'); //subtitle id can be changed by passing the index..here its '0'


위로가기