First method in GUI with VLC.
To convert correctly we need two programms, VLC and ffmpeg.
Open a terminal and enter the line:
Code: Select all
sudo apt install vlc ffmpeg -y
Now we can open VLC:
Got to the Media Menu and select "converting/save":
Add your mkv file:
We need to choose the converting and output profile:
Go to the wrench for the advanced options, select the MP4/MOV encapsulation method:
Go to the video codec and select H264:
And the audio codec, select MPEG-4 Audio and 44100Hz sampling frequency:
Save your profile.
Now we can select the destrination for our file and start the converting, we can follow the progress bar:
The conversion will take some time depending on the size of your file, just be patient
When the task are ended VLC are still:
And at least we have a new file in mp4 output:
Second Method in CLI.
We need to open an termical window and add this line:
Code: Select all
ffmpeg -i path_to_my_mkv -strict -2 -r 44100 -codec copy my_file.mp4
Done!