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/03/04 21:40] Wulf Rajekhowto:merge-video [2025/04/03 23:58] (current) Wulf Rajek
Line 1: Line 1:
 ====== Merge/Combine/Join Video ====== ====== Merge/Combine/Join Video ======
 +
 +GUI tool for mkv files. Older version is in default debian/ubuntu repositories, but latest can be installed in Mint using, afterwards associate mkv files with mktoolnix:
 +<code>
 +sudo wget -O /usr/share/keyrings/gpg-pub-moritzbunkus.gpg https://mkvtoolnix.download/gpg-pub-moritzbunkus.gpg
 +cat <<EOF | sudo tee /etc/apt/sources.list.d/mkvtoolnix.list
 +deb [arch=amd64 signed-by=/usr/share/keyrings/gpg-pub-moritzbunkus.gpg] https://mkvtoolnix.download/linuxmint/ vanessa main
 +deb-src [arch=amd64 signed-by=/usr/share/keyrings/gpg-pub-moritzbunkus.gpg] https://mkvtoolnix.download/linuxmint/ vanessa main
 +EOF
 +sudo apt update
 +sudo apt install mkvtoolnix mkvtoolnix-gui
 +</code>
 +
 +{{:howto:pasted:20241124-224334.png}}
 +
  
 MPG/MPEG files: MPG/MPEG files:
Line 226: Line 240:
 ffmpeg -i input.ass input.srt ffmpeg -i input.ass input.srt
 </code> </code>
 +
 +Remove audio from a video file:
 +<code>
 +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
 +</code>
 +
 +
howto/merge-video.1709588412.txt.gz · Last modified: 2024/03/04 21:40 by Wulf Rajek