[FFmpeg-trac] #7839(avcodec:new): QVBR breaks mpeg2_qsv

FFmpeg trac at avcodec.org
Fri May 3 12:47:21 EEST 2019


#7839: QVBR breaks mpeg2_qsv
-------------------------------------+-------------------------------------
             Reporter:  atorp        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  qsv          |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by atorp):

 Hi lizhong1008,

 I think you need to add this change:
 {{{
 #if QSV_HAVE_ICQ
 +#if QSV_HAVE_QVBR
     else if (avctx->global_quality > 0 && !avctx->rc_max_rate) {
 +#else
 +    else if (avctx->global_quality > 0) {
 +#endif
         rc_mode = MFX_RATECONTROL_ICQ;
         rc_desc = "intelligent constant quality (ICQ)";
     }
 #endif
 }}}

 And regarding your patch ​https://patchwork.ffmpeg.org/patch/12935/ it
 doesn't work.
 Any other solution?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7839#comment:23>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list