I am trying to create a thumbnail image of a video with padding on the top and bottom. It works well if I want to create a jpeg image, but in case of png it dumps the error msg "error padding picture
"
The command I am using is:
ffmpeg -ss 0 -vframes 1 -i video.avi -padleft 0 -padright 0 -padtop 22 \
-padbottom 22 -s 128x84 quik.png
If I just change the output file to "quik.jpeg
" it works. Is there any way to create a padded png image through ffmpeg? Am I doing something obviously wrong here?