PDA

View Full Version : download stuck and always partial


shinjiEU
09-21-2015, 08:58 AM
Hello,

I am facing some problems trying to download a stream (from an audio-book). I did some progress, but not much.

At first I got to run rtmpsrv to get the parameters and I used that, with no success. This is the output in my console:

$ rtmpdump -r "rtmpe://delivery-3.elib.se/vod/" -a "vod/" -W "https://www.elib.se/streaming/ElibLibraryPlayerSmall_1_4.swf" -p "https://www.elib.se/streaming/ElibLibraryPlayerSmall.asp?ticket=9ac2ae7e-2a8f-43bc-a60b-c1115cbfa8b8&ebook_id=9187377500&id_type=ISBN&lang=SE" -y "mp3:ISBN9187377500/mp3/Avsnitt001" -o Avsnitt001.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: connection lost while downloading swfurl https://www.elib.se/streaming/ElibLibraryPlayerSmall_1_4.swf
Connecting ...
INFO: Connected...
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
Starting download at: 0.000 kB
670.915 kB / 111.52 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
677.193 kB / 112.56 sec
Download complete


NOTE: I know the file is NOT complete, as this first chapter should run for more than 32 minutes in an audio file of about 11.6 MB.

And this run only gets about 700 KB of data.

So I tried to play a little along with the parameters.
I got to bypass the first error about SWFVerification with --swfhash and --swfsize ...

3$ rtmpdump -r "rtmpe://delivery-3.elib.se/vod/" -a "vod/" --swfhash "d6fce09e95bf96967f0ad9ac1b1cabd240b6011fcecbf38154 11eda1a9761489" --swfsize 839402 -p "https://www.elib.se/streaming/ElibLibraryPlayerSmall.asp?ticket=9ac2ae7e-2a8f-43bc-a60b-c1115cbfa8b8&ebook_id=9187377500&id_type=ISBN&lang=SE" -y "mp3:ISBN9187377500/mp3/Avsnitt001" -o Avsnitt001.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
1533.486 kB / 255.06 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet header


... Still it gets stuck here. I tried to put the ticket/token into a different parameter, but no luck:

$ rtmpdump -r "rtmpe://delivery-3.elib.se/vod/" -a "vod/" --swfhash "d6fce09e95bf96967f0ad9ac1b1cabd240b6011fcecbf38154 11eda1a9761489" --swfsize 839402 -p "https://www.elib.se/streaming/ElibLibraryPlayerSmall.asp" -T "9ac2ae7e-2a8f-43bc-a60b-c1115cbfa8b8" -y "mp3:ISBN9187377500/mp3/Avsnitt001" -o Avsnitt001.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
1540.393 kB / 256.21 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
^C Caught signal: 2, cleaning up, just a second...
1541.648 kB / 256.42 sec
Download may be incomplete (downloaded about 0.00%), try resuming


If anybody can help me understand, PLEASE

biezom
09-21-2015, 09:17 AM
hi
I suppose you work on linux
you use an older release of rtmpdump

you need to compile last patched version by KSV

http://stream-recorder.com/forum/customized-rtmpdump-binaries-patch-file-t16103.html


with this one

rtmpdump -r "rtmpe://delivery-3.elib.se/vod/" -a "vod/" -W "https://www.elib.se/streaming/ElibLibraryPlayerSmall_1_4.swf" -p "https://www.elib.se/streaming/ElibLibraryPlayerSmall.asp?ticket=9ac2ae7e-2a8f-43bc-a60b-c1115cbfa8b8&ebook_id=9187377500&id_type=ISBN&lang=SE" -y "mp3:ISBN9187377500/mp3/Avsnitt001" -o Avsnitt001.flv
RTMPDump v2.4 KSV-05-05-2015
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
11627.744 kB / 1934.91 sec

Stream Ripper
09-21-2015, 07:28 PM
Biezom nailed it!

Let us know if that works :)

shinjiEU
09-22-2015, 12:16 AM
hi
I suppose you work on linux
you use an older release of rtmpdump

you need to compile last patched version by KSV

http://stream-recorder.com/forum/customized-rtmpdump-binaries-patch-file-t16103.html


with this one

rtmpdump -r "rtmpe://delivery-3.elib.se/vod/" -a "vod/" -W "https://www.elib.se/streaming/ElibLibraryPlayerSmall_1_4.swf" -p "https://www.elib.se/streaming/ElibLibraryPlayerSmall.asp?ticket=9ac2ae7e-2a8f-43bc-a60b-c1115cbfa8b8&ebook_id=9187377500&id_type=ISBN&lang=SE" -y "mp3:ISBN9187377500/mp3/Avsnitt001" -o Avsnitt001.flv
RTMPDump v2.4 KSV-05-05-2015
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
11627.744 kB / 1934.91 sec

Biezom nailed it!

Let us know if that works :)

Yes, thank biezom!

Just now having some problems for uninstalling the old version.
A little confused between Ubuntu and Mac Os :o