Michel Bardiaux <mbardiaux <at> mediaxim.be> writes:
Asli Binal wrote:
Please dont top-post.
Unfortunately ffmpeg doesn't allow odd sizes for the height/width - but I commented out the ffmpeg.c code that checks for this, and recompiled, and now I can set whatever height/width I like.
If you disabled the test for all codecs, expect weird behaviour when not using mjpeg.
Hello everybody,
I need to create a thumbnail with an height set with the value of 165. When i try to run the command, I get the message "Frame size must be a multiple of 2" and the thumb is not created. I need the thumb to be this size (180*165), how can I do?
I am using this syntax:
ffmpeg -i input.flv -an -y -s 180x165 -ss 5 -f mjpeg C:\temp_img.jpg -vframes 1
Thanks to anyone who can help me!!
About odd sized dimensions, it seems to me that checking for odd height/width on the command line might not be the best place as each codec might have different capabilities. So forcing the user to always output to even dimensions, when the codec might be capable of handling odd dimensions is a real limitation. Shouldn't the check for valid dimensions be done at the codec level since some codecs allow for odd and even sizes? Thanks, AB