[FFmpeg-trac] #542(undetermined:open): Missing aac audio after encoding to mpeg-ts with very high video bitrate

FFmpeg trac at avcodec.org
Thu Oct 20 15:31:25 CEST 2011


#542: Missing aac audio after encoding to mpeg-ts with very high video bitrate
-------------------------------------+-------------------------------------
             Reporter:  terran       |                    Owner:  michael
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------

Comment (by terran):

 Reverting the following checkin is also a workaround for the bug:

 {{{
 commit 2c5168afed8ddd798dae5909dba85ae3b611f894
 Author: Jason Garrett-Glaser <darkshikari at gmail.com>
 Date:   Thu Nov 11 14:34:27 2010 +0000

    Remove bitrate tolerance from libx264 interface
    Nobody ever uses it correctly, and ffmpeg sets it incorrectly, so we'll
 just
    leave it out.

    Originally committed as revision 25720 to
 svn://svn.ffmpeg.org/ffmpeg/trunk

 diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
 index 6da7f2a..f550c6a 100644
 --- a/libavcodec/libx264.c
 +++ b/libavcodec/libx264.c
 @@ -273,9 +273,6 @@ static av_cold int X264_init(AVCodecContext *avctx)
     if (avctx->level > 0)
         x4->params.i_level_idc = avctx->level;

 -    x4->params.rc.f_rate_tolerance =
 -        (float)avctx->bit_rate_tolerance/avctx->bit_rate;
 -
     if ((avctx->rc_buffer_size != 0) &&
         (avctx->rc_initial_buffer_occupancy <= avctx->rc_buffer_size)) {
         x4->params.rc.f_vbv_buffer_init =
 }}}

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


More information about the FFmpeg-trac mailing list