On Sat, Mar 10, 2012 at 11:33 AM, Andrey Utkin <[email protected]> wrote: > 2012/3/10 Bob Self <[email protected]>: >> 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 > [email protected] > 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? _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
