![ffmpeg 是否可以在不重新编码的情况下选择音频通道](https://linux22.com/image/1585456/ffmpeg%20%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E5%9C%A8%E4%B8%8D%E9%87%8D%E6%96%B0%E7%BC%96%E7%A0%81%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%E9%80%89%E6%8B%A9%E9%9F%B3%E9%A2%91%E9%80%9A%E9%81%93.png)
我使用此命令尝试在不重新编码的情况下对音频文件进行混合,但频道选择尚未完成:
$ time ffmpeg -i input.aac -c:a copy -map_channel 0.0.0 -map_channel 0.0.0 output.aac -y
[aac @ 0x5655577ffcc0] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'input.aac':
Duration: 01:32:25.17, bitrate: 122 kb/s
Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 122 kb/s
Output #0, adts, to 'output.aac':
Metadata:
encoder : Lavf58.20.100
Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 122 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 82790kB time=01:54:51.61 bitrate= 98.4kbits/s speed= 973x
video:0kB audio:82790kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
real 0m7.302s
user 0m7.068s
sys 0m0.216s
你能帮我吗 ?
答案1
不可能。-map_channel
在后台调用平移过滤器。