[FFmpeg-user] Copy across core DTS audio

Ted Park kumowoon1025 at gmail.com
Fri Apr 17 12:17:33 EEST 2020


> thank you again for taking the time to help me.  Also thanks for the useful
> tips.  This is steep learning curve to code for FFMPEG, but starting to
> understand the syntax now.  So I tried your solution and unfortunately I get
> the same error.  As you suggest, here is the full console output.
> I:\>ffmpeg -i x.mkv -map 0:0 -map 0:2 -map 0:1 -map 0:3 -c copy -bsf:a:1
> dca_core output.mkv

As Moritz mentioned, on output options the streams are indexed following order in output file, so after switching the two streams so dts comes first, it is the first (with index 0) audio stream. Hence the suggestion to use -bsf:a:0.

Ted Park

More information about the ffmpeg-user mailing list