Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
rtmpdumphelper can download but rtmpdump command line can'tThe url is -
http://www.koolearn.com/lecture/0/12...method=forward Since I can download the mp4 file from this site via rtmpdumphelper, I cannot download the file from the rtmpdump command line. Anybody can help? The command I used is - Code:
rtmpdump -r rtmp://fms.koolearn.com/vod2/ -W http://www.koolearn.com/jsp/courseweb/StrobeMediaPlayback/player_mp4_damoban_jiami_1205_do.swf -p http://www.koolearn.com/lecture/0/120688/0/585902?_method=forward -y mp4:ky/2014ky/kyyy/20 14kyyy_jc_yd_17.mp4 -o 2014kyyy_jc_yd_17.mp4 |
#2
|
|||
|
|||
Re: rtmpdumphelper can download but rtmpdump command line can'tCode:
rtmpdump -r "rtmp://fms.koolearn.com/vod2/" -a "vod2/" -f "WIN 11,6,602,168" -W "http://www.koolearn.com/jsp/courseweb/StrobeMediaPlayback/player_mp4_damoban_jiami_1205_do.swf" -p "http://www.koolearn.com/lecture/0/120688/0/585902?_method=forward" -C S:0 -C S:8F97E588EC4BDDC9057A8D254B2BAAA7.tomcatb -C S:1361211527651 -C S:5a220c79636b5e86d61c3f3215693f22 -y "mp4:ky/2014ky/kyyy/2014kyyy_jc_yd_17.mp4" -o "2014kyyy_jc_yd_17.mp4.flv" |
#3
|
|||
|
|||
Re: rtmpdumphelper can download but rtmpdump command line can'tThanks, AmazingMatze.
But, this command didn't download the full video, it stop at about 1.5%. The error message: 976.703 kB / 18.44 sec (1.7%) ERROR: RTMP_ReadPacket, failed to read RTMP packet header 978.521 kB / 18.44 sec (1.7%) Download may be incomplete (downloaded about 1.70%), try resuming |
#4
|
|||
|
|||
Re: rtmpdumphelper can download but rtmpdump command line can'tOk, this seems to be a bit more tricky. I guess, technically it could be done with RTMPDump. Better stick to your current setup of RTMPDumpHelper & RTMPSuck. - Nonetheless I tried the following batch with varying success. As you can see, I got it to download about 20% of the file. But resuming seems to fail unpredictably. That's why I had to execute the batch several times.
Start_Resume.bat Code:
@echo off set /a i=0 rtmpdump -T "token" -R -r "rtmp://fms.koolearn.com/vod2/" -a "vod2/" -f "WIN 11,6,602,168" -W "http://www.koolearn.com/jsp/courseweb/StrobeMediaPlayback/player_mp4_damoban_jiami_1205_do.swf" -p "http://www.koolearn.com/lecture/0/120688/0/585902?_method=forward" -C S:0 -C S:8F97E588EC4BDDC9057A8D254B2BAAA7.tomcatb -C S:1361211527651 -C S:5a220c79636b5e86d61c3f3215693f22 -y "mp4:ky/2014ky/kyyy/2014kyyy_jc_yd_17.mp4" -o "2014kyyy_jc_yd_17.mp4.flv" echo. echo Resume? echo. pause :resume cls set /a i=%i%+1 echo Download attempt No. %i%: echo. rtmpdump -e -T "token" -R -r "rtmp://fms.koolearn.com/vod2/" -a "vod2/" -f "WIN 11,6,602,168" -W "http://www.koolearn.com/jsp/courseweb/StrobeMediaPlayback/player_mp4_damoban_jiami_1205_do.swf" -p "http://www.koolearn.com/lecture/0/120688/0/585902?_method=forward" -C S:0 -C S:8F97E588EC4BDDC9057A8D254B2BAAA7.tomcatb -C S:1361211527651 -C S:5a220c79636b5e86d61c3f3215693f22 -y "mp4:ky/2014ky/kyyy/2014kyyy_jc_yd_17.mp4" -o "2014kyyy_jc_yd_17.mp4.flv" rem // max attempts = 100 if %i%==100 goto stop goto resume :stop cls echo %i% resume attempts... echo. pause Code:
Download attempt No. 31: RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... INFO: Connected... Resuming download at: 11410.727 kB / 230.000 sec (21.2%) in approximately realtime (disabled BUFX speedup hack) INFO: Metadata: INFO: duration 1080.98 INFO: moovPosition 32.00 INFO: width 640.00 INFO: height 360.00 INFO: videocodecid avc1 INFO: audiocodecid mp4a INFO: avcprofile 100.00 INFO: avclevel 13.00 INFO: aacaot 2.00 INFO: videoframerate 25.00 INFO: audiosamplerate 44100.00 INFO: audiochannels 2.00 INFO: trackinfo: INFO: length 27023000.00 INFO: timescale 25000.00 INFO: language und INFO: sampledescription: INFO: sampletype avc1 INFO: length 47671296.00 INFO: timescale 44100.00 INFO: language und INFO: sampledescription: INFO: sampletype mp4a WARNING: Stream does not start with requested frame, ignoring data... WARNING: Stream does not start with requested frame, ignoring data... 11625.893 kB / 234.76 sec (21.7%) |
#5
|
|||
|
|||
Re: rtmpdumphelper can download but rtmpdump command line can'tThank you,AmazingMatze. RTMPDumpHelper & rtmpsuck is the best solution. I tried your batch file but failed after 100 rounds. I'm curious about what makes rtmpdump commandline won't work with -e parameter? Is there any change on the stream packet, so it can only be downloaded via browser->rtmpsuck->rtmpdump?
|
Tags: rtmpdump |
Thread Tools | |
Display Modes | |
|
|