VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Nov 2009
    Location
    Germany
    Search Comp PM
    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 ...
    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]
    ... except if the output format of the thumbs is ODD!
    (So for example, 640x481 pixels)

    This follows from the error log:

    Frame size must be a multiple of 2
    See here:
    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
    Quote Quote  
  2. Member
    Join Date
    Nov 2009
    Location
    Germany
    Search Comp PM
    No ffmpeg pro's available who can help ?
    Quote Quote  
  3. Member
    Join Date
    Nov 2009
    Location
    Germany
    Search Comp PM
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!