[FFmpeg-trac] #4006(avutil:new): FFmpeg not parsing Center channel in mov as Center.

FFmpeg trac at avcodec.org
Sun Oct 5 03:26:51 CEST 2014


#4006: FFmpeg not parsing Center channel in mov as Center.
--------------------------------+---------------------------------------
             Reporter:  billys  |                     Type:  defect
               Status:  new     |                 Priority:  normal
            Component:  avutil  |                  Version:  unspecified
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+---------------------------------------
 I am trying to extract the audio channel assignments from a MOV. The
 channel assignments where done using Quicktime Pro 7. The file has 6 mono
 audio streams which make up a 5.1 channel set. I am expecting to see FL,
 FR, FC, LFE, BL, BR across the streams.

 The issue is that I am seeing 'mono' instead of FC.

 I believe this is an issue with avutil, where that it cannot distinguish
 between a true mono 1.0 channel and a Center channel that is a part of a
 surround sound channel set.

 I will attach the file I have used to this post. Please find the full
 uncut console output below. Thank you.

 ffmpeg started on 2014-10-05 at 02:21:30
 Report written to "ffmpeg-20141005-022130.log"
 Command line:
 ffmpeg -i qpro.mov -report
 ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
   built on Oct  4 2014 22:09:55 with Apple LLVM version 6.0
 (clang-600.0.38) (based on LLVM 3.5svn)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.3 --enable-shared
 --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree
 --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang
 --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-
 libmp3lame --enable-libxvid --enable-libfdk-aac --enable-openssl
   libavutil      52. 92.100 / 52. 92.100
   libavcodec     55. 69.100 / 55. 69.100
   libavformat    55. 48.100 / 55. 48.100
   libavdevice    55. 13.102 / 55. 13.102
   libavfilter     4. 11.100 /  4. 11.100
   libavresample   1.  3.  0 /  1.  3.  0
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc    52.  3.100 / 52.  3.100
 Splitting the commandline.
 Reading option '-i' ... matched as input file with argument 'qpro.mov'.
 Reading option '-report' ... matched as option 'report' (generate a
 report) with argument '1'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option report (generate a report) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file qpro.mov.
 Successfully parsed a group of options.
 Opening an input file: qpro.mov.
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb90300f000] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb90300f000] ISO: File Type Major Brand: qt
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb90300f000] Before
 avformat_find_stream_info() pos: 158489 bytes read:43765 seeks:1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb90300f000] All info found
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb90300f000] After
 avformat_find_stream_info() pos: 18468 bytes read:76533 seeks:2 frames:6
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'qpro.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     encoder         : Lavf55.21.100
   Duration: 00:00:00.17, start: 0.000000, bitrate: 7414 kb/s
     Stream #0:0(eng), 1, 1/48000: Audio: pcm_s24be (in24 / 0x34326E69),
 48000 Hz, 1 channels (FL), s32, 1152 kb/s (default)
     Metadata:
       handler_name    : Apple Alias Data Handler
     Stream #0:1(eng), 1, 1/48000: Audio: pcm_s24be (in24 / 0x34326E69),
 48000 Hz, 1 channels (FR), s32, 1152 kb/s
     Metadata:
       handler_name    : Apple Alias Data Handler
     Stream #0:2(eng), 1, 1/48000: Audio: pcm_s24be (in24 / 0x34326E69),
 48000 Hz, mono, s32, 1152 kb/s
     Metadata:
       handler_name    : Apple Alias Data Handler
     Stream #0:3(eng), 1, 1/48000: Audio: pcm_s24be (in24 / 0x34326E69),
 48000 Hz, 1 channels (LFE), s32, 1152 kb/s
     Metadata:
       handler_name    : Apple Alias Data Handler
     Stream #0:4(eng), 1, 1/48000: Audio: pcm_s24be (in24 / 0x34326E69),
 48000 Hz, 1 channels (BL), s32, 1152 kb/s
     Metadata:
       handler_name    : Apple Alias Data Handler
     Stream #0:5(eng), 1, 1/48000: Audio: pcm_s24be (in24 / 0x34326E69),
 48000 Hz, 1 channels (BR), s32, 1152 kb/s
     Metadata:
       handler_name    : Apple Alias Data Handler
 Successfully opened the file.
 At least one output file must be specified
 [AVIOContext @ 0x7fb9025011a0] Statistics: 76533 bytes read, 2 seeks

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


More information about the FFmpeg-trac mailing list