[Libav-user] How to extract a H264 video frame (container is 3GPP/MP4) into a JPG File (with libavformat and libavcode) ?

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Mar 22 20:33:35 CET 2013

张弘强 <zhanghongqiang at ...> writes:

> Recently, I’m doing development to generate video clips’ 
> thumbnail pic file. But, it is hard without development 
> guide, would you please show me some example code for it?

First confirm that ffmpeg (the command line application) 
allows you to do what you want, then look into 
doc/examples to learn how to use libavformat and libavcodec.

Carl Eugen

More information about the Libav-user mailing list