tags:

views:

102

answers:

2
ffmpeg -i rtmp:/vid2/recordings -acodec copy -vcodec copy -y captured.flv

or

ffmpeg -i rtmp://localhost/vid2/recordings -acodec copy -vcodec copy -y captured.flv

The above command only give me this error:

rtmp://localhost/vid2/recordings: no such file or directory

Isn't ffmpeg supposed to be able to handle rtmp streams?

+2  A: 

Are you using the Xuggler version of ffmpeg? Here's a tutorial explaining how to obtain and encode rtmp streams with the Xuggler ffmpeg.

http://wiki.xuggle.com/Live_Encoding_Tutorial

chrissr
A: 

No need to use Xuggler's build. Version .6 of ffmpeg does support rtmp. However, make sure you compile with

--enable-librtmp
Slava Markeyev