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

Missing arguments?

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

AltairAC 09-24-2013 07:52 PM

Missing arguments?


 
I am a member of a video web site which requires payment for access. It provides streams via flowplayer and the format of the videos is FLV. I had no problems downloading the videos with a Firefox addon called NetVideoHunter but today they started to use the rtmpe protocol which is a problem. I analyzed the html code and according to that, I made a rtmpdump command:
Code:

rtmpdump -r "rtmpe://5.9.30.50:1935/vod/13800503074ba43.flv" -T "#kuca#voli@macu159#753" -o 1.flv
I got the video url via StreamTransport, I found the token in the html code. The downloaded Video works but it's strange, it's 3.4GB in size but it should be around 500-600MB. I tried to re-encode the video with ffmpeg, while re-encoding I get a bunch of these:
http://img196.imageshack.us/img196/9610/sr1g.jpg

When the encoding is done, I get a ~600MB file and that's the size I got while I was able to use NetVideoHunter so for some reason, rtmpdump downloads a lot of useless information.

I also tried to add the "-W" argument (I found 2 player links but it doesn't seem to work). Here is the html code of the div element which contains the video.

http://pastebin.com/sbsmuL6U

I am open for any advice/suggestion! Thanks in advance!

gastone 09-25-2013 12:23 AM

Re: Missing arguments?


 
Add '-R' to your commandline.

AltairAC 09-25-2013 04:27 AM

Re: Missing arguments?


 
Quote:

Originally Posted by gastone (Post 63441)
Add '-R' to your commandline.

I can't find the '-R' argument in the rtmpdump documentation :confused:. There is only '-r' and I already added it in the first place.

gastone 09-25-2013 08:41 AM

Re: Missing arguments?


 
You need a newer version of rtmpdump (which offers -R or --realtime) or you could try '-v'.

AltairAC 09-25-2013 04:20 PM

Re: Missing arguments?


 
Quote:

Originally Posted by gastone (Post 63444)
You need a newer version of rtmpdump (which offers -R or --realtime) or you could try '-v'.

Thank you very much, I updated rtmpdump and tested both arguments ('R' and '-v') and both give the same (proper) results.

The only thing that bothers me is that I download videos from this website via a 1Gbit connection and with NetVideoHunter I mostly achieve speeds like ~10MiBps so I downloaded Videos in under 1 minute while with rtmpdump, I get speeds up to ~300kiBps (it varies from ~200kiBps to ~300kiBs). Would this be a server limitation (where the videos are hosted) because of the newly implemented rtmpe streaming system or is my rtmpdump command missing some arguments which would improve speed?

gastone 09-26-2013 12:40 AM

Re: Missing arguments?


 
When using '-R' rtmpdump prints 'in approximately realtime (disabled BUFX speedup hack)'. This hack makes rtmpdump downloading faster than realtime. This does not work with every server, so you have to disable the hack. Now rtmpdump behaves more like FlashPlayer, in realtime. Your command is missing nothing.


All times are GMT -6. The time now is 02:01 AM.