[FFmpeg-trac] #3091(FFmpeg:new): High Bitrate I-frame CBR MPEG encoding causes error
FFmpeg
trac at avcodec.org
Tue Oct 29 03:52:06 CET 2013
#3091: High Bitrate I-frame CBR MPEG encoding causes error
--------------------------------+---------------------------------------
Reporter: ortoni | Type: defect
Status: new | Priority: normal
Component: FFmpeg | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+---------------------------------------
m2v encoding of I-frame CBR mpeg at 100Mbit/sec and above gives bitrate
tolerance too small for bitrate error. Below 100Mbit, error does not
arise.
reproduced with XDcam demuxed m2v file:
ffmpeg.exe -i c:\tmpdir\work.m2v -vcodec mpeg2video -pix_fmt yuv422p
-intra -flags +ildct+ilme -b:v 150M -minrate 150M -maxrate 150M -bufsize
47185920 -r 25 -an -y c:\tmpdir\xdcam.m2v
ffmpeg version 2.0.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Sep 26 2013 01:50:16 with gcc 4.8.1 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-
aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.100 / 55. 12.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 79.101 / 3. 79.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, mpegvideo, from 'c:\tmpdir\work.m2v':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 1920x1080 [SAR 1:1
DAR 16:9], 25 fps, 25 tbr, 1200k tbn, 50 tbc
[mpeg2video @ 02793a60] bitrate tolerance too small for bitrate
Output #0, mpeg2video, to 'c:\tmpdir\xdcam.m2v':
Stream #0:0: Video: mpeg2video, yuv422p, 1920x1080 [SAR 1:1 DAR 16:9],
q=2-31, 150000 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video -> mpeg2video)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height
Have source file if needed.
TIA
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3091>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list