User Tools

Site Tools


howto:merge-video

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howto:merge-video [2024/06/11 12:06] Wulf Rajekhowto:merge-video [2025/05/04 18:52] (current) Wulf Rajek
Line 12: Line 12:
 </code> </code>
  
 +{{:howto:pasted:20241124-224334.png}}
  
  
Line 243: Line 244:
 <code> <code>
 ffmpeg -i input_file -c copy -an output_file ffmpeg -i input_file -c copy -an output_file
 +
 +# remove all but a specific language audio streams
 +ffmpeg -i input_file -map 0 -map -0:a -map 0:a:m:language:fre -c copy output_file
 +# loop to remove all but turkish audio streams:
 +for f in *.mkv; do ffmpeg -hide_banner -i "$f" -map 0 -map -0:a -map 0:a:m:language:tur -c copy "${f%.*}.tur.mkv"; done
 +
 +
 </code> </code>
 +
 +
howto/merge-video.1718103969.txt.gz · Last modified: by Wulf Rajek