On Fri, Apr 17, 2020 at 03:33:55 -0500, kaled wrote: > thank you both and thanks for the code Moritz > I tried the following > > ffmpeg -i x.mkv -map 0:0 -map 0:2 -map 0:1 -map 0:3 -c:v copy -c:a:2 copy > -bsf:a:2 dca_core -c:a:1 copy -c:s copy output.mkv > > and it converts the dts audio track to vorbis
The bitstream filters operate on the output side, and count the outgoing streams, and count from 0. As you only have two audio streams, "-bsf:a:2" doesn't match either (they are indexed 0 and 1). ffmpeg doesn't seem to complain about undefined stream specifiers. Little hint: You can provide a "global" codec - just use "-c copy". It will apply to all streams, and can be overridden for individual ones, (which is not your use case though). I think you need: $ 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 always on this list, it is *much* more helpful and polite if you provide the actual command line used and its complete, uncut console output. It provides lots of useful information for analyzing issues. Cheers, Moritz _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
