ffmpeg:remove_video_audio_streams_by_type
Table of Contents
ffmpeg - Remove video/audio streams by type
Streams can be removed by type.
Example - remove the second video stream
-map -0:v:1
Example - remove the second audio stream
-map -0:a:1
Example - remove the second subtitle stream
-map -0:s:1
NOTE: These commands can be used together to do them all at once:
ffmpeg -i "input.mkv" -map 0 -map -0:v:1 -map -0:a:1 -map -0:s:1 -c copy "output.mkv"
ffmpeg/remove_video_audio_streams_by_type.txt · Last modified: 2023/06/13 10:37 by peter