Mat wrote: > I used the example from a link in the FFMpeg site as reference: > http://www.inb.uni-luebeck.de/~boehme/using_libavcodec.html > because ffplay is not very easy to follow :) Got it :) I simply changed the av_read_packet function call with av_read_frame and it seems ok now. But what is the difference between the 2 functions ?