rtmpgw - RTMP media gateway for Samsung TV

Here is information about customize your D series firmware..:!:This forum is NOT FOR USER questions or problems but DEVELOPER.

eclipsejee
Posts: 6
Joined: Fri Jul 27, 2012 6:19 pm

rtmpgw - RTMP media gateway for Samsung TV

Post by eclipsejee »

Hi Samygo gurus,

Can you please incorporate rtmpgw (rtmp proxy gateway of rtmpdump) in the Samygo, so that we can watch rmtp protection stream with nStreamPlayer...

Example of rtmp protection stream is : rtmp://s5.webport.tv:1935/live playpath=z050227.stream pageUrl=http://www.tvsector.com live=1 swfUrl=http://www.tvsector.com/wp-content/uplo ... player.swf timeout=10

Example of nStreamPlayer url work with rtmpgw is : http://192.168.1.3/?r=rtmp%3A%2F%2F176. ... jo3hs7g7tq

Note: it is required to pass in pageUrl and swfUrl in the flash connection stream which can be done by using rtmpgw proxy gateway...

rtmpgw source code is at http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.3.tgz

Tested the nStreamPlayer url above working fine with rtmpgw for windows version, but it is required a Windows PC to run the rtmpgw gateway, would appreciate if Samygo guru can compile the rtmpgw into the runnable binary which can be supported by Samsung Smart TV, so that we don't have to ON the PC in order to stream rtmp swfUrl and pageUrl protection stream :)


Thanks
Last edited by eclipsejee on Mon Aug 27, 2012 8:07 am, edited 1 time in total.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: rtmpgw for Samsung TV

Post by juusso »

Updated on 14/4/2013, no more CPU overload!

Code: Select all

[TV]UE40D6750:/#rtmpgw -h
HTTP-RTMP Stream Gateway v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

This program serves media content streamed from RTMP onto HTTP.
For testing purposes registered on ilive.to, got stream url using urlhelper:

Code: Select all

http://192.168.1.210/?r=rtmp://188.122.91.33/edge<playpath>8g7x80ozu6hz2ds <swfUrl>http://cdn.static.ilive.to/jwplayer/player.swf <pageUrl>http://www.ilive.to/view/38366/StarZ_movies
after several fails, i got it working... :)
This is my nStreamUrl:

Code: Select all

