User Tools

Site Tools


ffmpeg:remove_video_audio_streams_by_language

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ffmpeg:remove_video_audio_streams_by_language [2023/06/13 10:37] – created peterffmpeg:remove_video_audio_streams_by_language [2023/10/30 11:03] (current) peter
Line 7: Line 7:
 <code bash> <code bash>
 ffmpeg -i "input.mkv" -map 0 -map -0:1 -c copy "output.mkv" ffmpeg -i "input.mkv" -map 0 -map -0:1 -c copy "output.mkv"
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  The minus sign in front of the -0:1 is what counts as a removal.
 +
 +  * To retain that map, remove that minus sign, so it becomes 0:1.
 +
 +</WRAP>
 +
 +----
 +
 +===== Enhanced version to only keep English =====
 +
 +<code bash>
 +fmpeg -i "input.mkv" -map 0:0 -map 0:a:m:language:eng? -c copy -c:s copy -map 0:s:m:language:eng? -map 0:d? -map 0:t? "output.mkv"
 </code> </code>
  
 ---- ----
  
 +===== Tdarr Plugins =====
  
 You can automate this process on your files using the following Tdarr Plugins: You can automate this process on your files using the following Tdarr Plugins:
ffmpeg/remove_video_audio_streams_by_language.1686652655.txt.gz · Last modified: 2023/06/13 10:37 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki