[FFmpeg-user] -preset help: error in wiki?

Luke Davis l1 at newanswertech.com
Wed Jul 16 07:44:42 CEST 2014


On the page:

https://trac.ffmpeg.org/wiki/Encode/H.264

It states:

You can see a list of current presets with -preset help, and what settings they 
apply with x264 --fullhelp.

I get "trailing options were found on the commandline", with 2.2 compiled today, 
if I use "ffmpeg -preset help".

I have tried in several ways, the most recent being:

ffmpeg -i testvid.mov -c:v libx264 -preset help -crf 22 -c:a copy testvid.mkv
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
   built on Jul 16 2014 04:36:22 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
   configuration: --prefix=/usr/local/ffmpeg_build 
--extra-cflags=-I/usr/local/ffmpeg_build/include 
--extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin 
--extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac 
--enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
   libavutil      52. 92.100 / 52. 92.100
   libavcodec     55. 69.100 / 55. 69.100
   libavformat    55. 47.100 / 55. 47.100
   libavdevice    55. 13.102 / 55. 13.102
   libavfilter     4. 10.100 /  4. 10.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'testvid.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2009-05-21 19:52:28
     timecode        : 11:37:10:06
   Duration: 00:00:12.55, start: 0.000000, bitrate: 40045 kb/s
     Stream #0:0(eng): Video: prores (apco / 0x6F637061), yuv422p10le, 1920x1080, 
39274 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn, 2997 tbc (default)
     Metadata:
       creation_time   : 2009-05-21 19:52:28
       handler_name    : Apple Video Media Handler
       encoder         : Apple ProRes 422 (XS)
     Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, mono, s16, 
768 kb/s (default)
     Metadata:
       creation_time   : 2009-05-21 19:52:30
       handler_name    : Apple Sound Media Handler
     Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
     Metadata:
       creation_time   : 2009-05-21 19:53:07
       handler_name    : Time Code Media Handler
       timecode        : 11:37:10:06
     Stream #0:0(eng): Video: h264, q=2-31, 128 kb/s, 23.98 fps (default)
     Metadata:
       creation_time   : 2009-05-21 19:52:28
       handler_name    : Apple Video Media Handler
       encoder         : Lavc55.69.100 libx264
     Stream #0:1(eng): Audio: none, 0 channels, 128 kb/s (default)
     Metadata:
       creation_time   : 2009-05-21 19:52:30
       handler_name    : Apple Sound Media Handler
Stream mapping:
   Stream #0:0 -> #0:0 (prores (native) -> h264 (libx264))
   Stream #0:1 -> #0:1 (copy)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters 
such as bit_rate, rate, width or height


I try changing it to -vpre help, and get:

File for preset 'help' not found

I was trying to figure out why I don't have certain presets, and while I can 
just go look at the files, the wiki says this should work.

Luke



More information about the ffmpeg-user mailing list