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

RMTPDump from streammate download stops mid file?

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

rvindell82 11-09-2014 02:33 PM

RMTPDump from streammate download stops mid file?


 
Hi,

I've been ripping some files from streammate and i've noticed that sometimes the rmtpdump stops download, it seems to happen all the time at the same places for each file so it's not anything random, anyone able to figure out what might be causing this?

If i play the file through their flv player they all work perfectly and you can fast forward past the part the download stops.'

EDIT: It seems to be happening with streams that are longer than 3 hours.

hasomaso 11-09-2014 02:41 PM

Re: RMTPDump from streammate download stops mid file?


 
is -v activ?

rvindell82 11-09-2014 02:58 PM

Re: RMTPDump from streammate download stops mid file?


 
Hello Hasomaso :)

-v is not active, could you specify an example how to use this switch? I can't for the life of me find a good documentation on all the switches for rmtpdump.exe

thanks!

hasomaso 11-09-2014 03:10 PM

Re: RMTPDump from streammate download stops mid file?


 
here a livestream rtmpdump code from this site what you mean, and works fine without breaks and stops!!!

use the latest rtmpdump release from KSV here on board

-v and -e added in code

Code:

rtmpdump -v -r "rtmp://fcs121-1.streamate.com/reflect/4054450747" -a "reflect/4054450747" -f "WIN 15,0,0,152" -W "http://www.naiadsystems.com/flash/generic/20141015104935-117-a8c1494/avchat.swf" -p "http://www.streamate.com/cam/Princess18/?langchoice=de" -C S:0 -C S:7150302 -C S: -C O:1 -C NS:sakey: -C NS:srv:69720 -C NS:srvav:69720 -C NS:sk:streamate.com -C NS:hd:1 -C NS:pid:7150302 -C NS:lang:de -C NS:ft:15 -C NS:sessionType:preview -C NS:g:L2NhbS9QcmluY2VzczE4Lz9sYW5nY2hvaWNlPWRl -C NS:sid:4054450747 -C NS:freecnt:2 -C NN:version:8.000000 -C NS:signupargs:smid=7150302 -C NS:nickname: -C O:0 -y "4054450747" -e -o "output.flv"
Code:

