[FFmpeg-user] ALAC only 6 channels
Felix Muster
felixjan.muster at icloud.com
Fri Dec 6 23:13:42 EET 2019
Hello
I'm trying to convert 8 channel DTS-HD MA to 8 channel ALAC but it doesn't
work:
ffmpeg -i test.mkv -map 0:0 -map 0:1 -c:v copy -c:a alac -ac 8 test.m4v
ffmpeg version git-2019-12-06-b66a800 Copyright (c) 2000-2019 the FFmpeg
developers
built with gcc 9.2.1 (GCC) 20191125
configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libdav1d --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va
--enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
--enable-libopenmpt --enable-amf
libavutil 56. 36.101 / 56. 36.101
libavcodec 58. 64.101 / 58. 64.101
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.101 / 58. 9.101
libavfilter 7. 67.100 / 7. 67.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Guessed Channel Layout for Input Stream #0.3 : 5.1
Guessed Channel Layout for Input Stream #0.4 : 5.1
Input #0, matroska,webm, from 'test.mkv':
Metadata:
title : TEST
encoder : libebml v1.3.4 + libmatroska v1.4.5
creation_time : 2019-12-06T15:10:41.000000Z
Duration: 02:29:21.24, start: 0.000000, bitrate: 31935 kb/s
Chapter #0:0: start 0.000000, end 688.729000
Metadata:
title : (01)00:00:00:000
Chapter #0:1: start 688.729000, end 1093.884000
Metadata:
title : (02)00:11:28:729
Chapter #0:2: start 1093.884000, end 1643.808000
Metadata:
title : (03)00:18:13:884
Chapter #0:3: start 1643.808000, end 2148.813000
Metadata:
title : (04)00:27:23:808
Chapter #0:4: start 2148.813000, end 2543.541000
Metadata:
title : (05)00:35:48:813
Chapter #0:5: start 2543.541000, end 3252.874000
Metadata:
title : (06)00:42:23:541
Chapter #0:6: start 3252.874000, end 3576.739000
Metadata:
title : (07)00:54:12:874
Chapter #0:7: start 3576.739000, end 3907.153000
Metadata:
title : (08)00:59:36:739
Chapter #0:8: start 3907.153000, end 4253.666000
Metadata:
title : (09)01:05:07:153
Chapter #0:9: start 4253.666000, end 4626.955000
Metadata:
title : (10)01:10:53:666
Chapter #0:10: start 4626.955000, end 5054.758000
Metadata:
title : (11)01:17:06:955
Chapter #0:11: start 5054.758000, end 5468.004000
Metadata:
title : (12)01:24:14:758
Chapter #0:12: start 5468.004000, end 6120.405000
Metadata:
title : (13)01:31:08:004
Chapter #0:13: start 6120.405000, end 6357.809000
Metadata:
title : (14)01:42:00:405
Chapter #0:14: start 6357.809000, end 6784.068000
Metadata:
title : (15)01:45:57:809
Chapter #0:15: start 6784.068000, end 7132.917000
Metadata:
title : (16)01:53:04:068
Chapter #0:16: start 7132.917000, end 7438.180000
Metadata:
title : (17)01:58:52:917
Chapter #0:17: start 7438.180000, end 7873.282000
Metadata:
title : (18)02:03:58:180
Chapter #0:18: start 7873.282000, end 8251.284000
Metadata:
title : (19)02:11:13:282
Chapter #0:19: start 8251.284000, end 8960.993000
Metadata:
title : (20)02:17:31:284
Chapter #0:20: start 8960.993000, end 8961.238000
Metadata:
title : (21)02:29:20:993
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR
1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
BPS : 24726789
BPS-eng : 24726789
DURATION : 02:29:20.535000000
DURATION-eng : 02:29:20.535000000
NUMBER_OF_FRAMES: 214838
NUMBER_OF_FRAMES-eng: 214838
NUMBER_OF_BYTES : 27695658031
NUMBER_OF_BYTES-eng: 27695658031
_STATISTICS_WRITING_APP: DVDFab 11.0.1.0
_STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0
_STATISTICS_WRITING_DATE_UTC: 2019-12-06 15:10:41
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-06 15:10:41
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit)
(default)
Metadata:
BPS : 4900993
BPS-eng : 4900993
DURATION : 02:29:21.238000000
DURATION-eng : 02:29:21.238000000
NUMBER_OF_FRAMES: 840116
NUMBER_OF_FRAMES-eng: 840116
NUMBER_OF_BYTES : 5489870696
NUMBER_OF_BYTES-eng: 5489870696
_STATISTICS_WRITING_APP: DVDFab 11.0.1.0
_STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0
_STATISTICS_WRITING_DATE_UTC: 2019-12-06 15:10:41
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-06 15:10:41
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 320 kb/s
Metadata:
BPS : 320000
BPS-eng : 320000
DURATION : 02:29:21.216000000
DURATION-eng : 02:29:21.216000000
NUMBER_OF_FRAMES: 280038
NUMBER_OF_FRAMES-eng: 280038
NUMBER_OF_BYTES : 358448640
NUMBER_OF_BYTES-eng: 358448640
_STATISTICS_WRITING_APP: DVDFab 11.0.1.0
_STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0
_STATISTICS_WRITING_DATE_UTC: 2019-12-06 15:10:41
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-06 15:10:41
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3(fra): Audio: eac3, 48000 Hz, 5.1, fltp
Metadata:
BPS : 896000
BPS-eng : 896000
DURATION : 02:29:21.216000000
DURATION-eng : 02:29:21.216000000
NUMBER_OF_FRAMES: 280038
NUMBER_OF_FRAMES-eng: 280038
NUMBER_OF_BYTES : 1003656192
NUMBER_OF_BYTES-eng: 1003656192
_STATISTICS_WRITING_APP: DVDFab 11.0.1.0
_STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0
_STATISTICS_WRITING_DATE_UTC: 2019-12-06 15:10:41
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-06 15:10:41
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:4(deu): Audio: eac3, 48000 Hz, 5.1, fltp
Metadata:
BPS : 896000
BPS-eng : 896000
DURATION : 02:29:21.216000000
DURATION-eng : 02:29:21.216000000
NUMBER_OF_FRAMES: 280038
NUMBER_OF_FRAMES-eng: 280038
NUMBER_OF_BYTES : 1003656192
NUMBER_OF_BYTES-eng: 1003656192
_STATISTICS_WRITING_APP: DVDFab 11.0.1.0
_STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0
_STATISTICS_WRITING_DATE_UTC: 2019-12-06 15:10:41
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-06 15:10:41
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:5(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
BPS : 192000
BPS-eng : 192000
DURATION : 02:29:21.216000000
DURATION-eng : 02:29:21.216000000
NUMBER_OF_FRAMES: 280038
NUMBER_OF_FRAMES-eng: 280038
NUMBER_OF_BYTES : 215069184
NUMBER_OF_BYTES-eng: 215069184
_STATISTICS_WRITING_APP: DVDFab 11.0.1.0
_STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0
_STATISTICS_WRITING_DATE_UTC: 2019-12-06 15:10:41
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-06 15:10:41
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (dts (dca) -> alac (native))
Press [q] to stop, [?] for help
[alac @ 00000000001684c0] Specified channel layout '7.1' is not supported
Error initializing output stream 0:1 -- Error while opening encoder for
output stream #0:1 - maybe incorrect parameters such as bit_rate, rate,
width or height
Conversion failed!
6 channels are no problem.
ALAC should support more than 6 channels but ffmpeg does with ALAC?
Best
Felix
More information about the ffmpeg-user
mailing list