[FFmpeg-trac] #1767(FFmpeg:new): 24bit audio in mov is flagged as 16bit in stsd atom

FFmpeg trac at avcodec.org
Thu Sep 27 18:13:34 CEST 2012


#1767: 24bit audio in mov is flagged as 16bit in stsd atom
----------------------------------+--------------------------------------
             Reporter:  nichot20  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  FFmpeg    |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 Summary of the bug:
 How to reproduce:
 {{{
 ffmpeg -i 1stream-24.mov -c:a copy 1stream-copy.mov
 ffmpeg version N-44123-g5d55830-by_Tim Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Sep  3 2012 11:18:50 with gcc 4.6 (SUSE Linux)
   configuration: --extra-version=by_Tim --enable-static --disable-shared
 --enable-gpl --enable-nonfree --enable-version3 --prefix=/mnt/msds-
 store-0/tim/ffmpeg-tux/usr/local --libdir=/mnt/msds-store-0/tim/ffmpeg-
 tux/usr/local/lib64 --samples=../fate-suite/ --enable-runtime-cpudetect
 --extra-cflags='-static -I/mnt/msds-store-0/tim/ffmpeg-
 tux/usr/local/include' --extra-ldflags='-static -L/mnt/msds-store-0/tim
 /ffmpeg-tux/usr/local/lib64' --progs-suffix=_Sep-03 --disable-ffserver
 --enable-libfaac --enable-libfdk-aac --enable-libx264 --enable-libfreetype
 --disable-ffplay
   libavutil      51. 70.100 / 51. 70.100
   libavcodec     54. 55.100 / 54. 55.100
   libavformat    54. 25.104 / 54. 25.104
   libavdevice    54.  2.100 / 54.  2.100
   libavfilter     3. 15.102 /  3. 15.102
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 Guessed Channel Layout for  Input Stream #0.0 : mono
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1stream-24.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2012-09-27 15:53:44
   Duration: 00:00:41.44, start: 0.000000, bitrate: 1152 kb/s
     Stream #0:0(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz,
 mono, s32, 1152 kb/s
     Metadata:
       creation_time   : 2012-09-27 15:53:44
       handler_name    : Apple Alias Data Handler
 Output #0, mov, to '1stream-copy.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     encoder         : Lavf54.25.104
     Stream #0:0(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz,
 mono, 1152 kb/s
     Metadata:
       creation_time   : 2012-09-27 15:53:44
       handler_name    : Apple Alias Data Handler
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 size=    5828kB time=00:00:41.44 bitrate=1152.1kbits/s
 video:0kB audio:5828kB subtitle:0 global headers:0kB muxing overhead
 0.012836%
 }}}

 But upon inspection moov->trak->mdia->minf->stbl atom declares that:-
 "sample size= 16"

 when it should be

 "sample size= 24"

 Same happens if you use
 {{{
 ffmpeg -i 1stream-24.mov -c:a pcm_s24be 1stream-recode.mov
 }}}

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


More information about the FFmpeg-trac mailing list