[FFmpeg-user] generate thumbnail or picture code

Roger Pack rogerdpack2 at gmail.com
Thu Aug 16 16:26:32 CEST 2012


> Hi Everybody, Could anyone show me the code block that generate thumbnail in ffmpeg.c source code? Thank You,Chau Pham.


There is a "thumbnail" filter:
libavfilter/vf_thumbnail.c
http://ffmpeg.org/ffmpeg.html#thumbnail

But I think in general one just resizes (scale filter)
http://ffmpeg.org/ffmpeg.html#scale
to get a thumbnail.
https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/vf_scale.c
HTH.


More information about the ffmpeg-user mailing list