[libav-api] avformat_open_input always returns "No such file or directory" (-2)

Luca Barbato lu_zero at gentoo.org
Thu Nov 24 20:17:04 CET 2011


On 24/11/11 13:58, tasptz at gmail.com 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

-- 

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



More information about the libav-api mailing list