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

FFmpeg trac at avcodec.org
Mon Jul 14 14:00:05 CEST 2014


#3622: Second audio track in mov sometimes marked as default
-------------------------------------+-------------------------------------
             Reporter:  cehoyos      |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mov          |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The issue is still reproducible with current FFmpeg git head:
 {{{
 $ 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-64656-g2a9b4c0 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Jul 14 2014 13:56:52 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 92.100 / 52. 92.100
   libavcodec     55. 69.100 / 55. 69.100
   libavformat    55. 46.100 / 55. 46.100
   libavdevice    55. 13.102 / 55. 13.102
   libavfilter     4. 10.100 /  4. 10.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.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
 [mov @ 0x2188d00] Using AVStream.codec.time_base as a timebase hint to the
 muxer is deprecated. Set AVStream.time_base instead.
     Last message repeated 1 times
 Output #0, mov, to 'out2.mov':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isom
     encoder         : Lavf55.46.100
     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
       encoder         : Lavc55.69.100 aac
     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
       encoder         : Lavc55.69.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (aac (native) -> aac (native))
   Stream #1:0 -> #0:1 (aac (native) -> aac (native))
 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%
 }}}
 {{{
 $ ffmpeg -i out2.mov
 ffmpeg version N-64656-g2a9b4c0 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Jul 14 2014 13:56:52 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 92.100 / 52. 92.100
   libavcodec     55. 69.100 / 55. 69.100
   libavformat    55. 46.100 / 55. 46.100
   libavdevice    55. 13.102 / 55. 13.102
   libavfilter     4. 10.100 /  4. 10.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out2.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     encoder         : Lavf55.46.100
   Duration: 00:00:08.27, start: 0.023220, bitrate: 249 kb/s
     Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
 fltp, 126 kb/s (default)
     Metadata:
       handler_name    : DataHandler
     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 129 kb/s (default)
     Metadata:
       handler_name    : DataHandler
 At least one output file must be specified
 }}}

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


More information about the FFmpeg-trac mailing list