View Full Version : ffmpeg doesn't take preset files on Windows


David1105
9th July 2009, 21:02
Try to make ffmpeg take in "preset" files on Windows Vista...

The commandline I am using:

ffmpeg -y -i test_480p.flv -s 320x240 -aspect 4:3 -vcodec libx264 -vpre libx264-hq.ffpreset -b 358400 -bt 142282 -bf 2 -ar 44100 -ab 96k output.flv.mp4

But ffmpeg always spills out "Preset file not found", though I tried so many options like absolute path, relative path, the same folder, etc.

Does anyone know the reason?

Thanks!

teddg
14th July 2009, 10:41
try the full path with extension enclosed in quotations. works on xp w/ ffmpeg r18639

Sirber
7th November 2010, 02:32
C:\Users\sirber\Documents\My Dropbox\prog\bencos\out\ffmpeg.exe -an -y -threads 8 -i "F:\Other\E002.avi" -vb 268k -vcodec libx264 -passlogfile "C:\Users\sirber\AppData\Local\Temp/bencos/video.mp4" -pass 2 -vpre "C:\Users\sirber\Documents\My Dropbox\prog\bencos\out\presets\libx264-slower.ffpreset" "C:\Users\sirber\AppData\Local\Temp/bencos/video.mp4"

File for preset 'C:\Users\sirber\Documents\My Dropbox\prog\bencos\out\presets\libx264-slower.ffpreset' not found

I get the same issue. The fullpath provided works if I paste it in notepad/open.

Dark Shikari
7th November 2010, 02:37
-fpre, not -vpre

Sirber
7th November 2010, 02:40
-fpre, not -vpre

sweeet! it works! thank you :D

sneaker_ger
7th November 2010, 02:41
Try fpre instead of vpre.

/edit: me late

popper
7th November 2010, 03:24
oc if your running ffmpeg from c: you can just make a C:\usr\local\share\ffmpeg\ dir , put all the ffpreset files in there and use the short -vpre slower , -vpre hq etc and ffmpeg will look for them there, if you run ffmpeg from D: you would make a
D:\usr\local\share\ffmpeg\ and so on.