平平庸庸

视频工具笔记

上一篇 / 下一篇  2011-05-13 10:36:09 / 个人分类:流媒体

使用rtmpdumpRTMP stream存下来。具体命令如下:

 

rtmpdump -r rtmp://hotname[:port]/path -o output.flv

 

In Windows Run Command Prompt, go to the directory with rtmpdump.exe using cd command and run rtmpdump.exe .

rtmpdump basic usage

Code:

rtmpdump -r "rtmp://host/dir/file.flv" -o filename.flv

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

 

Scource Code:http://rtmpdump.mplayerhq.hu/

一个使用介绍网址:

http://www.myp2pforum.eu/threads/35687-Downloading-flash-videos-on-Linux...

一个抓流媒体和转换为主题的网站

http://www.stream-capture.com/

rtmpdump介绍

http://stream-recorder.com/forum/archive/rtmpdump-f54.html

ffmpage帮助文档

http://www.ffmpeg.org/ffmpeg-doc.html#SEC42

xuggle关于liveencoder的介绍

http://wiki.xuggle.com/Live_Encoding_Tutorial


iPhone HTTP Streaming with FFMpeg and an Open Source Segmenter:

http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/

ffmpeg 做直播

http://blog.csdn.net/bjcic/archive/2010/03/31/5438070.aspx

另一篇ffmpeg笔记

http://smorgasbork.com/component/content/article/35-linux/92-ffmpeg-the-mother-of-all-command-lines

一篇中文ffmpeg介绍

http://blog.sina.com.cn/s/blog_51396f890100o1yf.html

ffmpeg中文网站

http://www.ffmpeg.com.cn

ffserver 介绍

http://blog.csdn.net/saphy/archive/2010/04/11/5472990.aspx


视频容器知识

http://www.360doc.com/content/10/1225/14/1053846_81203652.shtml


TAG:

 

评分:0

我来说两句

Open Toolbar