uplotre
12-17-2012, 11:22 AM
Dear all,
Using the following command fails with the latest version of rtmpdump (current official head).
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
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
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)
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.
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...
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
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
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 (http://repo.or.cz/w/rtmpdump.git/blobdiff/9d6dc72d7c43554dbe8cdb02f450807230df8c25..f3e3e6b5 07ac0df89a11764abd15cc9535593735:/librtmp/parseurl.c)
Is it possible the above commit causing the problem?
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.