How to Losslessly merge MP4 and SRT into MKV (MKVToolNix GUI) - YouTube. Download MKVToolNix GUI https://www.videohelp.com/software/MKVToolNix.
- It suports MPEG-4 ASP (xvid), MPEG-4 AVC (x264), AAC, MP2, MP3, Flac, Vorbis, AC3 audio and various common containers support (MP4, MKV, AVI, M2TS). Top Searches mkvtoolnix.
- Alternatively, go from MP4+SRT to MKV with mkvtoolnix. If you aren't opposed to MKV containers, then there is no reason you can't just take the input mp4 and separate subtitle file and mux all the streams into a new MKV file instead. This would also keep the SRT as an SRT and not transcode it into movtext.
- Mkv 에서 mp4 로 변환하고자 하는 파일을 상단 바에 있는 ad files 나 add folder 를 눌러 찾아 선택해줍니다. 정상적으로 mkv 파일이 첨부가 되면 아래의 사진처럼 추가가 되는데요.
News
More Matroska related news can be found in my blog.
2021
- 2021-04-22: Added binaries for Ubuntu 21.04 'Hirsute Hippo'.
- 2021-04-09: Released 56.1.0 (NEWS.md).
- 2021-04-05: Released 56.0.0 (NEWS.md).
- 2021-03-24: MKVToolNix for Windows is now available from the Microsoft Store.
- 2021-03-13: Added a section to the 'downloads' page for a Docker image.
- 2021-03-06: Released 55.0.0 (NEWS.md).
- 2021-02-28: Re-added packages for CentOS 8.
- 2021-02-26: Released 54.0.0 (NEWS.md).
- 2021-02-19: Dropped support for Ubuntu 18.04 'Bionic Beaver' & 19.10 'Eoan Ermire '.
- 2021-01-30: Released v53.0.0 (NEWS.md).
- 2021-01-04: Released v52.0.0 (NEWS.md).
- 2021-01-04: Dropped support for CentOS due to the recent change in the project's direction.
2020
- 2020-10-22: Added binaries for Ubuntu 20.10 'Groovy Gorilla'.
- 2020-10-04: Released v51.0.0 (NEWS.md).
- 2020-09-06: Released v50.0.0 (NEWS.md).
- 2020-08-02: Released v49.0.0 (NEWS.md).
- 2020-06-27: Released v48.0.0 (NEWS.md).
- 2020-06-09: Added binaries for Raspberry Pi OS.
- 2020-05-30: Released v47.0.0 (NEWS.md).
- 2020-05-01: Added binaries for Fedora 32 and Ubuntu 20.04 'Focal Fossa' (64-bit only).
- 2020-05-01: Released v46.0.0 (NEWS.md).
I streamed a few DJ sets over the last few weeks with a bunch of friends as part of ‘covidcore’, an online get-together while we’re all in isolation. It’s been a while since I’ve played any DJ sets but it was great fun and thankfully I didn’t make too many mistakes.
Anyway, It was my first streaming experience and I found it a breeze to set up thanks to Twitch and OBS. When reviewing my recordings I noticed that my microphone level was pretty low so I decided to bust out the audio track from the video and raise it. Also when uploading my video to Youtube I also got a copyright notice about one the clips in my video which was subsequently being blocked, so I decided to edit that out too.
Here is how you can do it.
Note: I’m on a mac so all of the instructions are for that, but apart from installation the rest should be platform agnostic.
Steps
Mkvtoolnix Convert To Mp4
- Install mkvtoolnix
- Extract audio and video tracks from mkv file
- Optionally convert audio track if editing needed
- Merge audio and video tracks back in to mkv file
Install mkvtoolnix
mkvtoolnix is a set of command line programs for finding out information and modifying mkv (“Matroska”) files. You can install it with a GUI but I didn’t bother.
That’s it, boom!
Extract audio and video tracks from mkv file
For this step we are going to run this command
In the above command we are using mkvextract, part of mkvtoolnix, to extract the video track which is encoded using the ‘h264’ codec and also the audio track which is encoded using the AAC codec.
In order to find out what your video and audio tracks were encoded with use the following tool
Might be good to reference the docs if you have trouble there.
Optionally convert audio track if editing needed
My audio editor couldn’t open the aac file I created so I converted it to FLAC format using ffmpeg, another command line program that is insanely useful for converting audio formats (amongst other things).
So to convert I ran
Now I can open my flac file and edit the parts I want, like amplifying my microphone in the recording.
Mkvtoolnix Merge Mkv
Merge audio and video tracks back in to mkv file
Convert Mkv To Mp4 Using Mkvtoolnix
Right, now you have completed your editing we can stitch them back together again using the mkvmerge command
Mp4 Toolnix
You can see I just merged the flac formatted audio back in. I just tried it and it worked. I need to read up a bit more on file formats to be honest so if you need more info check the docs.
Mkvtoolnix Windows
Hope that helps someone :)
Comments are closed.