Convert webm to mp4 using ffmpeg

Share this post on:

To convert videos from web to mp4 and decrease frame rates, we can use the command below:

ffmpeg -r 5 -i Videos/Screencasts/tutorial.webm -c:v libx264 -preset veryfast -c:a aac -vf "crop=trunc(iw/2)*2:trunc(ih/2)*2"  Desktop/tutorial.mp4

To install ffmpeg

sudo apt install ffmpeg


Share this post on:

Author: tayyebi

Tayyebi works in the role of Director at Gordarg where he is the founder. He is passionate about people, technology, and arts. Mohammad believes in communications, each of us has the power to empower their people with knowledge. He can be seen writing codes, playing music, biking, and reading.

View all posts by tayyebi >