Hello everyone!
I am using a software, that generates thumbnails from video files.
So far I've used mplayer to generate thos thumbs.
Since ffmpeg can create much cleaner and better thumbs, I changed the appropriate command line in the code and it runs everything perfectly ...
... except if the output format of the thumbs is ODD!Code:ffmpeg -ss [timeCode] -i [inFile] -vcodec mjpeg -vframes 1 -an -f rawvideo -s [scaleWidth]x[scaleHeight] [outDir]/output.jpg 1> /dev/null 2> [debugFile]
(So for example, 640x481 pixels)
This follows from the error log:
See here:Frame size must be a multiple of 2
http://www.google.de/#hl=de&source=hp&q=ffmpeg+%22Frame+size+must+be+a+multiple+of+2&b...f+2&fp=1&cad=b
I've read through but I found nothing useful
There must also be a possibility to get FFMpeg to work as perfectly as mplayer does if the thumbsize/videosize is odd.
Here, i would need your help, hints or solutions!
Thank you very much!
yamyam
+ Reply to Thread
Results 1 to 3 of 3
Similar Threads
-
help - how to compile latest "nightly" ffmpeg for win32 (XP) with mingw
By hydra3333 in forum ProgrammingReplies: 32Last Post: 20th May 2017, 00:33 -
How to solve "yv12 height must be multiple of 4" problem in autogk?
By vampypiano in forum Video ConversionReplies: 0Last Post: 29th Jan 2011, 01:20 -
Problem - "Wrong frame length"
By IllusionOfLife in forum Authoring (DVD)Replies: 9Last Post: 10th Jul 2010, 02:09 -
how we can implement "VirtualDub" or "FFmpeg" with my C# windows applicati
By dhemittal in forum ProgrammingReplies: 0Last Post: 8th Jun 2010, 07:17 -
Staxrip: "Constant Quality" vs. "Exact File Size"
By FallenAngelII in forum Video ConversionReplies: 1Last Post: 9th Aug 2007, 17:40