1
1
1nd1go2011-10-26 12:20:46
fmpeg
1nd1go, 2011-10-26 12:20:46

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

I get:
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/>

Well, that is, if you specify it simply -vpre normaldoes not find it either. But then I gave him the file.
Anyone can help?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
M
Maxim Lapshin, 2011-10-26
@1nd1go

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

E
Eddy_Em, 2011-10-26
@Eddy_Em

And why did you build it, and not install it from the repository?
apt-get ffmpeg - or something like that

E
Eddy_Em, 2011-10-26
@Eddy_Em

/root/ffmpeg/ffpresets/libx264-normal.ffpreset

Are you doing this from root? Do not do it this way.
And about -vpre, we would look at the help:
-vpre preset set the video options to the indicated preset
I.e. you need to create this file and put the required video settings there.

L
lashtal, 2011-10-26
@lashtal

On Windows builds, this also happened: I could not find presets and gave out corrupted x264.
After some time I updated, everything worked.

E
Eugene, 2011-10-26
@Nc_Soft

There is an option to explicitly specify the preset file, this may help without solving this problem.

E
Eddy_Em, 2011-10-26
@Eddy_Em

Can you explain why you don't include ffmpeg's own presets (which are in /usr/share/ffmpeg/)?
Or did you install it somehow crookedly?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question