totob at libero.it wrote:
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 dont think ffmpeg can avoid this limitation. On Linux I would recommend -s 360x330 then use 'convert', part of the ImageMagick package. On windows you could install imagemagick in cygwin.
I am using this syntax:
ffmpeg -i input.flv -an -y -s 180x165 -ss 5 -f mjpeg C:\temp_img.jpg -vframes 1
You should *always* post the complete output messages too.
Thanks to anyone who can help me!!
-- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/