[FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0"

FFmpeg trac at avcodec.org
Fri Oct 14 03:16:53 CEST 2011


#542: Missing audio when encoding to mpeg-ts with "-threads 0"
-------------------------------------+-------------------------------------
             Reporter:  terran       |                    Owner:  michael
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by terran):

 The regression seems to be related to the following change:

 {{{
     x4->params.rc.i_qp_min                 = avctx->qmin;
     x4->params.rc.i_qp_max                 = avctx->qmax;
     x4->params.rc.i_qp_step                = avctx->max_qdiff;
 }}}

 became...

 {{{
     if (avctx->qmin >= 0)
         x4->params.rc.i_qp_min          = avctx->qmin;
     if (avctx->qmax >= 0)
         x4->params.rc.i_qp_max          = avctx->qmax;
     if (avctx->max_qdiff >= 0)
         x4->params.rc.i_qp_step         = avctx->max_qdiff;
 }}}

 I imagine there may be other related changes but removing these eliminated
 the bug for me.

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


More information about the FFmpeg-trac mailing list