<p>Still giving error after changing from mp4 to rtsp.</p>
<div class="gmail_quote">No dia 2 de Set de 2012 13:45, "Geek.Song" <<a href="mailto:ffmpeg@gmail.com">ffmpeg@gmail.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sun, Sep 2, 2012 at 12:10 AM, Andre Esteves <<a href="mailto:andresteves@gmail.com">andresteves@gmail.com</a>> wrote:<br>
> Hi everyone,<br>
><br>
> I built ffmpeg for android to use with JNI and i tried to make use of<br>
> methods that are in the muxing example<br>
> (<a href="http://ffmpeg.org/doxygen/trunk/muxing_8c-source.html#l00414" target="_blank">http://ffmpeg.org/doxygen/trunk/muxing_8c-source.html#l00414</a>).<br>
> I source code im using is:<br>
>         char server[] = "rtsp://<a href="http://192.168.1.34/rtplive/streamTeste" target="_blank">192.168.1.34/rtplive/streamTeste</a>";<br>
>         av_register_all();<br>
> avcodec_register_all();<br>
> avformat_network_init();<br>
><br>
> /* auto detect the output format from the name. */<br>
> avformat_alloc_output_context2(&oc, 0, "mp4", server);<br>
<br>
"mp4" should be replaced by "rtsp"<br>
<br>
<br>
--<br>
-----------------------------------------------------------------------------------------<br>
My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2<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>
</blockquote></div>