PDA

View Full Version : RTMPdump download stops at 30,7% or fails


sepulchral
05-09-2016, 12:46 AM
Hi everyone.

Having some troubles figuring out how to download a rtmp-stream using RTMPdump from wmfu.org.

Basically I experience the same problem as mentioned in this post (http://stream-recorder.com/forum/wfmu-org-download-always-stops-31-t11415.html), but for me the posted solution doesn't work.

The stream is located at https://wfmu.org/playlists/shows/61983

Using Fiddler, I've found the audio URL to be rtmpt://rtmp.wfmu.org/cfx/st/mp4:WB/wb150804.mp4

I've tried using two different versions of RTMPdump on Windows 10


With v2.3:

Command:
rtmpdump -r "rtmpt://rtmp.wfmu.org/cfx/st/mp4:WB/wb150804.mp4" -o filename.mp4

Result:
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 11757.84
INFO: moovPosition 36.00
INFO: audiocodecid mp4a
INFO: aacaot 2.00
INFO: audiosamplerate 22050.00
INFO: audiochannels 2.00
INFO: trackinfo:
INFO: length 259260416.00
INFO: timescale 22050.00
INFO: language und
INFO: sampledescription:
INFO: sampletype mp4a
INFO: length 600.00
INFO: timescale 600.00
INFO: language und
INFO: sampledescription:
INFO: length 600.00
INFO: timescale 600.00
INFO: language und
INFO: sampledescription:
31349.660 kB / 3615.58 sec (30.7%)
(and here it just hangs forever, with no further progress)

************************************************** ****

Command:
rtmpdump -r "rtmpt://rtmp.wfmu.org/cfx/st/mp4:WB/wb150804.mp4" -W "http://wfmu.org/flash/archive/player.swf" -y "mp4:WB/wb150804.mp4" -o filename.mp4

Result:

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 11757.84
INFO: moovPosition 36.00
INFO: audiocodecid mp4a
INFO: aacaot 2.00
INFO: audiosamplerate 22050.00
INFO: audiochannels 2.00
INFO: trackinfo:
INFO: length 259260416.00
INFO: timescale 22050.00
INFO: language und
INFO: sampledescription:
INFO: sampletype mp4a
INFO: length 600.00
INFO: timescale 600.00
INFO: language und
INFO: sampledescription:
INFO: length 600.00
INFO: timescale 600.00
INFO: language und
INFO: sampledescription:
31324.376 kB / 3612.70 sec (30.7%)
(same result as previous command).


With v2.4 (downloaded the patched binaries from a link here on the forum):

Command:
rtmpdump -r "rtmpt://rtmp.wfmu.org/cfx/st/mp4:WB/wb150804.mp4" -o filename.mp4

Result:

RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
0.000 kB / 0.00 sec
INFO: Connection timed out, trying to resume.


ERROR: WriteN, RTMP send error 10038 (37 bytes)
ERROR: Failed to resume the stream


Download may be incomplete (downloaded about 0.00%), try resuming

************************************************** ****

Command:
rtmpdump -r "rtmpt://rtmp.wfmu.org/cfx/st/mp4:WB/wb150804.mp4" -W "http://wfmu.org/flash/archive/player.swf" -y "mp4:WB/wb150804.mp4" -o filename.mp4

Result:

RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 11757.84
INFO: moovPosition 36.00
INFO: audiocodecid mp4a
INFO: aacaot 2.00
INFO: audiosamplerate 22050.00
INFO: audiochannels 2.00
INFO: trackinfo:
INFO: length 259260416.00
INFO: timescale 22050.00
INFO: language und
INFO: sampledescription:
INFO: sampletype mp4a
INFO: length 600.00
INFO: timescale 600.00
INFO: language und
INFO: sampledescription:
INFO: length 600.00
INFO: timescale 600.00
INFO: language und
INFO: sampledescription:
1.346 kB / 0.09 sec (0.0%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
178.819 kB / 20.81 sec (0.1%)
INFO: Connection timed out, trying to resume.


ERROR: WriteN, RTMP send error 10038 (37 bytes)
ERROR: Failed to resume the stream


Download may be incomplete (downloaded about 0.10%), try resuming

Anyone have suggestions for what I can try to download the complete file?

Thanks.

troller12
05-09-2016, 12:10 PM
Hi,

rtmpt dosen't work for me only rtmp...
rtmpdump -r "rtmp://rtmp.wfmu.org/cfx/st//WB/wb150804.mp4" -W "http://wfmu.org/flash/archive/player.swf" -e -o "filexy"
...if the download hangs then press strg+c then it will continue and not aboard the DL (in my case).Also you can add -e paramter to resume the download.I tried to download the file 2 times now and its working.

greetz

sepulchral
05-14-2016, 02:55 AM
Thanks a lot! Worked out perfectly!