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

Rtmpdump Possible Bug

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

uplotre 12-17-2012 11:22 AM

Rtmpdump Possible Bug


 
Dear all,


Using the following command fails with the latest version of rtmpdump (current official head).

Code:

rtmpdump --swfUrl=http://static-cdn1.ustream.tv/swf/live/viewer3:50.swf --live --pageUrl=http://www.ustream.tv/channel/radio-llena --rtmp=rtmp://flash62.ustream.tv/ustreamVideo/9279561/streams/live --flv=- -V
Also i tried the RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV) version. Same result, failure.

Using the version shipped with ubuntu 12.04 there is no issue (Version: 2.4~20110711.gitc28f1bab-1)

Any idea why this is happening?

svnpenn2 12-17-2012 04:34 PM

Re: Rtmpdump Possible Bug


 
Quote:

rtmpdump -r rtmp://flash62.ustream.tv/ustreamVideo/9279561 -a ustreamVideo/9279561 -y streams/live_1 -v -o a.flv
RTMPDump v2.4-75-ge783798
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: client signature does not match!
INFO: Connected...
Starting Live Stream
1658.044 kB / 289.82 sec

​​​​​

uplotre 12-18-2012 01:26 AM

Re: Rtmpdump Possible Bug


 
Thanks for pointing me the app and playpath svnpenn2.

Although i am still scratching my head, why this is working with ubuntu 12.04 version and not with the latest rtmpdump.

With ubuntu 12.04 (Version: 2.4~20110711.gitc28f1bab-1)
Code:

rtmpdump --live --rtmp=rtmp://flash62.ustream.tv/ustreamVideo/9279561/streams/live --flv=/dev/null
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: client signature does not match!
INFO: Connected...
Starting Live Stream
9.841 kB / 1.67 sec^C
Caught signal: 2, cleaning up, just a second...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
12.763 kB / 2.18 sec
Download may be incomplete (downloaded about 0.00%), try resuming

With latest head of rtmpdump.

Code:

rtmpdump --live --rtmp=rtmp://flash62.ustream.tv/ustreamVideo/9279561/streams/live --flv=/dev/null
RTMPDump v2.4 3a1e20c~git
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: client signature does not match!
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

Using app and playpath, works as you suggested...

Code:

rtmpdump --live --rtmp=rtmp://flash62.ustream.tv/ustreamVideo/9279561/streams/live --app=ustreamVideo/9279561  --playpath=streams/live --flv=/dev/null
RTMPDump v2.4 3a1e20c~git
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: client signature does not match!
INFO: Connected...
Starting Live Stream
6.653 kB / 1.12 sec^C
Caught signal: 2, cleaning up, just a second...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
9.575 kB / 1.63 sec
Download may be incomplete (downloaded about 0.00%), try resuming


svnpenn2 12-18-2012 01:49 AM

Re: Rtmpdump Possible Bug


 
Because the the app/playpath parsing function is and has been messed up for some time now. See this thread for more info

lists.mplayerhq.hu/pipermail/rtmpdump/2011-December/thread.html#1757

uplotre 12-18-2012 03:26 AM

Re: Rtmpdump Possible Bug


 
Quote:

Originally Posted by svnpenn2 (Post 57615)
Because the the app/playpath parsing function is and has been messed up for some time now. See this thread for more info

lists.mplayerhq.hu/pipermail/rtmpdump/2011-December/thread.html#1757

Dear svnpenn2,

Another mate, point me to this commit:

Look for a fourth slash when splitting the url into app+playpath

Is it possible the above commit causing the problem?


All times are GMT -6. The time now is 12:34 PM.