ubuntu:video:ffmpeg:remove_video_audio_streams_by_language
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:video:ffmpeg:remove_video_audio_streams_by_language [2023/06/06 19:44] – peter | ubuntu:video:ffmpeg:remove_video_audio_streams_by_language [2023/06/13 10:37] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - Video - ffmpeg - Remove video/audio streams by language ====== | ||
- | |||
- | Use the map command to remove streams from media files. | ||
- | |||
- | * The stream index begins at 0, so, for example, to remove the first stream in the file you would use -map -0:0, to remove the second stream you'd use -map -0:1: | ||
- | |||
- | <code bash> | ||
- | ffmpeg -i " | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | Streams can also be removed by type | ||
- | |||
- | For example, to remove the second video stream you'd use -map -0:v:1, to remove the second audio stream you'd use -map -0:a:1 and to remove the second subtitle stream you'd use -map -0:s:1. | ||
- | |||
- | You can use these commands together to do them all at once: | ||
- | |||
- | <code bash> | ||
- | ffmpeg -i " | ||
- | </ | ||
- | |||
- | You can automate this process on your files using the following Tdarr Plugins: | ||
- | |||
- | To remove subtitle streams: | ||
- | |||
- | <code bash> | ||
- | Tdarr_Plugin_x7ab_Remove_Subs | ||
- | </ | ||
- | |||
- | To remove audio streams based on language: | ||
- | |||
- | <code bash> | ||
- | Tdarr_Plugin_MC93_Migz3CleanAudio | ||
- | </ | ||
ubuntu/video/ffmpeg/remove_video_audio_streams_by_language.1686080648.txt.gz · Last modified: 2023/06/06 19:44 by peter