Posts Tagged ‘Coding’

ffmpeg + libao player

Wednesday, March 25th, 2009

This is a very simple example of how to use ffmpeg and libao to play music. I’ve not managed to get it to play FLAC yet and when playing very large movies (like 1080p) it will jump etc. but I’ll update it when I figure it out. It’s based on http://www.xiph.org/ao/doc/ao_example.c  and http://www.dranger.com/ffmpeg/tutorial03.html. So far there isn’t any comments either, so you should check out the tutorials, and until I find a decent code highlighter for Wordpress you should just download it!