[FFmpeg-trac] #3622(avformat:new): Second audio track in mov sometimes marked as default

FFmpeg trac at avcodec.org
Wed May 7 23:01:01 CEST 2014


#3622: Second audio track in mov sometimes marked as default
-------------------------------------+-------------------------------------
               Reporter:  cehoyos    |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  important  |              Component:  avformat
                Version:  git-       |               Keywords:  mov
  master                             |  regression
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 Related to ticket #468, #1174 and #2626

 The following command line produces an output file with exactly one
 enabled audio track (the first one), the second audio track is not
 enabled:
 {{{
 $ ffmpeg -i fate-suite/mp3-conformance/compl.bit -i fate-
 suite/mp3-conformance/he_32khz.bit -acodec aac -strict -2 -map 0:0 -map
 1:0 out.mov
 }}}

 But the following command produces an output file with two enabled audio
 tracks, this is bad for playback with QuickTime:
 {{{
 $ ffmpeg -i fate-suite/aac/al04_44.mp4 -i fate-suite/aac/al05_44.mp4
 -acodec aac -strict -2 -map 0:0 -map 1:0 out2.mov
 ffmpeg version N-63026-g54ae588 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on May  7 2014 22:40:04 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 81.100 / 52. 81.100
   libavcodec     55. 60.103 / 55. 60.103
   libavformat    55. 37.102 / 55. 37.102
   libavdevice    55. 13.101 / 55. 13.101
   libavfilter     4.  5.100 /  4.  5.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/aac/al04_44.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isom
     creation_time   : 2004-02-19 14:38:56
   Duration: 00:00:08.24, start: 0.000000, bitrate: 67 kb/s
     Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
 fltp, 63 kb/s (default)
     Metadata:
       creation_time   : 2004-02-19 14:38:56
       handler_name    : soun
 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/aac/al05_44.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isom
     creation_time   : 2004-02-19 14:38:56
   Duration: 00:00:07.43, start: 0.000000, bitrate: 131 kb/s
     Stream #1:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 127 kb/s (default)
     Metadata:
       creation_time   : 2004-02-19 14:38:56
       handler_name    : soun
 Output #0, mov, to 'out2.mov':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isom
     encoder         : Lavf55.37.102
     Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
 fltp, 128 kb/s (default)
     Metadata:
       creation_time   : 2004-02-19 14:38:56
       handler_name    : soun
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 128 kb/s (default)
     Metadata:
       creation_time   : 2004-02-19 14:38:56
       handler_name    : soun
 Stream mapping:
   Stream #0:0 -> #0:0 (aac -> aac)
   Stream #1:0 -> #0:1 (aac -> aac)
 Press [q] to stop, [?] for help
 size=     252kB time=00:00:08.24 bitrate= 250.6kbits/s
 video:0kB audio:246kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 2.660035%
 }}}
 out2.mov has both audio tracks enabled, this is a regression since
 800ea20c

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


More information about the FFmpeg-trac mailing list