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

FFmpeg trac at avcodec.org
Tue May 10 10:45:52 CEST 2011


#184: specifying vpre for libx264 cause "bad value for 'weightp': ''" error
message
---------------------+--------------------------
 Reporter:  verem    |        Type:  defect
   Status:  new      |    Priority:  normal
Component:  avcodec  |     Version:  unspecified
 Keywords:           |  Blocked By:
 Blocking:           |  Reproduced:  0
 Analyzed:  0        |
---------------------+--------------------------
 I am trying to use preset of libx264 supplied with ffmpeg, but faild due
 to error message:

 -- skipped --
 [libx264 @ 0x9ae5b60] bad value for 'weightp':
 -- skipped --

 adding option wpredp to libx264-default.ffpreset
 [...]
 wpredp=2
 [...]
 does not solve a problem...

 full ffmpeg output:

 [root at dev-4 ~]# dvgrab -noavc - | /usr/local/enctools/bin/ffmpeg -f dv -i
 - -s cif -acodec libfaac -vcodec libx264 -ab 64k -ac 1 -vb 512k -vpre
 default -f mp4 -y test.dat
 ffmpeg version git-N-29757-gb97b4b5, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on May 10 2011 08:40:57 with gcc 4.5.1 20100924 (Red Hat 4.5.1-4)
   configuration: --prefix=/usr/local/enctools --extra-
 cflags=-I/usr/local/enctools/include --extra-
 ldflags=-L/usr/local/enctools/lib --enable-shared --enable-gpl --enable-
 version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-
 pthreads --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libspeex
 --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
   libavutil    51.  2. 1 / 51.  2. 1
   libavcodec   53.  5. 0 / 53.  5. 0
   libavformat  53.  0. 3 / 53.  0. 3
   libavdevice  53.  0. 0 / 53.  0. 0
   libavfilter   2.  5. 0 /  2.  5. 0
   libswscale    0. 14. 0 /  0. 14. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 Found AV/C device with GUID 0x0050c2fffe54e000
 Waiting for DV...
 [dv @ 0x9acdb20] Estimating duration from bitrate, this may be inaccurate
 Input #0, dv, from 'pipe:':
   Duration: N/A, start: 0.000000, bitrate: 28800 kb/s
     Stream #0.0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, PAR 16:15
 DAR 4:3, 25 tbr, 25 tbn, 25 tbc
     Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
 [buffer @ 0x9acd980] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15
 [scale @ 0x9adf940] w:720 h:576 fmt:yuv420p -> w:352 h:288 fmt:yuv420p
 flags:0xa0000004
 [libx264 @ 0x9ae5b60] bad value for 'weightp': ''
 Output #0, mp4, to 'test.dat':
     Stream #0.0: Video: libx264, yuv420p, 352x288 [PAR 16:15 DAR 176:135],
 q=10-51, 512 kb/s, 90k tbn, 25 tbc
     Stream #0.1: Audio: libfaac, 48000 Hz, 1 channels, s16, 64 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.1 -> #0.1
 Error while opening encoder for output stream #0.0 - maybe incorrect
 parameters such as bit_rate, rate, width or height
 Error: no DV

 [root at dev-4 ~]#

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


More information about the FFmpeg-trac mailing list