ffmpeg h264 problem: "File for preset ... not found" on XP

mehmedean picture mehmedean · Jan 31, 2011 · Viewed 19.3k times · Source

i have xp and since i'm not familiar with compiling i downloaded win32-static version of ffmpeg, svn-r26251. i want to resize an mp4 (1280x720 originally) video to get a smaller file size with approximately same quality. My command is:

ffmpeg -i ma.mp4 -vcodec libx264 -vpre hq -s 640x360 ma2.mp4

however it says "file for preset 'hq' not found". i tried -fpre, made no difference. without libx264, the resulting file, ma2.mp4, won't play in jwplayer, you just hear audio. (the reason is that it is not "mpeg4(h264)", it is just "mpeg4"). what should i do?

Answer

Rajib picture Rajib · Jul 8, 2012

For x264 preset, instead of using "-vpre", the new builds will work with "-preset", as this will call the x264 preset directly.