[FFmpeg-trac] #4874(undetermined:new): AAC decoder frame->nb_samples & frame->channels is wrong at get_buffer2
    FFmpeg 
    trac at avcodec.org
       
    Wed Sep 23 08:48:07 CEST 2015
    
    
  
#4874: AAC decoder frame->nb_samples & frame->channels is wrong at get_buffer2
-------------------------------------+-------------------------------------
             Reporter:  zylthinking  |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  aac          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 when set the get_buffer2 to a custom one, trace in the custom get_buffer2
 1. if the profile is FF_PROFILE_AAC_HE, then frame->channels is 1 at the
 first call, then changed to 2 in the following calls, In this case, the
 result pcm sounds well (but it is just luck I guess)
 2. if the  profile is FF_PROFILE_AAC_LOW, then the  frame->channels is 2
 at all time, in this case, the result pcm is full of noise
 Both conditions have a frame->nb_samples == 2048
 however, it is indeed should be 1024 at both case after some research and
 the frame->channels should be 2
 How to reproduce:
 {{{
 any aac can be used for testing
 }}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4874>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
    
    
More information about the FFmpeg-trac
mailing list