#10153 closed defect (invalid)
AAC-LATM: Mono identified as stereo
Reported by: | Peter Krefting | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
AAC-LATM sample with one center channel is identified as stereo by ffprobe; mediainfo identifies it as mono, which is what I expect.
How to reproduce:
$ ./ffprobe mono.aac ffprobe version N-109662-g2c3107c3e9 Copyright (c) 2007-2023 the FFmpeg developers built with gcc 10 (Debian 10.2.1-6) configuration: libavutil 57. 44.100 / 57. 44.100 libavcodec 59. 57.100 / 59. 57.100 libavformat 59. 36.100 / 59. 36.100 libavdevice 59. 8.101 / 59. 8.101 libavfilter 8. 54.100 / 8. 54.100 libswscale 6. 8.112 / 6. 8.112 libswresample 4. 9.100 / 4. 9.100 Input #0, loas, from 'mono.aac': Duration: N/A, bitrate: N/A Stream #0:0: Audio: aac_latm (HE-AACv2), 48000 Hz, stereo, fltp $ mediainfo mono.aac General Complete name : mono.aac Format : LATM File size : 392 KiB Overall bit rate mode : Variable Audio Format : AAC LC SBR Format/Info : Advanced Audio Codec Low Complexity with Spectral Band Replication Commercial name : HE-AAC Format settings : NBC Codec ID : 2 Bit rate mode : Variable Channel(s) : 1 channel Channel layout : C Sampling rate : 48.0 kHz Frame rate : 23.438 FPS (2048 SPF) Compression mode : Lossy
Sample file can be downloaded at https://e1.pcloud.link/publink/show?code=XZqLcmZ3cdBnltyjjbn3SiSAnKpaFxvKHwk
Initially I thought this was the same as #3361, but the warning message added in 6406d5e430953085a0100b44dd8fceb478b383e2 is, as far as I can tell, not issued.
Change History (2)
comment:1 by , 16 months ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 16 months ago
BTW, Elon, can you look into why
ffplay.exe mono.aac
causes race condition in which it prints:
Input #0, loas, from 'C:\Users\ZAQU\Downloads\mono.aac': 0B f=0/0
that 0B f=0/0 is obviously from another line,
1.04 M-A: 0.000 fd= 0 aq= 5KB vq= 0KB sq= 0B f=0/0
Note:
See TracTickets
for help on using tickets.
Mono HE-AAC is always treated as stereo! Because it can become stereo at any point, spec permits that. All, aac_fixed, aac float, aac_latm and libfdk_aac treat mono as stereo, ALWAYS.
And it does print the warning message