ffmpeg -i 1.webm 1.mp4 command on terminal

4 easy steps to convert a WebM to MP4 on a Linux machine

WebM is a video file extension that is html5 compatible means it can be executed anywhere on the internet very smoothly, and it is in compressed video format. It is not great, but it is good enough to use on the Internet. But we all want excellent video quality like mp4, AVI, HD, hd+. Hence, we all want to convert this WebM to MP4 on a Linux machine.

But we all want excellent video quality like mp4, AVI, HD, hd+.

Hence, we all want to convert this WebM to MP4 on a Linux machine.

Step to convert WebM to MP4 on a Linux machine:

  1. To get the current app update on the Linux: Open the terminal and run “sudo apt-get update”
  2. Installation of ffmpeg library: Run the command “sudo apt-get install ffmpeg” this command will install the required libraries.
  3. First, we need to go into the directory like my videos are in the Video directory of my system that I want to convert from WebM to MP4 format. So I change the directory by running the command: “cd Video/” 
  4. To convert video from WebM to MP4: “ffmpeg -i input_filename.WebM output_filename.MP4” will start the process and take some time depending upon the machine’s power.

That’s it! Now you can try to convert your videos to some other video format similarly by running the command you learned from here. 

Note: Never forget Linux command terminal is case-sensitive. If you don’t consider this, you will end up with an error.

Thank you for connecting with GeekBaniya. 

See you soon!

1 thought on “4 easy steps to convert a WebM to MP4 on a Linux machine”

  1. Pingback: How to convert a WebM file to MP4 in 4 easy ste...

Leave a Comment

Your email address will not be published. Required fields are marked *