On 24/11/11 22:36, [email protected] wrote:
On 11/24/2011 08:17 PM, Luca Barbato wrote:
On 24/11/11 13:58, [email protected] wrote:
Hello,

I upgraded to v0.7.2 and now avformat_open_input always returns "No such
file or directory" (-2). I tried it with files and http-mjpg streams but
it makes no difference.

Call looks like this:

AVFormatContext* context = NULL;
avformat_open_input(&context, "some file or stream", NULL, NULL);

Please help :)

what happens if you strace your application? which file does it try to
read?

lu

Sorry my fault. I linked the program against libav and opencv which
linked statically against an older version of ffmpeg ...

You might need http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/opencv/files/opencv-2.3.1a-libav-0.7.patch?view=markup

lu

--

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to