I've attached a simple source that, given the name of a video file, will print the first 10 frames (as ppm). To compile you'll need the following packages installed: libavcodec-dev Compile with: g++ ./avcodec_sample.cpp -o av_sample -g -pthread -lavcodec -lavformat -lswscale
example use: ./av_sample ./my.video.ogv On Ubuntu 9.10 x86-64 all video streams (vob,mov,mpg,mpg3,mpg4,wmv,...) are ok but not if Theora coded. ** Attachment added: "Simple applet to use libavcodec functions to print first 10 frames of a video file" http://launchpadlibrarian.net/39358431/avcodec_sample.cpp -- libavcodec doesn't decode Theora https://bugs.launchpad.net/bugs/522812 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs