View Single Post
Old 03.10.2019, 10:50
Tom Tom is offline
Giga Loader
Join Date: Jun 2018
Posts: 90

i have two feature request for my script.

-only convert audio stream with language ger

ffprobe example:
Stream #0:1(ger): Audio: dts
Stream #0:2(eng): Audio: dts
Stream #0:3(eng): Audio: ac3

-remove all other audio streams except ger one:
ffmpeg -i input -map 0 -map -0:a:2 -c copy output
-map 0 selects all streams from the input.
-map -0:a:2 then deselects audio stream 3. The stream index starts counting from 0, so audio stream 10 would be 0:a:9.

maybe this information helps you.

thx in advance!

Last edited by Tom; 03.10.2019 at 10:53.
Reply With Quote