View Single Post
  #14  
Old 04-08-2009, 07:13 PM
Stream Recorder
 
Posts: n/a
Default

How to record rtmp:// flash video .flv stream from embedded Adobe Flash Player


rtmpdump - freeware CLI application (Mac OS X, Linux, Windows). rtmpdump 1.6 allows you to dump RTMP streams onto your hard drive. It can also download RTMPE streams and streams with SWF verification.

Command line for rtmpdump to download RTMP stream with "--resume" option:
Code:
rtmpdump -r "rtmp://host.com/dir/file.flv" -o filename.flv --resume
rtmpdump parameters:
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
Reply With Quote