View Single Post
  #1  
Old 12-04-2010, 10:51 AM
MIJ-VI MIJ-VI is offline
Junior Member
 
Join Date: Dec 2010
Posts: 9
MIJ-VI is on a distinguished road
Default

rtmpdump parameters are too complicated. easy way to use rtmpdump?


Quote:
Originally Posted by Stream Recorder View Post
RTMP streams are not cached.

Note that you can use rtmpsuck and rtmpsrv in Linux. See rtmpdump for more.
I tried using rtmpdump a couple of days ago but ran into this snag...

rtmpdump parameters:

* --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[ort]/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

...because I don't know how to obtain the rtmp portion of the file name, nor its port #, not do I know how to define a path for said file.

rtmp//hotname[:port]/path

Until now I've not been aware of rtmpsuck or rtmpsrv. I'll have to look for them after I get some sleep.
Reply With Quote