[Libav-user] How to redirect FFMPEG output to a socket

Andrey Utkin andrey.krieger.utkin at gmail.com
Thu May 3 11:42:45 CEST 2012

2012/5/2 Wagner Patriota <wagner.patriota at gmail.com>:
> Hello,
> I wanna make an application that outputs the content of FFMPEG to a
> socket... it that easy? where should I look for it?
> Maybe ffserver has something to do with what I want, but for sure I want
> something simpler...
> I have my server open, a "socket handle", everything ready... only waiting
> for write the file content... any hints where I can begin?

Yep, that's very hard... As hard as opening output file specified with
string "tcp://host:port". Or "udp://host:port". Or "http://host.port".
You get the idea. See `ffmpeg -protocols`.

Andrey Utkin

More information about the Libav-user mailing list