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

rtmpdump - freeware RTMP stream downloader (MacOS X, Linux, Windows)

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

Stream Recorder 04-08-2009 07:13 PM

rtmpdump - freeware RTMP stream downloader (MacOS X, Linux, Windows)


 
rtmpdump - freeware CLI application (Mac OS X, Linux, Windows). It allows you to dump RTMP streams onto your hard drive.


I had to start the program several times using "--resume" option:
Code:

rtmpdump -r "rtmp://host.com/dir/file.flv" -o filename.flv --resume
when I saw errors like the following one:
Code:

DEBUG: Checked keyframe successfully!
DEBUG: Found keyframe with resume-keyframe timestamp!
ERROR: ReadN, RTMP recv error 10060
ERROR: ReadPacket, failed to read RTMP packet header
WARNING: Download may be incomplete, try --resume!
Closing connection... done!



See also:
Software and services for helping to download videos with rtmpdump
How to use RTMPDump? - rtmp dump tutorials
Where can I download the latest version of rtmpdump (source + binaries)?
GUI's for rtmpsrv/rtmpdump : Rtmp Explorer, ...
RTMPDump - how do I compile source code in Linux like Ubuntu?
RTMP Flash stream recorders.

any ANONYMOUS forum user 06-02-2009 05:38 AM

Re: rtmpdump - freeware RTMP stream downloader (MacOS X, Linux, Windows)


 
The author of rtmpdump has received a DMCA removal request via Sourceforge for rtmpdump which is was hosted by them. Adobe continues to fight with the developers of programs supporting secure RTMP measures. This is rather curious because Adobe could introduce stronger protection or DRM instead. And this is very stupid, because rtmpdump was an open source project and many people downloaded the latest source code supporting RTMPE and SWF verification which means that there will be more and more stream recorders supporting secure RTMP measures. At least lawyers occupied by Adobe should be happy :D

The program is hosted by many web-sites so download your copy of the latest version of rtmpdump, because most probably it will be available on bittorrent trackers and file download web-sites only.

p.s. I always wonder why big companies like Adobe do stupid and futile things like that.

Milardo 06-10-2009 01:35 PM

Re: rtmpdump - freeware RTMP stream downloader (MacOS X, Linux, Windows)


 
Does anybody know how to correctly use rtmpdump in windows? Please reply with stepbystep directions maybe even using the rtmpe code from the following youtube video


I've tried to use it but I haven't been successful in using it.

By the way, does anybody have the last version of rtmpdump for windows? Thanks in advance.

noob2001204 06-16-2009 11:59 PM

Re: rtmpdump - freeware RTMP stream downloader (MacOS X, Linux, Windows)


 
i'm using rtmpdump

besides rtmp:// stream URL, what about the data needed...?
swfurl,tcurl,pageurl...?
are they needed to download the stream?
also,i tried several streams,but they all failed

Stream Recorder 06-17-2009 12:14 AM

Re: rtmpdump - freeware RTMP stream downloader (MacOS X, Linux, Windows)


 
Quote:

Originally Posted by noob2001204 (Post 11279)
i'm using rtmpdump

besides rtmp:// stream URL, what about the data needed...?
swfurl,tcurl,pageurl...?
are they needed to download the stream?
also,i tried several streams,but they all failed

Do you use rtmpdump 1.6 for Windows?

Could you please post some URLs that rtmpdump wasn't able to download?

rtmpdump is not the best rtmp:// downloader
Quote:

With the --resume switch I can continue the capturing, but only with errors ....
And then it stops again... So I had to manually resume the capturing about 10-15 times, resulting in corrupt stream data, where the download sessions begin and end.
VLC player can still play the output file, but with audio/video artefacts every few seconds ...

noob2001204 06-17-2009 12:18 AM

Re: rtmpdump - freeware RTMP stream downloader (MacOS X, Linux, Windows)


 
i tried some live stream,such as justin.tv,cams.com,cam4.com,livejasmin.com,etc
but rtmpdump failed to capture all of them

but i know rtmpdump 1.6 is able to capture live stream
also,i cant get most of normal rtmp video streams

Stream Recorder 06-17-2009 12:46 AM

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


 
Quote:

Originally Posted by noob2001204 (Post 11282)
i tried some live stream,such as justin.tv,cams.com,cam4.com,livejasmin.com,etc
but rtmpdump failed to capture all of them

Live streams are harder to record. Sometimes I have problems with them even when using my favorite Replay Media Catcher and Jaksta.

Stream Recorder 06-17-2009 07:36 AM

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


 
Quote:

Originally Posted by noob2001204 (Post 11279)
what about the data needed...?
swfurl,tcurl,pageurl...? are they needed to download the stream?

from rtmpdump help
Code:

--help|-h              Prints this help screen.
--rtmp|-r url          URL (e.g. rtmp//hotname[:port]/path)
--host|-n hostname      Overrides the hostname in the rtmp url
--port|-c port          Overrides the port in the rtmp url
--protocol|-l          Overrides the protocol in the rtmp url (0 - RTMP, 3 - RTMPE)
--playpath|-y          Overrides the playpath parsed from rtmp url
--swfUrl|-s url        URL to player swf file
--tcUrl|-t url          URL to played stream (default: "rtmp://host[:port]/app")
--pageUrl|-p url        Web URL of played programme
--app|-a app            Name of player used
--swfhash|-w hexstring  SHA256 hash of the decompressed SWF file (32 bytes)
--swfsize|-x num        Size of the decompressed SWF file, required for SWFVerification
--auth|-u string        Authentication string to be appended to the connect string
--flashVer|-f string    Flash version string
--live|-v              Save a live stream, no --resume (seeking) of live strems possible
--flv|-o string        FLV output file name, if the file name is - print stream to stdout
--resume|-e            Resume a partial RTMP download
--timeout|-m num        Timeout connection num seconds
--buffer|-b            Buffer time in milliseconds, this option makes only sense in stdout mode
--skip|-k num          Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails

If you don't pass parameters for swfUrl, pageUrl, app or auth these properties will not be included in the connect packet.

flysub 06-17-2009 09:50 AM

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


 
I just trying to download from a website with rtmpe and swf verification and i received the following :

Code:

"warning: handleping: Ignoring swfvrification request, use --swfhash and swfzise! "
"failed to play stream not found"

the strange is for others website it's working

any ideas??

Stream Recorder 06-19-2009 07:50 AM

Re: rtmpdump.com - freeware RTMP stream downloader (MacOS X, Linux, Windows)


 
Quote:

Originally Posted by flysub (Post 11307)
I just trying to download from a website with rtmpe and swf verification and i received the following :

Code:

"warning: handleping: Ignoring swfvrification request, use --swfhash and swfzise! "
"failed to play stream not found"

the strange is for others website it's working

any ideas??

According to rtmpdump 1.6 readme by Andrej Stepanchuk:
Quote:

Download the swf player you want to use for SWFVerification, unzip it using
Code:

$ flasm -x file.swf
It will show the decompressed filesize, use it for --swfsize

Now generate the hash
Code:

$ openssl sha -sha256 -hmac "Genuine Adobe Flash Player 001" file.swf
and use the --swfhash "01234..." option to pass it. e.g.
Code:

$ ./rtmpdump --swfhash "123456..." --swfsize 987...



All times are GMT -6. The time now is 10:30 PM.