[Libav-user] av_read_frame returns -32

Bob Self bobslf at gmail.com
Sun Mar 11 08:04:59 CET 2012


On Sat, Mar 10, 2012 at 11:33 AM, Andrey Utkin
<andrey.krieger.utkin at gmail.com> wrote:
> 2012/3/10 Bob Self <bobslf at gmail.com>:
>> So, the program reads about 2500 frames from the hard drive, then
>> fails with EPIPE. It never gets to EAGAIN or any other error. Is there
>> something else that a program needs to do to avoid EPIPE errors? Is
>
> It never happened to me in such a case, and i guess to most of
> maillist readers. Or we lack info to analyze.
>
>> there a minimal working example of decoding video frames?
>
> http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/examples/decoding_encoding.c;hb=HEAD#l405
>
> --
> Andrey Utkin
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user


The source at that link won't build for me. It uses
avcodec_alloc_context3() and  avcodec_open2() that my ffmpeg
installation does not have. My avcodec version is 52.72.2 on Ubuntu
11.04. Do you know of a similar example that uses this version?


More information about the Libav-user mailing list