RTMPDump v2.4 GIT-2014-07-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: Can't resume live stream, ignoring --resume option
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:  presetname              Custom
INFO:  creationdate            Sun Nov 09 22:37:14 2014
INFO:  videodevice            Verysoft WebCamSplitter
INFO:  framerate              29.97
INFO:  width                  864.00
INFO:  height                  480.00
INFO:  videocodecid            avc1
INFO:  videodatarate          800.00
INFO:  avclevel                31.00
INFO:  avcprofile              66.00
INFO:  videokeyframe_frequency 1.00
INFO:  audiodevice            ↕=5H=89 <8:@>D>= (IDT High Defi
INFO:  audiosamplerate        44100.00
INFO:  audiochannels          1.00
INFO:  audioinputvolume        100.00
INFO:  audiocodecid            .mp3
INFO:  audiodatarate          56.00
32910.122 kB / 326.43 sec


rvindell82 11-09-2014 03:25 PM

Re: RMTPDump from streammate download stops mid file?


 
Hmm, can't get it to work,

trying this command:

Quote:

rtmpdump -r "rtmp://fcs5-1.streamate.com:1935/vod/extss" -a "vod/extss" -f "WIN 14,0,0,145" -W "http://static.gfx.cammodels.com/skin/sm/flash/player.swf" -y "mp4:2010-12-30/show_1123750261_1293690279553_external" -o "test.flv"
Download goes fine but stops at 44.1% every time.

Quote:

D:\rtmpdump>rtmpdump -r "rtmp://fcs5-1.streamate.com:1935/vod/extss" -a "vod/ext
ss" -f "WIN 14,0,0,145" -W "http://static.gfx.cammodels.com/skin/sm/flash/player
.swf" -y "mp4:201
0-12-30/show_1123750261_1293690279553_external" -o "test.flv"
RTMPDump v2.4 GIT-2014-07-07 (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 8713.09
INFO: moovPosition 36.00
INFO: width 640.00
INFO: height 480.00
INFO: videocodecid avc1
INFO: audiocodecid .mp3
INFO: avcprofile 77.00
INFO: avclevel 30.00
INFO: videoframerate 19.04
INFO: audiosamplerate 11000.00
INFO: audiochannels 1.00
INFO: trackinfo:
INFO: length 8713086.00
INFO: timescale 1000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 8713038.00
INFO: timescale 1000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype .mp3
431686.565 kB / 3846.74 sec (44.1%)
when i use -v and -e i get error:

Quote:

D:\rtmpdump>rtmpdump -v -r "rtmp://fcs5-1.streamate.com:1935/vod/extss" -a "vod/
extss" -f "WIN 14,0,0,145" -W "http://static.gfx.cammodels.com/skin/sm/flash/pla
yer.swf" -y "mp4:
2010-12-30/show_1123750261_1293690279553_external" -e -o "test.flv"
RTMPDump v2.4 GIT-2014-07-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: Can't resume live stream, ignoring --resume option
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
Starting Live Stream



hasomaso 11-09-2014 04:21 PM

Re: RMTPDump from streammate download stops mid file?


 
i have tested until 57,3% and works fine without problems
which release of rtmpdump you use?


rvindell82 11-09-2014 10:43 PM

Re: RMTPDump from streammate download stops mid file?


 
I'm using the latest version stickyed on this forum: https://github.com/K-S-V/Scripts/releases

EDIT:It seems it was releated to not running the program as an administrator in windows8.

EDIT: Now even stranger, when running as admin it downloads completely but file contains no video data, it's only sound, same command used.

Runing the exact same command without admin gives video but stops at 44.1% each and every time.

I notice with other clips longer then 1 hour it stops around 1 hour into the video stream, that's why the % varies depending on how long the actual clip is.

If it's 2 hours it will stop around 50%.

Why is rmtpdump limiting itself to around 1 hour?

rvindell82 11-09-2014 11:53 PM

Re: RMTPDump from streammate download stops mid file?


 
Turns out when i run windows 7 in a virtual machine and try the EXACT same setup it works perfectly, so that's that. Windows 8.1 not fully compatible with rtmpdump.

rvindell82 11-10-2014 01:13 AM

Re: RMTPDump from streammate download stops mid file?


 
Update turns out my windows 7 isn't working on all files either, some files work (more than on windows 8.1) but some download completely WITHOUT the video part (sound only).

I literally have no idea whats going on, i can't find a pattern. It's very strange that if i run the rtmpdump.exe as admin i only get sound to download, if i run it regularly it downloads both video and audio but stops around 1 hour of playtime.

Is the rmtpdump.exe downloaded from this page bad? where can i find a good working version?

EDIT: Tried older versions of rmtpdump and i am experiencing same issue, download stops mid download for no reason. It seems like it stops at various % rather then at a static % as i had issues with before.

rvindell82 11-10-2014 04:53 AM

Re: RMTPDump from streammate download stops mid file?


 
finally got a error message generated from this:

Quote:

Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 8713.09
INFO: moovPosition 36.00
INFO: width 640.00
INFO: height 480.00
INFO: videocodecid avc1
INFO: audiocodecid .mp3
INFO: avcprofile 77.00
INFO: avclevel 30.00
INFO: videoframerate 19.04
INFO: audiosamplerate 11000.00
INFO: audiochannels 1.00
INFO: trackinfo:
INFO: length 8713086.00
INFO: timescale 1000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 8713038.00
INFO: timescale 1000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype .mp3
642182.137 kB / 5717.04 sec (65.6%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
any ideas?

edit: same configuration, with latest rmtpdump:

Quote:

RTMPDump v2.4 GIT-2014-07-07 (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 8713.09
INFO: moovPosition 36.00
INFO: width 640.00
INFO: height 480.00
INFO: videocodecid avc1
INFO: audiocodecid .mp3
INFO: avcprofile 77.00
INFO: avclevel 30.00
INFO: videoframerate 19.04
INFO: audiosamplerate 11000.00
INFO: audiochannels 1.00
INFO: trackinfo:
INFO: length 8713086.00
INFO: timescale 1000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 8713038.00
INFO: timescale 1000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype .mp3
426178.431 kB / 3799.96 sec (43.6%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
426327.312 kB / 3801.16 sec (43.6%)
INFO: Connection timed out, trying to resume.


Resuming download at: 426327.312 kB
426327.312 kB / 0.00 sec
Download complete


All times are GMT -6. The time now is 08:09 AM.