[FFmpeg-trac] #7273(ffmpeg:new): Exported AAC does not work properly

FFmpeg trac at avcodec.org
Sat Jun 23 18:56:40 EEST 2018

#7273: Exported AAC does not work properly
             Reporter:  DriverX  |                     Type:  defect
               Status:  new      |                 Priority:  important
            Component:  ffmpeg   |                  Version:  unspecified
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
 How to reproduce:
 % ffmpeg -i in.flac -acodec aac -b:a 384k out.aac
 ffmpeg version 4.0.1 Copyright (c) 2000-2018 the FFmpeg developers
   built with gcc 8.1.1 (GCC) 20180531

 If I open 'out.aac' from the beginning (0 seconds), everythings works fine
 and I can jump  at any position with no problem.
 But if the player try to start to reproduce it from the middle of the file
 (2 or 3 minutes) the player hangs and it do not reproduce the file.
 I have tested this behavior with smplayer (with mpv) and also with kodi.
 If the AAC file is embedded in an mkv with multiple audio tracks I can't
 switch from an audio track to another one, unless I move back to the start
 of the file.

 Also, the exported file has a wrong channel layout,
 if the original file was:
 {{{Channel positions: Front: L C R, Side: L R, LFE}}}
 the exported one is:
 {{{Channel positions: Front: L C R, Side: C, Back: L R}}}
 I don't know if this 2 problems are related but it's the only difference
 that i noticed.

 With ffmpeg 3.4.2 everythings works fine, instead with ffmpeg 4.0.1 I have
 this issue.

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

More information about the FFmpeg-trac mailing list