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

Denis info at denisgottardello.it
Fri May 4 23:32:09 CEST 2012


In data venerdì 04 maggio 2012 19:10:51, Wagner Patriota ha scritto:
> yes... sure...
> this is still a skeleton, but it's already working...
> 
> In MY CASE, I have a socket already open... sending and receiving some
> information already... I need to use the same socket to send the output of
> ffmpeg... everything I do is "equivalent" to type, for example: "ffmpeg -i
> inputfile socket://8989"
> 
> so my application send the output to the socket with handle 8989... the
> code below is enough... maybe I will do some optmization later, but it
> works pretty fine.



In order to implement my onw URLProcotol the speps are:

- Add to libavformat/file.c my procolol "CONFIG_BUFFER_PROTOCOL"
- Addo to config.mak "CONFIG_BUFFER_PROTOCOL"

And then? Wich are the next steps?

Thank you.



-- 
www.denisgottardello.it
Skype: mrdebug
Videosurveillance and home automation! 
http://www.denisgottardello.it/DomusBoss/DomusBossIndice.php


More information about the Libav-user mailing list