On Sun, Sep 2, 2012 at 12:10 AM, Andre Esteves <[email protected]> wrote:
> Hi everyone,
>
> I built ffmpeg for android to use with JNI and i tried to make use of
> methods that are in the muxing example
> (http://ffmpeg.org/doxygen/trunk/muxing_8c-source.html#l00414).
> I source code im using is:
>         char server[] = "rtsp://192.168.1.34/rtplive/streamTeste";
>         av_register_all();
> avcodec_register_all();
> avformat_network_init();
>
> /* auto detect the output format from the name. */
> avformat_alloc_output_context2(&oc, 0, "mp4", server);

"mp4" should be replaced by "rtsp"


-- 
-----------------------------------------------------------------------------------------
My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to