[Libav-user] How to redirect FFMPEG output to a socket
wagner.patriota at gmail.com
Mon May 7 16:14:17 CEST 2012
no, it's easier... example: if you have myprotocol.c, just add to Makefile
the following line:
OBJS-$(CONFIG_MYPROTOCOL_PROTOCOL) += myprotocol.o
that's it... look for the session "protocols I/O" in the Makefile
On Fri, May 4, 2012 at 6:32 PM, Denis <info at denisgottardello.it> wrote:
> 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
> > ffmpeg... everything I do is "equivalent" to type, for example: "ffmpeg
> > 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.
> Skype: mrdebug
> Videosurveillance and home automation!
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user