[App] More TV channels on E/F/H series

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [App] More TV channels on E/F/H series

Post by wluczykijwf »

That's great! :) I'll implement it on new version.
bobiturboto wrote: I am only confused about Settings.SetPendingBufferSize_AllType, probably I am missing something from your description, but how exactly is used that setting?
I don't konw also. The description is from SEF Plugin USER Guide v1.20 by Samsung :D.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] More TV channels on E/F/H series

Post by bobiturboto »

I have found that from internet.

For slow devices (e.g. BD-D5300) I recommend to decrease the buffer sizes.

Go to Preferences -> Player and set them to:
Initial Buffer: 1MB
Pending Buffer: 1MB
Total Buffer: 1MB


For normal devices (e.g. D6500) I recommend to set the buffer to.

Go to Preferences -> Player and set them to:
Initial Buffer: 5MB
Pending Buffer: 10MB or 15MB
Total Buffer: 15MB or 20MB


For high bitrate movies (17mbps+) I recommend to increase the buffer sizes. But this doesn't work on all devices. Some just can't play high bitrate movies (e.g. BD-D5300)

Go to Preferences -> Player and set them to:
Initial Buffer: 25MB
Pending Buffer: 50MB
Total Buffer: 75MB
My setting are fine with 12 Mbits stream, but I have mixture between sd and hd channel, big initial buffer will cause long start at the beginning.
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [App] More TV channels on E/F/H series

Post by wluczykijwf »

bobiturboto wrote:My setting are fine with 12 Mbits stream, but I have mixture between sd and hd channel, big initial buffer will cause long start at the beginning.
Can think of a new type for HD channels (In TVList.xml fiele). For example, the HTTP-HD. And for the type set other buffer value :D
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] More TV channels on E/F/H series

Post by bobiturboto »

Exactly, I just planned to ask you for that :)
Multiple profiles per content, this will be great we will have HLS like functionality.
Very good I am looking forward to it
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [App] More TV channels on E/F/H series

Post by wluczykijwf »

bobiturboto wrote:Exactly, I just planned to ask you for that :)
Multiple profiles per content, this will be great we will have HLS like functionality.
Very good I am looking forward to it
Done :D
  1. Add what you do not have to Settings.js script and modify vlaue

    Code: Select all

    //For any type stream
    //If the Value < 1KB then set default Value
    //E.g. If you want to set 5MB then set the Value to 5120KB = 1024 * 5
    Settings.SetTotalBufferSize_AllType = 1024 * 500; //It sets the total It sets the total It sets the total (KB)
    Settings.SetInitialBufferSize_AllType = 0; // It sets the initial buffered data size before start playback (KB)
    Settings.SetPendingBufferSize_AllType = 0; //It sets the minimum data size which goes out from buffering, when media player is on buffering status (KB)
    
    //Individual for some type stream
    Settings.SetTotalBufferSize = {
        'HTTP': 1024 * 1,
        'HTTP-HD': 1024 * 50,
    };
    Settings.SetInitialBufferSize = {
        'HTTP': 1024 * 5,
        'HTTP-HD': 1024 * 12,
    };
    Settings.SetPendingBufferSize = {
        'HTTP': 1024 * 4,
        'HTTP-HD': 1024 * 12,
    };
  2. You can add new types (maybe HTTP-RADIO, MP3, HTTP-SD ect...)
  3. Modify type stream for channel HD in TvList.xml file
  4. Replace the Player.js script in mean directory OnlineTV
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] More TV channels on E/F/H series

Post by bobiturboto »

Well done :)
You have put the app on different level!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

One more request :)
Can we monitor the buffers usage some how - for example with red button?
Thia will help us so much for fine tuning.
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [App] More TV channels on E/F/H series

Post by wluczykijwf »

bobiturboto wrote: [...] One more request :)
Can we monitor the buffers usage some how - for example with red button?
Thia will help us so much for fine tuning.
It is displayed but now in bytes. Look it.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] More TV channels on E/F/H series

Post by bobiturboto »

I can see only this

Code: Select all

