[Libav-user] Avio_open error opening rtsp server connection

Andre Esteves andresteves at gmail.com
Sun Sep 2 19:48:10 CEST 2012


Still giving error after changing from mp4 to rtsp.
No dia 2 de Set de 2012 13:45, "Geek.Song" <ffmpeg at gmail.com> escreveu:

> On Sun, Sep 2, 2012 at 12:10 AM, Andre Esteves <andresteves at gmail.com>
> 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
> 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/20120902/23a4a5a8/attachment.html>


More information about the Libav-user mailing list