Answer the question
In order to leave comments, you need to log in
Ffmpeg (debian) not seeing libx264 presets?
I put ffmpeg from sorts and libx264 from sorts too, everything is kosher.
I'm trying to convert a file:
ffmpeg -y -i House.M.D.s08e03.rus.LostFilm.avi -acodec libfaac -ac 2 -ab 96k -ar 44100 -vcodec libx264 -vpre /root/ffmpeg/ffpresets/libx264-normal.ffpreset -g 100 -keyint_min 50 -b 300k -bt 300k -threads 2 house-q1.mp4
ffmpeg version N-34029-gcf88cf1, Copyright © 2000-2011 the FFmpeg developers<br/>
built on Oct 25 2011 17:17:55 with gcc 4.4.5<br/>
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab<br/>
libavutil 51. 22. 0 / 51. 22. 0<br/>
libavcodec 53. 23. 0 / 53. 23. 0<br/>
libavformat 53. 17. 0 / 53. 17. 0<br/>
libavdevice 53. 4. 0 / 53. 4. 0<br/>
libavfilter 2. 45. 0 / 2. 45. 0<br/>
libswscale 2. 1. 0 / 2. 1. 0<br/>
libpostproc 51. 2. 0 / 51. 2. 0<br/>
Input #0, avi, from 'House.M.D.s08e03.rus.LostFilm.avi':<br/>
Metadata:<br/>
encoder : Nandub v1.0rc2<br/>
Duration: 00:43:39.11, start: 0.000000, bitrate: 1212 kb/s<br/>
Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 720x400 [SAR 1:1 DAR 9:5], 23.98 tbr, 23.98 tbn, 23.98 tbc<br/>
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 160 kb/s<br/>
<u>File for preset '/root/ffmpeg/ffpresets/libx264-normal.ffpreset' not found</u><br/>
-vpre normal
does not find it either. But then I gave him the file. Answer the question
In order to leave comments, you need to log in
you must do -fpre for the full path, or -vpre to search in one of the preset paths.
But you don't have to do all this anymore, because ffmpeg has abandoned its presets in favor of libx264 presets
And why did you build it, and not install it from the repository?
apt-get ffmpeg - or something like that
/root/ffmpeg/ffpresets/libx264-normal.ffpreset
On Windows builds, this also happened: I could not find presets and gave out corrupted x264.
After some time I updated, everything worked.
There is an option to explicitly specify the preset file, this may help without solving this problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question