[Player] TYPE = HTTP
[OnlineChannel] Load video source, select app: PL_TASKMANAGER_DTV_APP_TVVIEWER(2)
[OnlineChannel] Auto rect screen
[Player] Screen resolution: 0000/0000/0960/0540
[Player] SetTotalBufferSize: value=10485760B, status=1
[Player] SetInitialBufferSize: value=3145728B, status=1
[Player] SetPendingBufferSize: value=2097152B, status=1
[Player] Set custom video mode, pos (0,0) & size (960,540)
[Player] Video start playback!!!
[OnlineChannel] OnlineTV Success
[Main] CheckingRegKey start
[Main] CheckRegKey: 0
[Main] OnlineTVTurn: 1
[Main] VolCH_SetBannerState
[Main] Power key registered
[Main] Regist key
[Main] CheckingRegKey stop
[Main] Message TV event: EVENT_SOURCE_CHANGED(114) -> (PL_TVMW_SOURCE_TV(0), PL_TVMW_SOURCE_TV(0))
[Main] Message TV event: EVENT_CHANGE_TV_MODE(115) -> (TV_MODE_CABLE(1), TV_MODE_AIR(0))
[Main] Message TV event: EVENT_SATCR(126) -> ()
[Main] The App is activated: PL_TASKMANAGER_DTV_APP_TVVIEWER(2), widget focus status: false
[Main] Message TV event: EVENT_SOURCE_CHANGED(114) -> (PL_TVMW_SOURCE_TV(0), PL_TVMW_SOURCE_MEDIA(43))
[Main] Message TV event: EVENT_SATCR(126) -> ()
[Main] The App is deactivated: PL_TASKMANAGER_DTV_APP_TVVIEWER(2), widget focus status: false
[Main] The App is activated: PL_TASKMANAGER_DTV_APP_INFOLINK2(64), widget focus status: false
[Main] On window go...
[Main] Event type = onShow
[Main] Event data = 
[Player] Set full video mode, pos (0,0) & size (960,540)
[Main] CheckRegKey: 1
[Main] OnlineTVTurn: 1
[Main] VolCH_SetBannerState
[Main] Power key registered
[Main] Regist key
[Main] On window! 1
[Main] App: PL_TASKMANAGER_DTV_APP_INFOLINK2(64)
[Main] On window done...
[Main] App: PL_TASKMANAGER_DTV_APP_INFOLINK2(64). On widget event, type: 48, data: GET
[Player] On stream info ready
[Player] Buffering started
[Player] Buffering: 1%
[Player] Buffering: 52%
[Player] Buffering: 71%
[Player] Buffering: 92%
[Main] Press: KEY_RED
[Display] Widget menu on!
[Player] Buffering complete
[Player] Current bitrate: 43.2 Mb/s
[Player] Detected the soundtrack 0: 
[Player] GetResolution: 720 x 576, GetResolutionWithPAR: 720 x 405 SD 16:9
[Main] PIP get false
[Main] Message TV event: EVENT_RESOLUTION_CHANGED(117) -> (PL_WINDOW_RESOLUTION_PAL(14), WINDOW_MAIN(0))
[Player] Video played
Or maybe the best place for the buffers feedback will be like the stream info from green or yellow buttons.
Can we have there in percentage how fill are PendingBuffer and TotalBuffer then precisely we can adjust the values, and optimize loading time and stability of the streams. About InitialBuffer it's optional to have it because should be full to start the player, but why not it will be nice to have feature.
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [App] More TV channels on E/F/H series

Post by wluczykijwf »

bobiturboto wrote:[...] Or maybe the best place for the buffers feedback will be like the stream info from green or yellow buttons.
Can we have there in percentage how fill are PendingBuffer and TotalBuffer then precisely we can adjust the values, and optimize loading time and stability of the streams. About InitialBuffer it's optional to have it because should be full to start the player, but why not it will be nice to have feature.
Sorry, but there are no such a function which get current value for the buffers and I don't know how it implement.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [App] More TV channels on E/F/H series

Post by bobiturboto »

That is true, their API is quite limited about that.
No worries even the existing functionality is more than enough
Bulgarian and Russian translations are attached.
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “[F] Software”