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

Wagner Patriota 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
> 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
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120507/bdb76c95/attachment.html>


More information about the Libav-user mailing list