[FFmpeg-user] Syntax for ffmpeg to listen on a port for a RTMP stream

Reindl Harald h.reindl at thelounge.net
Fri Apr 19 13:43:27 CEST 2013


Am 19.04.2013 12:52, schrieb paulj at fastmail.es:
> I want ffmpeg to listen on a given TCP port for an incoming video stream, but I can't 
> get the right syntax. I have tried:
> 
> 	ffmpeg -listen -i rtmp://localhost:6060 -vcodec copy -acodec copy bla.mp4
> 
> 	ffmpeg -i rtmp://localhost:6060 -listen -vcodec copy -acodec copy bla.mp4
> 
> 	ffmpeg -i rtmp://localhost:6060 listen -vcodec copy -acodec copy bla.mp4
> 
> 	And in all cases I get "TCP connection to localhost:6060 failed. Connection refused", 
> as if ffmpeg was trying to open a connection, instead of listening

why should ffmpeg LISTEN on a port?
what you search is ffserver

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130419/0a0408f2/attachment.asc>


More information about the ffmpeg-user mailing list