[FFmpeg-trac] #3361(avcodec:new): aac_he mono not recogized (reported as stereo)

FFmpeg trac at avcodec.org
Thu Nov 13 23:15:35 CET 2014


#3361: aac_he mono not recogized (reported as stereo)
-------------------------------------+-------------------------------------
             Reporter:  blacktrash   |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  aac          |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by blacktrash):

 Replying to [comment:14 cehoyos]:
 > Replying to [comment:13 blacktrash]:
 > > 2. ffplay'ing mpegts streams report {{{[aac @ 0x7fab9a035800]
 ChannelElement 1.0 missing}}}
 >
 > Please provide command line and console output and a sample.

 Or, without intermediate bsf step:

 {{{
 $ ffmpeg -i BigBuckBunny_640x360.m4v -c:v libx264 -c:a libfdk_aac
 -profile:a aac_he -b:a 64k -ac 1 test.ts
 ffmpeg version N-67514-g7656c4c Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Nov 10 2014 20:00:06 with Apple LLVM version 6.0
 (clang-600.0.54) (based on LLVM 3.5svn)
   configuration: --enable-gpl --enable-version3 --enable-nonfree
 --disable-ffserver --enable-shared --enable-libfdk-aac --enable-libx265
 --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame
 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libvidstab
 --extra-cflags=-I/sw/include --extra-libs=-L/sw/lib
   libavutil      54. 11.100 / 54. 11.100
   libavcodec     56. 12.100 / 56. 12.100
   libavformat    56. 12.103 / 56. 12.103
   libavdevice    56.  2.100 / 56.  2.100
   libavfilter     5.  2.103 /  5.  2.103
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BigBuckBunny_640x360.m4v':
   Metadata:
     major_brand     : M4V
     minor_version   : 1
     compatible_brands: M4V M4A mp42isom
     creation_time   : 2008-06-03 05:23:28
     copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org
     title           : Big Buck Bunny
     artist          : Peach Open Movie Team
     composer        : Sacha Goedegebure / Ton Roosendaal
     date            : 2008
   Duration: 00:09:56.46, start: 0.000000, bitrate: 1626 kb/s
     Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
 stereo, fltp, 127 kb/s (default)
     Metadata:
       creation_time   : 2008-06-03 05:23:28
       handler_name    : Apple Sound Media Handler
     Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 /
 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 640x360, 1495 kb/s,
 24 fps, 24 tbr, 2400 tbn, 4800 tbc (default)
     Metadata:
       creation_time   : 2008-06-03 05:23:28
       handler_name    : Apple Video Media Handler
 [libx264 @ 0x7fe66b800c00] using cpu capabilities: MMX2 SSE2Fast SSSE3
 SSE4.2 AVX
 [libx264 @ 0x7fe66b800c00] profile High, level 3.0
 Output #0, mpegts, to 'test.ts':
   Metadata:
     major_brand     : M4V
     minor_version   : 1
     compatible_brands: M4V M4A mp42isom
     date            : 2008
     copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org
     title           : Big Buck Bunny
     artist          : Peach Open Movie Team
     composer        : Sacha Goedegebure / Ton Roosendaal
     encoder         : Lavf56.12.103
     Stream #0:0(eng): Video: h264 (libx264), yuv420p, 640x360, q=-1--1, 24
 fps, 90k tbn, 24 tbc (default)
     Metadata:
       creation_time   : 2008-06-03 05:23:28
       handler_name    : Apple Video Media Handler
       encoder         : Lavc56.12.100 libx264
     Stream #0:1(eng): Audio: aac (libfdk_aac) (HE-AAC), 44100 Hz, mono,
 s16, 64 kb/s (default)
     Metadata:
       creation_time   : 2008-06-03 05:23:28
       handler_name    : Apple Sound Media Handler
       encoder         : Lavc56.12.100 libfdk_aac
 Stream mapping:
   Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
   Stream #0:0 -> #0:1 (aac (native) -> aac (libfdk_aac))
 Press [q] to stop, [?] for help
 frame=14316 fps=305 q=-1.0 Lsize=   48501kB time=00:09:56.49 bitrate=
 666.1kbits/s
 video:38402kB audio:4661kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: 12.626186%
 [libx264 @ 0x7fe66b800c00] frame I:154   Avg QP:17.40  size: 37747
 [libx264 @ 0x7fe66b800c00] frame P:5550  Avg QP:22.44  size:  4792
 [libx264 @ 0x7fe66b800c00] frame B:8612  Avg QP:27.20  size:   803
 [libx264 @ 0x7fe66b800c00] consecutive B-frames: 12.4% 17.7% 13.4% 56.4%
 [libx264 @ 0x7fe66b800c00] mb I  I16..4: 35.4% 26.7% 37.9%
 [libx264 @ 0x7fe66b800c00] mb P  I16..4:  3.2%  4.2%  1.7%  P16..4: 33.3%
 7.3%  4.9%  0.0%  0.0%    skip:45.3%
 [libx264 @ 0x7fe66b800c00] mb B  I16..4:  0.2%  0.5%  0.2%  B16..8: 24.6%
 1.7%  0.5%  direct: 0.8%  skip:71.6%  L0:49.5% L1:44.9% BI: 5.6%
 [libx264 @ 0x7fe66b800c00] 8x8 transform intra:42.7% inter:49.6%
 [libx264 @ 0x7fe66b800c00] coded y,uvDC,uvAC intra: 61.4% 65.7% 32.2%
 inter: 9.7% 10.2% 2.1%
 [libx264 @ 0x7fe66b800c00] i16 v,h,dc,p: 22% 27% 23% 28%
 [libx264 @ 0x7fe66b800c00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 19% 26%  4%
 5%  7%  5%  6%  6%
 [libx264 @ 0x7fe66b800c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 23% 19%  4%
 6%  6%  6%  5%  5%
 [libx264 @ 0x7fe66b800c00] i8c dc,h,v,p: 48% 23% 18% 11%
 [libx264 @ 0x7fe66b800c00] Weighted P-Frames: Y:3.7% UV:2.4%
 [libx264 @ 0x7fe66b800c00] ref P L0: 70.7% 13.5% 11.6%  4.2%  0.1%
 [libx264 @ 0x7fe66b800c00] ref B L0: 91.2%  7.6%  1.2%
 [libx264 @ 0x7fe66b800c00] ref B L1: 94.8%  5.2%
 [libx264 @ 0x7fe66b800c00] kb/s:527.39
 $ ffprobe -v quiet -select_streams a -show_entries stream=profile test.ts
 [PROGRAM]
 [STREAM]
 profile=HE-AACv2
 [/STREAM]
 [/PROGRAM]
 [STREAM]
 profile=HE-AACv2
 [/STREAM]
 $ ffplay test.ts
 ffplay version N-67514-g7656c4c Copyright (c) 2003-2014 the FFmpeg
 developers
   built on Nov 10 2014 20:00:06 with Apple LLVM version 6.0
 (clang-600.0.54) (based on LLVM 3.5svn)
   configuration: --enable-gpl --enable-version3 --enable-nonfree
 --disable-ffserver --enable-shared --enable-libfdk-aac --enable-libx265
 --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame
 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libvidstab
 --extra-cflags=-I/sw/include --extra-libs=-L/sw/lib
   libavutil      54. 11.100 / 54. 11.100
   libavcodec     56. 12.100 / 56. 12.100
   libavformat    56. 12.103 / 56. 12.103
   libavdevice    56.  2.100 / 56.  2.100
   libavfilter     5.  2.103 /  5.  2.103
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, mpegts, from 'test.ts':  0KB vq=    0KB sq=    0B f=0/0
   Duration: 00:09:56.61, start: 1.400000, bitrate: 665 kb/s
   Program 1
     Metadata:
       service_name    : Big Buck Bunny
       service_provider: FFmpeg
     Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p, 640x360, 24 fps, 24 tbr, 90k tbn, 48 tbc
     Stream #0:1[0x101](eng): Audio: aac (HE-AACv2) ([15][0][0][0] /
 0x000F), 44100 Hz, stereo, fltp, 64 kb/s
 [aac @ 0x7fcfaa836800] ChannelElement 1.0 missing
     Last message repeated 9 times
 [aac @ 0x7fcfaa836800] ChannelElement 1.0 missing sq=    0B f=0/0
 [aac @ 0x7fcfaa836800] ChannelElement 1.0 missing sq=    0B f=0/0
 [aac @ 0x7fcfaa836800] ChannelElement 1.0 missing sq=    0B f=0/0
     Last message repeated 1 times
 [aac @ 0x7fcfaa836800] ChannelElement 1.0 missing sq=    0B f=0/0
     Last message repeated 1 times
 [aac @ 0x7fcfaa836800] ChannelElement 1.0 missing sq=    0B f=0/0
 [aac @ 0x7fcfaa836800] ChannelElement 1.0 missing sq=    0B f=0/0
 # [... etc ...]
 }}}

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


More information about the FFmpeg-trac mailing list