<stream_url><![CDATA[http://127.0.0.1:1935/?r=rtmp%3A%2F%2F188.122.91.33%3A1935%2Fedge&u=8g7x80ozu6hz2ds&s=http%3A%2F%2Fstatic.ilive.to%2Fjwplayer%2Fplayer.swf&p=http%3A%2F%2Fwww.ilive.to%2Fview%2F38366%2FStarZ_movies&y=8g7x80ozu6hz2ds]]></stream_url> 
<video_type>http</video_type>
SpoilerShow

Code: Select all

DEBUG: serverThread: accepted connection from 192.168.1.202

DEBUG: processTCPrequest: header: GET /?r=rtmp%3A%2F%2F188.122.91.33%3A1935%2Fedge&u=8g7x80ozu6hz2ds&s=http%3A%2F%2Fstatic.ilive.to%2Fjwplayer%2Fplayer.swf&p=http%3A%2F%2Fwww.ilive.to%2Fview%2F38366%2FStarZ_movies&y=8g7x80ozu6hz2ds HTTP/1.1

User-Agent: Lavf52.34.0

Accept: */*

Range: bytes=0-

Host: 192.168.1.202:1935

Authorization: Basic 

Connection: close




processTCPrequest, Range request not supported
DEBUG: serverThread: processed request

DEBUG: serverThread: accepted connection from 192.168.1.202

DEBUG: processTCPrequest: header: GET /?r=rtmp%3A%2F%2F188.122.91.33%3A1935%2Fedge&u=8g7x80ozu6hz2ds&s=http%3A%2F%2Fstatic.ilive.to%2Fjwplayer%2Fplayer.swf&p=http%3A%2F%2Fwww.ilive.to%2Fview%2F38366%2FStarZ_movies&y=8g7x80ozu6hz2ds HTTP/1.1

Host: 192.168.1.202:1935

User-Agent: Lavf52.34.0

Connection: close




DEBUG: processTCPrequest: Request header: /?r=rtmp%3A%2F%2F188.122.91.33%3A1935%2Fedge&u=8g7x80ozu6hz2ds&s=http%3A%2F%2Fstatic.ilive.to%2Fjwplayer%2Fplayer.swf&p=http%3A%2F%2Fwww.ilive.to%2Fview%2F38366%2FStarZ_movies&y=8g7x80ozu6hz2ds
DEBUG: processTCPrequest: parameter: r, arg: rtmp://188.122.91.33:1935/edge
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host    : 188.122.91.33
DEBUG: Parsed app     : edge
DEBUG: processTCPrequest: parameter: u, arg: 8g7x80ozu6hz2ds
DEBUG: processTCPrequest: parameter: s, arg: http://static.ilive.to/jwplayer/player.swf
DEBUG: processTCPrequest: parameter: p, arg: http://www.ilive.to/view/38366/StarZ_movies
DEBUG: processTCPrequest: parameter: y, arg: 8g7x80ozu6hz2ds
DEBUG: Setting buffer time to: 20000ms
DEBUG: Protocol : RTMP
DEBUG: Hostname : 188.122.91.33
DEBUG: Port     : 1935
DEBUG: Playpath : 8g7x80ozu6hz2ds
DEBUG: tcUrl    : rtmp://188.122.91.33:1935/edge
DEBUG: swfUrl   : http://static.ilive.to/jwplayer/player.swf
DEBUG: pageUrl  : http://www.ilive.to/view/38366/StarZ_movies
DEBUG: app      : edge
DEBUG: auth     : 8g7x80ozu6hz2ds
DEBUG: live     : no
DEBUG: timeout  : 120 sec
Connecting ... port: 1935, app: edge
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version   : 3.0.1.1
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 259 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             fmsVer, STRING:     FMS/3,5,4,210>
DEBUG: Property: <Name:       capabilities, NUMBER:     31.00>
DEBUG: Property: <Name:               mode, NUMBER:     1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetConnection.Connect.Success>
DEBUG: Property: <Name:        description, STRING:     Connection succeeded.>
DEBUG: Property: <Name:               data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:     3,5,4,210>
DEBUG: (object end)
DEBUG: Property: <Name:           clientid, NUMBER:     605982937.00>
DEBUG: Property: <Name:     objectEncoding, NUMBER:     0.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG: Invoking _checkbw
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: 8g7x80ozu6hz2ds
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 186 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetStream.Play.PublishNotify>
DEBUG: Property: <Name:        description, STRING:     rtmp://fms.ilive.to:1935/live/_definst_/8g7x80ozu6hz2ds is now published.>
DEBUG: Property: <Name:           clientid, NUMBER:     605982937.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.PublishNotify
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 1
DEBUG: RTMP_ClientPacket, received: invoke 183 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetStream.Play.Reset>
DEBUG: Property: <Name:        description, STRING:     Playing and resetting rtmp://fms.ilive.to:1935/live/_definst_/8g7x80ozu6hz2ds.>
DEBUG: Property: <Name:           clientid, NUMBER:     605982937.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset
DEBUG: RTMP_ClientPacket, received: invoke 214 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetStream.Play.Start>
DEBUG: Property: <Name:        description, STRING:     Started playing rtmp://fms.ilive.to:1935/live/_definst_/8g7x80ozu6hz2ds.>
DEBUG: Property: <Name:           clientid, NUMBER:     605982937.00>
DEBUG: Property: <Name:         isFastPlay, BOOLEAN:    FALSE>
DEBUG: Property: <Name:     timecodeOffset, STRING:     302L>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Start
DEBUG: RTMP_ClientPacket, received: notify 24 bytes
DEBUG: (object begin)
DEBUG: (object end)
DEBUG: RTMP_ClientPacket, received: notify 44 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:               code, STRING:     NetStream.Data.Start>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: RTMP_ClientPacket, received: notify 358 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:           duration, NUMBER:     0.00>
DEBUG: Property: <Name:              width, NUMBER:     720.00>
DEBUG: Property: <Name:             height, NUMBER:     300.00>
DEBUG: Property: <Name:      videodatarate, NUMBER:     749.90>
DEBUG: Property: <Name:          framerate, NUMBER:     90000.00>
DEBUG: Property: <Name:       videocodecid, NUMBER:     7.00>
DEBUG: Property: <Name:      audiodatarate, NUMBER:     122.62>
DEBUG: Property: <Name:    audiosamplerate, NUMBER:     44100.00>
DEBUG: Property: <Name:    audiosamplesize, NUMBER:     16.00>
DEBUG: Property: <Name:             stereo, BOOLEAN:    TRUE>
DEBUG: Property: <Name:       audiocodecid, NUMBER:     10.00>
DEBUG: Property: <Name:        major_brand, STRING:     mp42>
DEBUG: Property: <Name:      minor_version, STRING:     0>
DEBUG: Property: <Name:  compatible_brands, STRING:     mp42isom>
DEBUG: Property: <Name:            encoder, STRING:     Lavf54.14.100>
DEBUG: Property: <Name:           filesize, NUMBER:     0.00>
DEBUG: (object end)
DEBUG: (object end)
INFO: Metadata:
INFO:   duration              0.00
INFO:   width                 720.00
INFO:   height                300.00
INFO:   videodatarate         749.90
INFO:   framerate             90000.00
INFO:   videocodecid          7.00
INFO:   audiodatarate         122.62
INFO:   audiosamplerate       44100.00
INFO:   audiosamplesize       16.00
INFO:   stereo                TRUE
INFO:   audiocodecid          10.00
INFO:   major_brand           mp42
INFO:   minor_version         0
INFO:   compatible_brands     mp42isom
INFO:   encoder               Lavf54.14.100
INFO:   filesize              0.00

0.435 KB / 0.00 sec
DEBUG: ignoring too small video packet: size: 2

27.463 KB / 0.00 sec
DEBUG: ignoring too small video packet: size: 2
DEBUG: ignoring too small audio packet: size: 0

27.481 KB / 0.00 sec
27.861 KB / 0.00 sec
28.202 KB / 0.02 sec
28.547 KB / 0.05 sec
28.875 KB / 0.07 sec
29.235 KB / 0.09 sec
29.604 KB / 0.12 sec
29.987 KB / 0.14 sec
30.365 KB / 0.16 sec
30.753 KB / 0.18 sec
31.149 KB / 0.21 sec
31.578 KB / 0.23 sec
32.003 KB / 0.26 sec
32.425 KB / 0.28 sec
32.834 KB / 0.30 sec
33.252 KB / 0.33 sec
33.629 KB / 0.35 sec
49.199 KB / 0.36 sec
49.564 KB / 0.37 sec
49.941 KB / 0.39 sec
53.932 KB / 0.40 sec
54.326 KB / 0.42 sec
54.717 KB / 0.44 sec
59.502 KB / 0.44 sec
59.899 KB / 0.46 sec
63.791 KB / 0.48 sec
64.179 KB / 0.49 sec
64.570 KB / 0.51 sec
68.705 KB / 0.52 sec
69.099 KB / 0.53 sec
69.501 KB / 0.56 sec
73.216 KB / 0.56 sec
73.630 KB / 0.58 sec
77.261 KB / 0.60 sec
77.639 KB / 0.60 sec
78.074 KB / 0.63 sec
ExLink log:
SpoilerShow

Code: Select all

**************************************************************************************
**************************************************************************************
  OPEN URL : http://192.168.1.202:1935/?r=rtmp%3A%2F%2F188.122.91.33%3A1935%2Fedge&u=8g7x80ozu6hz2ds&s=http%3A%2F%2Fstatic.ilive.to%2Fjwplayer%2Fplayer.swf&p=http%3A%2F%2Fwww.ilive.to%2Fview%2F38366%2FStarZ_movies&y=8g7x80ozu6hz2ds 
**************************************************************************************
**************************************************************************************


[ROSE_MW    ] [CMediaManager][GetStreamMedia] Called

[ROSE_MW    ] HTTP Authorization Basic SET
[ROSE_MW    ] GetMediaType: 0
[ROSE_MW    ] seconds:0, byte:0
[ROSE_MW    ] AddCommand : CContainerOpenCommand
[ROSE_MW    ] AddCommand : CMediaPlayCommand
[ROSE_MW    ] A STREAM MEDIA COMMAND IS BEING EXECUTED
<FFMPEG OPEN_INPUT_FILE 2011-01-19>
TRY TO RECONNECT!!![1350902608:114125][DEBUG][Open][424] MEDIATYPE[3] FILE SIZE[0]
[ROSE_MW    ] It's about to create CPlayer
[ROSE_MW    ] A STREAM MEDIA COMMAND IS DONE
[ROSE_MW    ] A STREAM MEDIA COMMAND IS BEING EXECUTED
[ROSE_MW    ] Set SetEventReceiver: 0x82dbd60, 859
[SetTrickPlay][9898] ID:[8434a40]	CALLED!!! speed[ 1.000000 ]
[SetBufferSizeForPlay][2259] ID:[8434a40]	PRE ROLLING FOR PLAY SIZE = 423 kB
[SetBufferSizeForResume][2276] ID:[8434a40]	PRE ROLLING FOR RESUME SIZE = 423 kB
[ROSE_MW    ] Player Something with some values[0x8396ca0, 0, 0]
[Play][967] ID:[8434a40]	PLAY CALLED!!!
[1350902608:631125][DEBUG][AssignPlayer][440] 
[1350902608:631181][DEBUG][AssignPlayer][458] PLAYER 0 [0x8434a40] IS ASSIGNED
[1350902608:631460][DEBUG][GetPanelSize][2960] 1920 x 1080 PANEL CONFIGURED
[t_StartPlayThread][8456] ID:[8434a40]	TIMESLICE [16]ms
[1350902608:631647][DEBUG][Open][388] [0x8396ca0] WARNING: MEDIA IS ALREADY OPENED
[flv @ 0x82a7dc8]skipping flv packet: type 18, size 358, flags 0
[ROSE_MW    ] A STREAM MEDIA COMMAND IS DONE
 max_analyze_duration reached
fps_from_r_frame_rate = 25, fps_from_time_base=1000 
USE_R_FRAME_RATE 
----------[libavformat/utils.c][av_estimate_timings] duration=-9223372036854775808----------
< Uniplayer 2011-02-22 ICS012-Subtitle issue fixed >
Input #0, flv, from 'http://192.168.1.202:1935/?r=rtmp%3A%2F%2F188.122.91.33%3A1935%2Fedge&u=8g7x80ozu6hz2ds&s=http%3A%2F%2Fstatic.ilive.to%2Fjwplayer%2Fplayer.swf&p=http%3A%2F%2Fwww.ilive.to%2Fview%2F38366%2FStarZ_movies&y=8g7x80ozu6hz2ds':
  Duration: N/A, start: 0.000000, bitrate: N/A
[0]th stream , StreamIdx[0], TimeBase  NUM[1] DEN[1000] 
    Stream #0.0: Video: h264, yuv420p, 720x300 [PAR 1:1 DAR 12:5], 50 fps, 25 tbr, 1k tbn, 50 tbc
[1]th stream , StreamIdx[1], TimeBase  NUM[1] DEN[1000] 
    Stream #0.1: Audio: aac, 44100 Hz, stereo, s16
[av_seek_available][5002] Streaming evirontments, Set cannot seek
[1350902609:724511][DEBUG][t_AVParse][893] [0x8396ca0][t_AVParse][893] CanNot Seek
[m_SelectStreams][7014] ID:[8434a40]	STREAMS SELECTED DONE V[0] A[1] S[-1]
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300033]  MESSAGE[0]  CALLER[m_SelectStreams]  LINE[7016]

[CSubtitleProcessor][Start] CALLED

[CSubtitleProcessor][Start] FLAG START : 0
[ROSE_MW    ] GetMediaType: 3
[CSubtitleProcessor][display_thread] TIMESLICE [8]ms

[CSubtitleProcessor][Start] DONE : 1
[CPlayer][t_StartPlayThread] AUDIO QUEUE CREATED ...
[1350902609:826852][INFO][SelectQueue][949] USER ID [ 0 ], StrNum [ 1 ] Q[0x7d59eb0]
[CPlayer][t_StartPlayThread] AUDIO QUEUE CREATED .....[0]

[t_WhatToUse] Codec ID [0x15002] [86018]
[1350902609:835095][INFO][Open][62] [CAudioDecoder][Open] AUDIO STREAM FOUND [1]

### eSrc 0x2000, Audio Format [Not Support String 27], DDCompMode RF, Factory value -9, Real set value to SDAL 0
[1350902609:836069][DEBUG][openAudioDecoder][1194] OPEN AUDIO DECODER SUCCESS
[1350902609:836139][INFO][Open][74] [CAudioDecoder][Open] AUDIO HW CODEC OPEN SUCCESS .....

[1350902609:836190][INFO][m_PrepareAudioResources][12320] AUDIO CODEC OPEN SUCCESS ID[0].....

[t_AudioThread][5966] ID:[8434a40]	ID[0]- NUMBER OF FRAMES:[0]
[t_AudioThread][5967] ID:[8434a40]	ID[0]-TIME BASE DEN[1000] NUM[1]
[t_AudioThread][5968] ID:[8434a40]	ID[0]-EXTRA DATA SIZE:[2]
[t_AudioThread][5970] ID:[8434a40]	ID[0]-USER INFO:[0]
[CPlayer][t_StartPlayThread] AUDIO THREAD CREATED .....[0]
[CPlayer][t_StartPlayThread] VIDEO Q INIT (NORMAL).....
[CPlayer][t_StartPlayThread] VIDEO QUEUE CREATED .....

[t_WhatToUse] Codec ID [0x1c] [28]
-- HW VIDEO CODEC : ,h264,

	>>[ERR:TDiMpeg.cpp] GetAllowedVideoBitrate():741 Null Fuction Call !!!Must Check Implementation Code...

[CPlayer][t_StartPlayThread] VIDEO THREAD CREATED .....
openVideoDecoder---2177
[1350902609:850937][DEBUG][openVideoDecoder][2184] OPEN VIDEO DECODER SUCCESS
[1350902609:851032][DEBUG][UploadPlaybackInfo][2140] 


#######################
### PLAY START !!!! ###
#######################


[CVideoDecoder][Open] VIDEO PIXEL FORMAT: [0]
[CVideoDecoder][Open] HW VIDEO CODEC OPEN SUCCESS .....
[1350902609:851198][INFO][Open][47] [CVideoRenderer][Open] OPEN DISPLAY.. 

[TDScaler][Connect]eOutVideoID = 0x0, eBackendId = 0xb, eWindowID = 0x0
[TDScaler]eExtOutId = 0xd, eOutVideoId = 0x0
[TDScaler]eSource = 0x2001, m_ePipSourceMode = 0x0, m_ePreSrcMode:0x2000
[CPlayer][t_StartPlayThread] AUDIO PLAY THREAD CREATED .....[0]
[TDScaler][VidId:0][3401] (CVBS OnOff:1)
[1350902609:851908][DEBUG][setVideoMute][1781] SCALER MUTE [MAIN] : ON

	>>[ERR:TDiScaler.cpp] SetCurrentMediaType():234 Null Fuction Call !!!Must Check Implementation Code...

[1350902609:852128][INFO][m_PrepareVideoResources][12234] VIDEO DECODER & RENDERER ARE OPENED

[t_VideoThread][4143] ID:[8434a40]	TIME BASE DEN[1000] NUM[1]
[t_VideoThread][4144] ID:[8434a40]	TIMEBASE UNRELIABLE = 1
[CPlayer][t_StartPlayThread] DISPLAY THREAD CREATED .....
[t_StartPlayThread][8556] ID:[8434a40]	TOTAL BUFFER SIZE = 10240 kB
[t_StartPlayThread][8557] ID:[8434a40]	AUDIO Q SIZE = 5120 kB
[t_StartPlayThread][8558] ID:[8434a40]	VIDEO Q SIZE = 5120 kB
[t_StartPlayThread][8559] ID:[8434a40]	BUFFERING TIMEOUT = 10 s
[t_StartPlayThread][8560] ID:[8434a40]	NUMBER OF STREAMS: [2]
[1350902609:853171][DEBUG][getSystemClockTicks][451] [STC] WARNING : TICK IS UNEVEN - CUR[68782370] OLD[61720702]
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[101]  CALLER[t_BufferingStart]  LINE[1468]
[m_ControlBuffer][7834] ID:[8434a40]	****** GROUND ZERO --> BUFFERING
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (27657 / 433152) = 6%
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[6]  CALLER[m_ControlBuffer]  LINE[8082]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (30474 / 433152) = 7%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (49604 / 433152) = 11%
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[11]  CALLER[m_ControlBuffer]  LINE[8082]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (54396 / 433152) = 12%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (60046 / 433152) = 13%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (64401 / 433152) = 14%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (65165 / 433152) = 15%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (69379 / 433152) = 16%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (73944 / 433152) = 17%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (78049 / 433152) = 18%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (83924 / 433152) = 19%
[ROSE_MW    ] Resolution Info[width: 0, height: 0]
[ROSE_MW    ] Resolution Info[width: 0, height: 0]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (90337 / 433152) = 20%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (91115 / 433152) = 21%
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[21]  CALLER[m_ControlBuffer]  LINE[8082]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (97231 / 433152) = 22%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (103105 / 433152) = 23%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (108309 / 433152) = 25%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (123007 / 433152) = 28%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (126787 / 433152) = 29%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (131520 / 433152) = 30%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (136106 / 433152) = 31%
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[31]  CALLER[m_ControlBuffer]  LINE[8082]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (140387 / 433152) = 32%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (145890 / 433152) = 33%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (150744 / 433152) = 34%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (155724 / 433152) = 35%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (156109 / 433152) = 36%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (161073 / 433152) = 37%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (166493 / 433152) = 38%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (171847 / 433152) = 39%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (177809 / 433152) = 41%
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[41]  CALLER[m_ControlBuffer]  LINE[8082]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (185792 / 433152) = 42%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (186484 / 433152) = 43%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (192284 / 433152) = 44%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (198166 / 433152) = 45%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (202755 / 433152) = 46%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (207800 / 433152) = 47%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (208129 / 433152) = 48%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (214275 / 433152) = 49%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (220178 / 433152) = 50%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (223968 / 433152) = 51%
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[51]  CALLER[m_ControlBuffer]  LINE[8082]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (228552 / 433152) = 52%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (232722 / 433152) = 53%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (236655 / 433152) = 54%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (240764 / 433152) = 55%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (244797 / 433152) = 56%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (248145 / 433152) = 57%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (257871 / 433152) = 59%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (261533 / 433152) = 60%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (264528 / 433152) = 61%
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[61]  CALLER[m_ControlBuffer]  LINE[8082]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (271819 / 433152) = 62%
[ROSE_MW    ] x:0, y:0, width:720, height:300
[1350902610:533010][ERROR][getResolutionInfo][1455] WARNING : GET_RESOLUTION_INFO RETURNS WRONG RESOLUTION!!!! [1th]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (275334 / 433152) = 63%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (278988 / 433152) = 64%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (282964 / 433152) = 65%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (286897 / 433152) = 66%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (292531 / 433152) = 67%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (295664 / 433152) = 68%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (299110 / 433152) = 69%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (303549 / 433152) = 70%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (308829 / 433152) = 71%
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[71]  CALLER[m_ControlBuffer]  LINE[8082]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (312261 / 433152) = 72%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (317912 / 433152) = 73%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (321754 / 433152) = 74%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (326210 / 433152) = 75%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (329338 / 433152) = 76%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (333713 / 433152) = 77%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (338799 / 433152) = 78%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (342556 / 433152) = 79%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (362710 / 433152) = 83%
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[83]  CALLER[m_ControlBuffer]  LINE[8082]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (364940 / 433152) = 84%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (369446 / 433152) = 85%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (372569 / 433152) = 86%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (376995 / 433152) = 87%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (382884 / 433152) = 88%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (385703 / 433152) = 89%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (390093 / 433152) = 90%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (395076 / 433152) = 91%
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[91]  CALLER[m_ControlBuffer]  LINE[8082]
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (400141 / 433152) = 92%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (402979 / 433152) = 93%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (407785 / 433152) = 94%
[m_ControlBuffer][8079] ID:[8434a40]	****** BUFFERING...  (412485 / 433152) = 95%
[m_ControlBuffer][7997] ID:[8434a40]	****** BUFFERING END A FRAME#[173/0] V FRAME#[93/0] TIME[690ms/10000ms] A SIZE[62KB/5120KB] V SIZE[361KB/5120KB]
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300035]  MESSAGE[102]  CALLER[t_BufferingEnd]  LINE[1527]


-- VIDEO CALLBACK !!! 0, 720, 0, 300 , frmaerate=25000
[ERROR][hdiDecodeAudioFrame():1286] spIAe_DecodeAudioFrame 0xf00

	>>[ERR:TDsSamMpeg.cpp] DecodeAudioFrame():2844  - SDAL ERROR [-1] !!!

[1350902610:559230][INFO][t_OpenAudioRenderer][11914] iSampleRate[ 44100 ], iChannels[ 2 ], iFormat[ 4 ], bLittleEndian[ 1 ]
[ERROR][locStartI2sTx():1203] Sound0 Speaker is Not Connected...
[1350902610:560000][DEBUG][SetAudioMute][808] SOUND MUTE : ON
[t_HandleAudioMuteCallBack] bOn=1, PreState=PLAY_STATE_STOP
[t_AudioThread][6437] ID:[8434a40]	CHANNELS:[2]
[t_AudioThread][6438] ID:[8434a40]	SAMPLE WIDTH IN BYTES:[4]
[t_AudioThread][6439] ID:[8434a40]	RATE:[44100]
[t_AudioThread][6440] ID:[8434a40]	AUDIO BYTES PER SEC:[352800]
*****************************
*****************************
*****************************
AST: [68846028]
*****************************
*****************************
*****************************
[1350902610:562656][DEBUG][t_GetResolutionInfo][11742] [HW] W[720] H[300] FR[25000] PRG[0] RES[129]
[1350902610:892546][DEBUG][UploadResolution][699] [MAIN][ON] W[720] H[300] FR[25000] PRG[0] RES[129] BR[0] CODEC[3] FORMAT[4] EFFECT MODE[0], ASPECT_RATIO[0]
[1350902610:892885][DEBUG][setVideoQuality][1426] T[ 0 ]
[CPlayer][t_UpdateScreen] RESOLUTION SETTING IS NOT DONE!!! 
[1350902610:560959][DEBUG][getResolutionInfo][1452] GET_RESOLUTION_INFO RETURNS [720X300]
[1350902610:893084][DEBUG][t_GetResolutionInfo][11742] [HW] W[720] H[300] FR[25000] PRG[0] RES[129]
[t_SetCropInfo][11568] ID:[8434a40]	CROP AREA - X[0] Y[0] W[720] H[300]
[TDaScaler][SetCapture][ID:0]Capture (0, 0, 720, 300)
[Scaler]
 TDResolution_k : [129]
TDResolutionInfo_t [720], [300], [0], [0], [2200], [1125], [0], [25000], [0], [0], [0], [0], [0], [0], [0], [0], [12800], [0], [4], [3], [0], [0]
[ROSE_MW    ] [SetOutputArea x:0, y:0, widht:1920, height:1080], [ScalingVideo: 5]
[1350902611:76661][INFO][SetOutputArea][844] CALLED, BUT TOO LATE
[BackEnd]
 TDResolution_k : [129]
TDResolutionInfo_t [720], [300], [0], [0], [2200], [1125], [0], [25000], [0], [0], [0], [0], [0], [0], [0], [0], [12800], [0], [4], [3], [0], [0]
[1350902611:163326][DEBUG][t_GetSizeInfo][2200] FOR PLAYER ID : 0
[1350902611:163494][DEBUG][t_GetResolutionInfo][11742] [HW] W[720] H[300] FR[25000] PRG[0] RES[129]
[1350902611:163561][DEBUG][GetOutputArea][869] RESOLUTION [720x300]
[1350902611:163606][DEBUG][GetOutputArea][874] DISPLAY AREA [0x0]
[1350902611:163643][DEBUG][t_GetSizeInfo][2223] CAPTURE[0/0/720/300]  GEOMETRY[0/0/1920/1080]
[TDaScaler][SetGeometry][ID:0]Geometry (0, 0, 1920, 1080)
[TDaScaler][SetCapture][ID:0]Capture (0, 0, 720, 300)
[ROSE_MW    ] Resolution Info[width: 0, height: 0]
[ROSE_MW    ] Resolution Info[width: 0, height: 0]
[1350902611:182283][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902611:183767][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902611:236614][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[ERROR][hdiSetAudioDelay():644] EXTOUT AUDIO DELAY : Extout source type is error(18)

	>>[ERR:TDsSamAudioProcessor.cpp] t_SetAudioSpeakerDelay():2514  - SDAL ERROR [-1] !!!

[1350902611:371592][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
t_GASFRC3D_SetAutoMotionPlus() : Motion Plus Demo OFF
SetAutoMotionPlus() : Game Mode [OFF]
TDa3dProcessor::Set3DMode(TD_3D_MODE_OFF) -> Turn Glass to OFF
TDa3dProcessor::Set3DMode(TD_3D_MODE_OFF) -> Glass Callback Registered, Run Callback. (3D : OFF, Param : 122978632)
[BT_SS/Fatal] 486 : [Set3DOffsetBroadcastOnOff][line:2460] Set3DOffsetBroadcastOnOff : [Disable]
[BT_SS/Fatal] 487 : [SetShutterInfoForBroadCast][line:2452] shutter info exceeds 65535. m_frame_period[60001], m_DutyForShuttering[125]
[BT_SS/Fatal] 488 : [Set3DModeOffSetForBroadCast][line:2178] m_b3DOffsetBroadcast[0], m_frame_period[60001]... I would make 3DGS as open
[BT_SS/Fatal] 489 : [Set3DSyncDetection][line:2475] Set3DSyncDetection : [Disable]
Set3DMode() : Start, TD3dEffectMode_k = 0, iVideoPlane = 0 iBackendDevice:2
t_GASFRC3D_Set_Cmi3DMode(): Game/MJC Mode is same 
t_PARMA3D_Set_Led3DMode(): 3D Mode is same (0)
SetStereoscopicScreenMode, 395, Not supported Screen
[1350902611:441580][DEBUG][SetResolutionDone][660] 
[1350902611:441682][DEBUG][SetResolutionDone][667] PLAYER 0 [0x8434a40] IS DONE
[BT_SS/Fatal] 490 : [SetShutterInfoForBroadCast][line:2452] shutter info exceeds 65535. m_frame_period[60001], m_DutyForShuttering[125]
[BT_SS/Fatal] 491 : [Set3DModeOffSetForBroadCast][line:2178] m_b3DOffsetBroadcast[0], m_frame_period[60001]... I would make 3DGS as open
[1350902611:514718][DEBUG][setVideoMute][1781] SCALER MUTE [MAIN] : OFF
[TDScaler][VidId:0][544] (Mute OnOff:0)
[1350902611:515066][DEBUG][setVideoMute][1781] SCALER MUTE [MAIN] : OFF
CVideoRenderer::Mute Off
*****************************
*****************************
*****************************
VST: [68931954]
*****************************
*****************************
*****************************
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300033]  MESSAGE[3]  CALLER[t_UpdateScreen]  LINE[3285]

*****************************
*****************************
*****************************
MODIIED ID:(0)'s AST: [68931954]
*****************************
*****************************
*****************************
[1350902611:516125][DEBUG][SetAudioMute][808] SOUND MUTE : OFF
[t_HandleAudioMuteCallBack] bOn=0, PreState=PLAY_STATE_STOP
[1350902611:869558][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902612:373723][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902612:880430][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902613:381240][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902613:885245][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902614:389450][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902614:896174][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902615:399368][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902615:901179][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902616:405228][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902616:909585][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902617:413476][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902617:919656][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902618:421636][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902618:925183][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902619:429584][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902619:933352][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902620:440640][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902620:940993][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902621:445984][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902621:950209][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902622:454299][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902622:960977][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902623:461077][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902623:965181][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902624:469634][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902624:973502][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902625:479275][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902625:981028][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902626:485072][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902626:989760][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902627:494081][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902627:999839][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902628:501924][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902629:6559][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902629:510120][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902630:13789][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902630:520847][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902631:21166][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902631:526135][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902632:30559][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902632:534191][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902633:41284][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902633:541018][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902634:45693][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902634:549541][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902635:55047][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902635:643888][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902636:61540][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902636:565339][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902637:69877][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[1350902637:573599][ERROR][GetDuration][1842] [0x8396ca0] CAN NOT GET THE DURATOIN
[ROSE_MW    ] STOP FEEDER!!!!!
[ROSE_MW    ] WAITING STREAM MEDIA COMMAND RUNNER STOP
[ROSE_MW    ] STREAM MEDIA COMMAND RUNNER THREAD STOPS
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300033]  MESSAGE[14]  CALLER[t_StartPlayThread]  LINE[8721]
[ROSE_MW    ] STREAM MEDIA COMMAND RUNNER FINALLY STOPS
[Stop][1086] ID:[8434a40]	CALLED BY USER
[t_SetPlaySpeed][1610] ID:[8434a40]	CALLED!!! speed[ 1.000000 ]
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300033]  MESSAGE[3]  CALLER[t_SetPlaySpeed]  LINE[1689]
[1350902638:37129][DEBUG][UploadPlaybackInfo][2140] 


#######################
### PLAY START !!!! ###
#######################



[CSubtitleProcessor][Stop] CALLED

[CSubtitleProcessor][Stop] FLAG START : 1

[CSubtitleProcessor][Stop] TRY TO STOP OTHERS ....

[CSubtitleProcessor][t_StopAll] WAITING FOR SUBTITLE THREAD TO BE TERMINATED.. SR[0]...

[CPlayer][t_DisplayThread] DISPLAY THREAD TERMINATED .....
[1350902638:51032][DEBUG][SetAudioMute][808] SOUND MUTE : ON
[t_HandleAudioMuteCallBack] bOn=1, PreState=PLAY_STATE_START
[t_StartPlayThread][9245] ID:[8434a40]	WAITING FOR OTHER THREADS TO BE TERMINATED..  V[0] A[0] VR[1] AR[0]

[CSubtitleProcessor][Stop] TRY TO DEINIT CAPTION ....

[CSubtitleProcessor][Stop] STOPPING SUBTITLE THREADS DONE ....

[CSubtitleProcessor][Stop] DENIED : 0
[CPlayer][Stop] WAITING AUDIO[0] FLAGS [D(0), R(0), REDIRECT(1)]=[1, 1, 1] or [1, 1, 3] or [1, 0, 2]
*************DEADLOCK PROBING RESULT*************
	AUDIO HEADQUEUE:0
	AUDIO DECODER:0
	AUDIO RENDERER:0
*************************************************



[CPlayer][t_AudioPlayThread] ID:[138627648] AUDIO PLAY THREAD TERMINATED .....
[1350902638:70737][INFO][closeAudioOutput][690] AUDIO DISCONNECT SUCCESS
[1350902638:78766][DEBUG][closeAudioDecoder][1221] CLOSE AUDIO DECODER
[1350902638:78881][INFO][t_ReleaseResourceID][3264] _RESOURCE_ eResType[ 2 ], eResID[ 0 ]
[t_AudioThread][6766] ID:[8434a40]	AUDIO THREAD TERMINATED
[1350902638:79432][DEBUG][setVideoMute][1781] SCALER MUTE [MAIN] : ON
[TDScaler][VidId:0][544] (Mute OnOff:1)
CVideoRenderer::Mute On
[1350902638:79841][ERROR][t_Mute][248] VIDEO RENDERER WAS NOT OPENED
[1350902638:79942][DEBUG][UploadResolution][699] [MAIN][OFF] W[0] H[0] FR[0] PRG[0] RES[0] BR[0] CODEC[-1] FORMAT[4] EFFECT MODE[0], ASPECT_RATIO[0]
[1350902638:80293][DEBUG][setVideoQuality][1426] T[ 0 ]
[CPlayer][t_CloseAllVideoResource] RESOLUTION SETTING IS NOT DONE!!! 
[CPlayer][Stop] WAITING VIDEO FLAGS [D(0), R(1), REDIRECT(1)]=[1, 1, 1] or [1, 1, 3] or [1, 0, 2]
*************DEADLOCK PROBING RESULT*************
	VIDEO HEADQUEUE:0
	VIDEO DECODER:0
	VIDEO RENDERER:0
*************************************************


[Check 3D Status...]
3D Mode to Set: [0],
[VSI] 3D Mode: [0],
[DSP] 3D Mode: [0],
[RES] 3D Mode: [0]
Skip 3D Mode Last Memory Setting...[OFF] or Auto Detected 3D Mode!!!
[Scaler]
 TDResolution_k : [24]
TDResolutionInfo_t [1920], [1080], [0], [0], [2640], [1125], [0], [50000], [1], [0], [0], [0], [0], [0], [0], [0], [8192], [0], [4], [17], [0], [0]
[BackEnd]
 TDResolution_k : [24]
TDResolutionInfo_t [1920], [1080], [0], [0], [2640], [1125], [0], [50000], [1], [0], [0], [0], [0], [0], [0], [0], [8192], [0], [4], [17], [0], [0]
[t_StartPlayThread][9245] ID:[8434a40]	WAITING FOR OTHER THREADS TO BE TERMINATED..  V[0] A[1] VR[1] AR[1]
[TDaScaler][SetCapture][ID:0]Capture (0, 0, 1920, 1080)
[t_StartPlayThread][9245] ID:[8434a40]	WAITING FOR OTHER THREADS TO BE TERMINATED..  V[0] A[1] VR[1] AR[1]
[t_StartPlayThread][9245] ID:[8434a40]	WAITING FOR OTHER THREADS TO BE TERMINATED..  V[0] A[1] VR[1] AR[1]
[ERROR][hdiSetAudioDelay():644] EXTOUT AUDIO DELAY : Extout source type is error(18)

	>>[ERR:TDsSamAudioProcessor.cpp] t_SetAudioSpeakerDelay():2514  - SDAL ERROR [-1] !!!

[t_StartPlayThread][9245] ID:[8434a40]	WAITING FOR OTHER THREADS TO BE TERMINATED..  V[0] A[1] VR[1] AR[1]
t_GASFRC3D_SetAutoMotionPlus() : Motion Plus Demo OFF
SetAutoMotionPlus() : Game Mode [OFF]
TDa3dProcessor::Set3DMode(TD_3D_MODE_OFF) -> Turn Glass to OFF
TDa3dProcessor::Set3DMode(TD_3D_MODE_OFF) -> Glass Callback Registered, Run Callback. (3D : OFF, Param : 122978632)
[BT_SS/Fatal] 492 : [Set3DOffsetBroadcastOnOff][line:2460] Set3DOffsetBroadcastOnOff : [Disable]
[BT_SS/Fatal] 493 : [SetShutterInfoForBroadCast][line:2452] shutter info exceeds 65535. m_frame_period[60001], m_DutyForShuttering[125]
[BT_SS/Fatal] 494 : [Set3DModeOffSetForBroadCast][line:2178] m_b3DOffsetBroadcast[0], m_frame_period[60001]... I would make 3DGS as open
[BT_SS/Fatal] 495 : [Set3DSyncDetection][line:2475] Set3DSyncDetection : [Disable]
Set3DMode() : Start, TD3dEffectMode_k = 0, iVideoPlane = 0 iBackendDevice:2
t_GASFRC3D_Set_Cmi3DMode(): Game/MJC Mode is same 
t_PARMA3D_Set_Led3DMode(): 3D Mode is same (0)
SetStereoscopicScreenMode, 395, Not supported Screen
[1350902638:411491][DEBUG][SetResolutionDone][660] 
[1350902638:411604][DEBUG][SetResolutionDone][667] PLAYER 0 [0x8434a40] IS DONE
[BT_SS/Fatal] 496 : [SetShutterInfoForBroadCast][line:2452] shutter info exceeds 65535. m_frame_period[60001], m_DutyForShuttering[125]
[BT_SS/Fatal] 497 : [Set3DModeOffSetForBroadCast][line:2178] m_b3DOffsetBroadcast[0], m_frame_period[60001]... I would make 3DGS as open

	>>[ERR:TDiScaler.cpp] SetCurrentMediaType():234 Null Fuction Call !!!Must Check Implementation Code...

[1350902638:414837][DEBUG][setVideoMute][1781] SCALER MUTE [MAIN] : ON
[TDScaler][Disconnect] (VideoId:0)
[1350902638:415021][INFO][t_ReleaseResourceID][3264] _RESOURCE_ eResType[ 1 ], eResID[ 0 ]
[1350902638:415078][INFO][Close][88] [CVideoRenderer][Close] DISPLAY CLOSED.. 

n


UNINSTALL CALLBACK!!!!!!!


[1350902638:430730][INFO][t_ReleaseResourceID][3264] _RESOURCE_ eResType[ 0 ], eResID[ 0 ]
[1350902638:430859][DEBUG][UploadPlaybackInfo][2140] 


######################
### PLAY STOP !!!! ###
######################


[1350902638:430977][DEBUG][closeVideoDecoder][2281] CLOSE VIDEO DECODER

[CPlayer][t_VideoThread] ID:[138627648] VIDEO THREAD TERMINATED .....
[Stop][1226] ID:[8434a40]	WAITING DEMUXER THREAD DONE!!!
*************DEADLOCK PROBING RESULT*************
	AV READ FRAME:0
	AV SEEK FRAME:0
*************************************************


[CPlayer][t_StartPlayThread] TERMINATE VIDEO RESOURCES
[CPlayer][t_StartPlayThread] TERMINATE AUDIO RESOURCES
[1350902638:433771][ERROR][Close][150] AUDIO RENDERER WAS NOT OPENED

[CPlayer][t_StartPlayThread] ID:[138627648] MAIN DEMUX THREAD TERMINATED .....
[t_SendEventToApp][9548] ID:[8434a40]	SEND EVENT RECEIVER[0x82dbd60] TYPE[300033]  MESSAGE[5]  CALLER[t_StartPlayThread]  LINE[9331]
[Stop][1257] ID:[8434a40]	STOPPING THREADS DONE
[SetOutputICT][2080]
[SetOutputICT][2085] m_CallBackICT == NULL
[SetOutputMacrovision][2033]
[SetOutputMacrovision][2038]
 m_CallBackMacroVision== NULL[SetOutputVBIData][2057]
[SetOutputVBIData][2062] m_CallBackVBIData == NULL
[1350902638:534838][DEBUG][ReleasePlayer][529] 
[1350902638:534885][DEBUG][ReleasePlayer][535] PLAYER 0 [0x8434a40]IS RELEASED



========================== ELAPSED TIME CHECKER ==========================
TIME: 1-1. GET STREAM MEDIA 	(1 ms)
TIME: 1-2. OPEN 	(8987 ms)
TIME: 1-3. PARSE 	(1092 ms)
TIME: 1-4. DELAY BTWN GETMEDIA TO PLAY 	(9515 ms)
TIME: 2-1. PLAY->BEFORE START DEMUX 	(1222 ms)
TIME: 2-2. START DEMUX -> BUFFERING ENDS 	(690 ms)
TIME: 2-3. BUFFERING ENDS -> FIRST FRAME DECODED 	(15 ms)
TIME: 2-4. FIRST FRAME DECODED -> BEFORE VIDEO QUALITY SETTING 	(3 ms)
TIME: 2-5. VIDEO QUALITY SETTING -> FIRST FRAME DISPLAYED 	(952 ms)
TIME: 3. TOTAL TIME FOR FIRST FRAME DISPLAY 	(12401 ms)
TIME: 4-1. TRICK STOP 	(0 ms)
TIME: 4-2. SUBTITLE STOP 	(14 ms)
TIME: 4-3. AUDIO STOP 	(27 ms)
TIME: 4-4. VIDEO STOP 	(351 ms)
TIME: 4-5. 	VIDEO RENDERER STOP 	(335 ms)
TIME: 4-6. 	VIDEO DECODER STOP 	(15 ms)
TIME: 4-7. DEMUXER STOP 	(103 ms)
TIME: 4-8. MACROVISION RESET 	(0 ms)
TIME: 5. TOTAL TIME FOR STOP  	(498 ms)
==========================================================================
Only con i noticed - i couldn`t stop/play the stream, once executed, it will run until i exit nStreamPLayer or change channel.

Files and instruction
  • Install rtmpdump module (rtmpgw included) trough web interface.
  • You can download file manually: rtmpdump_arm.SGO_ext.tar
  • SamyGO Extensions required (shared library librtmp.so).
  • Execute by:

    Code: Select all

    . /dtv/SGO.env
    rtmpgw -g 1935 -q -v 2>/dev/null &
  • internal and external clients accepted
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
eclipsejee
Posts: 6
Joined: Fri Jul 27, 2012 6:19 pm

Re: rtmpgw for Samsung TV

Post by eclipsejee »

juuso wrote:Will check in free time. Thanks.
Thanks.. looking forward for this long waiting gateway in samygo :) ... it will be another must have gateway like udpxy (udp proxy) :) ...
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: [SOLVED] rtmpgw for Samsung TV

Post by juusso »

The bad thing is, that CPU consumption is almost 90-92% and TV become slow... :(

If i start binary from console in foreground, then CPU consumption is low

Code: Select all

1950  1447 root     S     8872   2%   2% rtmpgw -g 1935 
but if i call start from init script (even with &), it starts to drain cpu...

Code: Select all

 PID  PPID USER     STAT   VSZ %MEM COMMAND
 1960     1 root     S     7676   2%  97% rtmpgw -g 1935
Any ideas?
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
denobasis
Posts: 6
Joined: Fri Nov 11, 2011 5:51 pm

Re: [SOLVED] rtmpgw - RTMP media gateway for Samsung TV

Post by denobasis »

wow. great work!
don't need substitute : and /

<stream_url><![CDATA[http://127.0.0.1:1935/?r=rtmp://live.il ... 0ozu6hz2ds]]></stream_url>

and the rtmpdump-like format
<stream_url><![CDATA[http://127.0.0.1:1935/?r=rtmp://live.il ... 0ozu6hz2ds]]></stream_url>

will work also.

Format:
http://127.0.0.1:1935/?r=rtmp://xxx&s=xxx&p=xxx&y=xxx
http://127.0.0.1:1935/?r=rtmp://xxx&W=xxx&p=xxx&y=xxx
UE46D6500
1016
win7
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: [SOLVED] rtmpgw - RTMP media gateway for Samsung TV

Post by juusso »

But the main problem still exists, rtmpgw overloads cpu, haven`t found any solution for this yet. Maybe we need some samsung specific patch, duno.
maybe we could use rtmpdump instead of rtmpgw?
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
eclipsejee
Posts: 6
Joined: Fri Jul 27, 2012 6:19 pm

Re: [SOLVED] rtmpgw - RTMP media gateway for Samsung TV

Post by eclipsejee »

hi juuso,

First of all, many thanks for your effort to create rtmpgw for Samsung TV.. much appreciated.

As for the high CPU usage... Ya. I've encountered the same problem even i run it at foreground. I haven't really debug the program to pinpoint the problem, however from a high level glance of the program (rtmpgw.c), the problem may due to the Sleep are too short (1 millisecond), do you mind to modify the coding to ==> sleep(1000) (1 second), recompiled and test again.

Code: Select all

  RTMP_LogPrintf("Streaming on http://%s:%d\n", httpStreamingDevice,
	    nHttpStreamingPort);

  while (httpServer->state != STREAMING_STOPPED)
    {
      sleep(1);
    }
  RTMP_Log(RTMP_LOGDEBUG, "Done, exiting...");
Hopefully it helps.

Thanks again.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: [SOLVED] rtmpgw - RTMP media gateway for Samsung TV

Post by juusso »

Nope, no difference, same cpu overload...
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
eclipsejee
Posts: 6
Joined: Fri Jul 27, 2012 6:19 pm

Re: [SOLVED] rtmpgw - RTMP media gateway for Samsung TV

Post by eclipsejee »

Hi juuso,

Can you guide me where to find the Samsung Smart TV C compiler and how to compile this rtmpgw? Probably i can contribute in solving this problem together.

Thanks.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: [SOLVED] rtmpgw - RTMP media gateway for Samsung TV

Post by juusso »

Ready-to-use compiler for D series and makefiles for rtmpdump.
Waiting any news from you ;)
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “[D] Firmware”