I try to multiplex the video track and one audio track from the same mkv file
I used following command:
mkvmerge -o output.mkv -d 0 Video.mkv -a 1 Video.mkv
But every track also mix in together, I only want track 0 and Track 1 though
The official document says -d means selected video track, -a means selected audio track
Is there any lines I am not entering correctly here ?
+ Reply to Thread
Results 1 to 5 of 5
-
Last edited by khv742; 10th Sep 2021 at 23:16.
-
Why not use the latest version of MKVToolNix
SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851 -
I totally agree.
If you want to do it via the command line then these examples may help.
If you have other tracks in a video - subtitles, chapters, etc., then the track numbers will change.
You can get the track numbers using MediaInfo. Mostly.
If the languages for the audio and subtitle tracks are undefined then it's trial and error to get the correct combination.
If you have 1 video with 3 audio tracks.
The video and audio track 1
Code:mkvmerge.exe --output Video-New.mkv --audio-tracks 1 Video-c.mkv --track-order 0:0,0:1
Code:mkvmerge.exe --output Video-New.mkv --audio-tracks 2 Video-c.mkv --track-order 0:0,0:2
Code:mkvmerge.exe --output Video-New.mkv --audio-tracks 3 Video-c.mkv --track-order 0:0,0:3
Code:mkvmerge.exe --output Video-New.mkv --no-audio Video-a.mp4 --no-video Video-b.mp4 --track-order 0:0,1:1
Code:mkvmerge.exe --output Video-New.mkv --audio-tracks 1 --language 1:en Video-c.mkv --track-order 0:0,0:1
Again, it's better to use MKVtoolnixGUI
Cheers -
I just tried your method, but it still mix in every tracks
I use command lines in Linux, I agree it's easier to do it in windows with mkvtoolnix gui
Similar Threads
-
purpose of multiplexing a multimedia mp4 file with MKVToolNix GUI?
By blanc in forum Newbie / General discussionsReplies: 2Last Post: 19th Aug 2021, 10:25 -
MKVToolNix audio problem after multiplexing
By Master Tape in forum Video ConversionReplies: 3Last Post: 5th May 2021, 05:41 -
mkvtoolnix and displaying subtitles after multiplexing
By Ursula Wiese in forum SubtitleReplies: 4Last Post: 3rd Mar 2020, 19:03 -
Video is muted after multiplexing with Opus audio
By TeNSoR in forum AudioReplies: 9Last Post: 15th Jul 2018, 16:04 -
74HC595 +TLC5940 multiplexing 128 leds -> not enough power
By mozobata in forum Newbie / General discussionsReplies: 6Last Post: 8th Jul 2017, 13:50