Comment 8 for bug 522812

Revision history for this message
Emanem (emaentra) wrote :

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:
Compile with:
g++ ./avcodec_sample.cpp -o av_sample -g -pthread -lavcodec -lavformat -lswscale

example use:
./av_sample ./

On Ubuntu 9.10 x86-64 all video streams (vob,mov,mpg,mpg3,mpg4,wmv,...) are ok but not if Theora coded.