[FFmpeg-trac] #184(avcodec:closed): specifying vpre for libx264 cause "bad value for 'weightp': ''" error message

FFmpeg trac at avcodec.org
Thu Jun 2 20:20:42 CEST 2011


#184: specifying vpre for libx264 cause "bad value for 'weightp': ''" error
message
------------------------+----------------------
Reporter:  verem        |       Owner:
    Type:  defect       |      Status:  closed
Priority:  normal       |   Component:  avcodec
 Version:  unspecified  |  Resolution:  invalid
Keywords:               |  Blocked By:
Blocking:               |  Reproduced:  0
Analyzed:  0            |
------------------------+----------------------
Changes (by llogan):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 FFmpeg can directly access the libx264 presets instead of emulating them
 with a text file (these files have been removed), so in most cases you
 should be using -preset instead of -vpre. To modify any options the preset
 sets, or to add additional options, you can use -x264opts such as:

 {{{
 ffmpeg -i input -vcodec libx264 -preset medium -x264opts weightp=1
 -threads 0 output
 }}}

 Unrelated side note: --enable-pthreads --enable-bzlib --enable-zlib are
 detected automatically, so you don't need these in your configure.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/184#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list