SSブログ

久々にrtmpdump更新など。 [Mac]

radiko録音に使用しているrtmpdumpがどうも不定期に
「暴走 or SIGSEGVでお亡くなり」しているようなので、久々にrtmpdumpを最新版に更新してみる。
で、何がどう更新されたかは↓を真面目に追っかる感じで。
The rtmpdump Archives

まずは、最新sourceをげっと。
$ svn co svn://svn.mplayerhq.hu/rtmpdump/trunk rtmpdump A rtmpdump/rtmpgw.c ~ 省略 ~ A rtmpdump/rtmpsrv.c Checked out revision 548. $ date 2010年 8月11日 水曜日 13時27分06秒 JST $
いつの間にやら548まで上がってますねぇ で、コンパイル ※cpmpileオプションも変更されているので注意!
$ cd rtmpdump $ make SYS=darwin gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o rtmp.o rtmp.c ~ 省略 ~ gcc -Wall -o rtmpsuck rtmpsuck.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz $
でインストール
$ sudo make SYS=darwin install ~ 省略 ~ cd /usr/local/lib; ln -sf librtmp.0.dylib librtmp.dylib $
で、こんな感じにヘルプメッセージ
$ /usr/local/bin/rtmpdump -help RTMPDump v2.3 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL /usr/local/bin/rtmpdump: This program dumps the media content streamed over RTMP. --help|-h Prints this help screen. --rtmp|-r url URL (e.g. rtmp://host[:port]/path) --host|-n hostname Overrides the hostname in the rtmp url --port|-c port Overrides the port in the rtmp url --socks|-S host:port Use the specified SOCKS proxy --protocol|-l num Overrides the protocol in the rtmp url (0 - RTMP, 2 - RTMPE) --playpath|-y path Overrides the playpath parsed from rtmp url --playlist|-Y Set playlist before playing --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 target app on server --swfhash|-w hexstring SHA256 hash of the decompressed SWF file (32 bytes) --swfsize|-x num Size of the decompressed SWF file, required for SWFVerification --swfVfy|-W url URL to player swf file, compute hash/size automatically --swfAge|-X days Number of days to use cached SWF hash before refreshing --auth|-u string Authentication string to be appended to the connect string --conn|-C type:data Arbitrary AMF data to be appended to the connect string B:boolean(0|1), S:string, N:number, O:object-flag(0|1), Z:(null), NB:name:boolean, NS:name:string, NN:name:number --flashVer|-f string Flash version string (default: "MAC 10,0,32,18") --live|-v Save a live stream, no --resume (seeking) of live streams possible --subscribe|-d string Stream name to subscribe to (otherwise defaults to playpath if live is specifed) --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 (default: 30) --start|-A num Start at num seconds into stream (not valid when using --live) --stop|-B num Stop at num seconds into stream --token|-T key Key for SecureToken response --hashes|-# Display progress with hashes, not with the byte counter --buffer|-b Buffer time in milliseconds (default: 36000000) --skip|-k num Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails (default: 0) --quiet|-q Suppresses all command output. --verbose|-V Verbose command output. --debug|-z Debug level command output. If you don't pass parameters for swfUrl, pageUrl, or auth these properties will not be included in the connect packet.

nice!(0)  コメント(0)  トラックバック(0) 
共通テーマ:日記・雑感

nice! 0

コメント 0

トラックバック 0

この広告は前回の更新から一定期間経過したブログに表示されています。更新すると自動で解除されます。