FFMPEG-将DTS -Audio转换为AC3 - 但请保留原始视频和音频文件
“ https://ffmpeg.org/ffmpeg.html”上理解文档。
我很难在
到目前为止
C:\ffmpeg\bin\ffmpeg.exe -i File.mkv -map 0 -vcodec copy -scodec copy -acodec ac3 -b:a 640k File.mkv
i am having trouble to understand the documentation on FFMPEG-Website
Can you please help me out?
So far i got an working command for converting the DTS to AC3 but overwrite the original DTS
C:\ffmpeg\bin\ffmpeg.exe -i File.mkv -map 0 -vcodec copy -scodec copy -acodec ac3 -b:a 640k File.mkv
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要两次映射音频流并指定需要重新编码的哪个音频流:
使用
-C复制
产生最紧凑的CLI命令,但会产生可忽略的警告:如果这困扰您,您可以指定每个相反:
上面的所有内容都假定要先呈现原始音频流。如果要交换其订单,只需交换
a:0
和a:1
到处都是。You need to map the audio stream twice and specify which audio stream needs to be reencoded:
Using
-c copy
yields the most compact cli command but produces an ignorable warning:If this bothers you, you can specify each separately instead:
All above assume that the original audio stream to be presented first. If you want to swap their order, just swap
a:0
anda:1
everywhere.