no, it's easier... example: if you have myprotocol.c, just add to Makefile the following line:<div><br></div><div><font face="'courier new', monospace">OBJS-$(CONFIG_MYPROTOCOL_PROTOCOL) += myprotocol.o</font></div>

<div><br></div><div>that's it... look for the session "protocols I/O" in the Makefile</div><div><br></div><div><br><br><div class="gmail_quote">On Fri, May 4, 2012 at 6:32 PM, Denis <span dir="ltr"><<a href="mailto:info@denisgottardello.it" target="_blank">info@denisgottardello.it</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In data venerd́ 04 maggio 2012 19:10:51, Wagner Patriota ha scritto:<br>
<div class="im">> yes... sure...<br>
> this is still a skeleton, but it's already working...<br>
><br>
> In MY CASE, I have a socket already open... sending and receiving some<br>
> information already... I need to use the same socket to send the output of<br>
> ffmpeg... everything I do is "equivalent" to type, for example: "ffmpeg -i<br>
> inputfile socket://8989"<br>
><br>
> so my application send the output to the socket with handle 8989... the<br>
> code below is enough... maybe I will do some optmization later, but it<br>
> works pretty fine.<br>
<br>
<br>
<br>
</div>In order to implement my onw URLProcotol the speps are:<br>
<br>
- Add to libavformat/file.c my procolol "CONFIG_BUFFER_PROTOCOL"<br>
- Addo to config.mak "CONFIG_BUFFER_PROTOCOL"<br>
<br>
And then? Wich are the next steps?<br>
<br>
Thank you.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
--<br>
<a href="http://www.denisgottardello.it" target="_blank">www.denisgottardello.it</a><br>
Skype: mrdebug<br>
Videosurveillance and home automation!<br>
<a href="http://www.denisgottardello.it/DomusBoss/DomusBossIndice.php" target="_blank">http://www.denisgottardello.it/DomusBoss/DomusBossIndice.php</a><br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>