我使用 MakeMKV 从 BDMV 中提取了一个 mkv 文件,使用此配置。我只保留主音频文件。
输出 mkv 具有以下轨道:
封面上写着 2.0 立体声,怎么会是 5.0?bluray.com 也确认我的光盘有 2.0 DTS MA 音轨。
当我尝试将其转换为 Opus 时,使用此命令
ffmpeg -i title00.mka -acodec libopus -b:a 510000 out.opus
它给了我一个频道映射错误:
Metadata: title : Surround 5.0 BPS-eng : 1664621 DURATION-eng : 01:33:59.039995008 NUMBER_OF_FRAMES-eng: 528660 NUMBER_OF_BYTES-eng: 1173358176 _STATISTICS_WRITING_APP-eng: mkvmerge v27.0.0 ('Metropolis') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2018-10-12 08:39:46 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES File 'out.opus' already exists. Overwrite ? [y/N] y Stream mapping: Stream #0:0 -> #0:0 (dts (dca) -> opus (libopus)) Press [q] to stop, [?] for help [libopus @ 0x7fc1f8026600] Invalid channel layout 5.0(side) for specified mapping family -1. Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Conversion failed!
我如何才能正确提取音轨并将其转换为 2.0 Opus?谢谢!