On 11/25/2011 09:46 AM, Luca Barbato wrote:
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
Thanks, but this patch doesn't solve all errors. E.g.:
modules/highgui/src/cap_ffmpeg_impl.hpp:548: error: ‘CODEC_TYPE_VIDEO’
was not declared in this scope
Anyway I'm content with opencv compiled without ffmpeg...
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api