[FFmpeg-trac] #9012(ffmpeg:new): specified frame type is not compatible with max B-frames

FFmpeg trac at avcodec.org
Fri Nov 27 10:09:06 EET 2020


#9012: specified frame type is not compatible with max B-frames
-----------------------------------+--------------------------------------
             Reporter:  malaterre  |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  ffmpeg     |                  Version:  git-master
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+--------------------------------------
 Summary of the bug:
 How to reproduce:
 {{{
 $ ./ffmpeg -y -i ffmpeg_crash.mkv -c:v libx264 -b:v 597k -pass 1 -an -f
 null /dev/null && \
 ./ffmpeg -y -i ffmpeg_crash.mkv -c:v libx264 -b:v 597k -pass 2 -c:a aac
 -b:a 123k test.mp4
 [...]
 [libx264 @ 0x65f7240] 2nd pass has more frames than 1st pass (1392)=
 703.3kbits/s dup=2 drop=0 speed=13.4x
 [libx264 @ 0x65f7240] continuing anyway, at constant QP=12
 [libx264 @ 0x65f7240] disabling adaptive B-frames
 [libx264 @ 0x65f7240] specified frame type is not compatible with max
 B-frames
 zsh: segmentation fault  ./ffmpeg -y -i ffmpeg_crash.mkv -c:v libx264 -b:v
 597k -pass 2 -c:a aac -b:a
 }}}

 Using:

 {{{
 $ ./ffmpeg -version
 ffmpeg version N-54874-ga1553b0cfb-static
 https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2020 the FFmpeg
 developers
 built with gcc 8 (Debian 8.3.0-6)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp
 --enable-libgme --enable-gray --enable-libaom --enable-libfribidi
 --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt
 --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab
 --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264
 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid
 --enable-libzvbi --enable-libzimg
 libavutil      56. 60.100 / 56. 60.100
 libavcodec     58.112.101 / 58.112.101
 libavformat    58. 64.100 / 58. 64.100
 libavdevice    58. 11.102 / 58. 11.102
 libavfilter     7. 88.102 /  7. 88.102
 libswscale      5.  8.100 /  5.  8.100
 libswresample   3.  8.100 /  3.  8.100
 libpostproc    55.  8.100 / 55.  8.100
 }}}

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


More information about the FFmpeg-trac mailing list