This is a hacked-up MPEG importer for libannodex, which is based on the code provided by "mpgtx", a command-line MPEG toolbox . It does the job, although you have to hack the picture_rates struct in anx_import_mpeg.c if you get odd synchronisation errors. Be aware that unlike the rest of the core libraries, this code is not BSD -- it's licensed under the GPL because we've used source code provided by mpgtx.