Ubuntu Video convert

Recently I received video from my colleague taken from his iPhone. I wanted to attach it to our Jira, but …. it had over 200MB ( just few second video ). So I’ve started to look up for some conversion …

After quick googling I’ve found this article:


And found out, that converting in CLI is really simple So in case you have not installed libmp3lame0 then install it :

sudo apt-get install libmp3lame0

and then just convert your video like this

ffmpeg -i [intput file] [output file]

In case you want to convert in more precise way, you can use something similar to this

ffmpeg -i [input file] -f mp4 -vcodec libx264 -preset fast -profile:v main -acodec [output file]

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.