Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Please help: RTMP with secure token

(http://stream-recorder.com/forum/showthread.php?t=14512)

tdx3000 11-21-2012 02:02 AM

Please help: RTMP with secure token


 
Hell all,

I'm trying to play this stream on VLC using rtmpdump but keep getting error, please take a look

Code:

http://www.vyuhatv.vn/livetv/channel/34366E61/cartoon-network.html
Code:

rtmpdump -r "rtmp://118.69.202.58:1935/vyuhatv_live" -a "vyuhatv_live" -f "WIN 11,4,402,287" -W "http://www.vyuhatv.vn/player/smartplayer.swf" -p "http://www.vyuhatv.vn/livetv/channel/34366E61/cartoon-network.html" -C O:1 -C O:0 --live -y "mp4:cartoon.network.480p" -T "na^tu12%%28aqw" -o- | "C:\Program Files\VideoLAN\VLC\vlc.exe" -
Code:

(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

this is secure token

Code:

na^tu12%28aqw
but still not working, please help

Thank you in advance

KSV 11-21-2012 02:16 AM

Re: Please help: RTMP with secure token


 
it's working just fine.

Code:

rtmpdump -r "rtmp://118.69.202.58:1935/vyuhatv_live" -a "vyuhatv_live" -f "WIN 11,4,402,287" -W "http://www.vyuhatv.vn/player/smartplayer.swf" -p "http://www.vyuhatv.vn/livetv/channel/34366E61/cartoon-network.html" -C O:1 -C O:0 --live -y "mp4:cartoon.network.480p" -T "na^tu12%28aqw" -o Test.flv
Code:

RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:  duration                0.00
INFO:  width                  640.00
INFO:  height                  480.00
INFO:  videodatarate          712.89
INFO:  framerate              24.00
INFO:  videocodecid            7.00
INFO:  audiodatarate          125.00
INFO:  audiosamplerate        48000.00
INFO:  audiosamplesize        16.00
INFO:  stereo                  TRUE
INFO:  audiocodecid            10.00
INFO:  encoder                Lavf54.23.101
INFO:  filesize                0.00
5814.910 kB / 96.83 sec


tdx3000 11-21-2012 03:22 AM

Re: Please help: RTMP with secure token


 
LOL

i posted one token but put a different one in the command :mad:
no wonder it didn't work

thanks

svnpenn 11-21-2012 09:36 AM

Re: Please help: RTMP with secure token


 
Code:

rtmpdump -o a.flv -i "rtmp://118.69.202.58/vyuhatv_live/mp4:cartoon.network.480p
 token=na^tu12%28aqw"
RTMPDump v2.4-72-g64c96bf
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  duration              0.00
INFO:  width                640.00
INFO:  height                480.00
INFO:  videodatarate        712.89
INFO:  framerate            24.00
INFO:  videocodecid          7.00
INFO:  audiodatarate        125.00
INFO:  audiosamplerate      48000.00
INFO:  audiosamplesize      16.00
INFO:  stereo                TRUE
INFO:  audiocodecid          10.00
INFO:  encoder              Lavf54.23.101
INFO:  filesize              0.00
1012.877 kB / 18.97 sec



All times are GMT -6. The time now is 07:26 AM.