

The following command will resize the video to a size you want: ffmpeg -i example-video.mp4 -vf scale1920:1080 output-scale. Sometimes you also need to change the scale of the video. Open a new terminal ( CTRL+ALT+T) and then run the following commands. Install FFmpeg on Ubuntu and Linux Mint I will install FFmpeg from the default repositories. Read -p 'Can I start reducing the file size of "input.mp4"? ' -rįfmpeg -i input.mp4 -c:v libx264 -crf 10 -preset veryslow -c:a copy Output-less-file-size. Editing videos doesn't end with just trimming and cutting. Let’s start with the installation of the FFmpeg framework in Ubuntu-based distributions. If [ " $(dpkg-query -W -f= '$ " -vcodec copy -acodec copy Output-Cut-Video.mp4Įcho ' _ 'Įcho '" |_| |_|_|\_||_/_/_\_| " 'Įcho '"_" 'Įcho "Here you can reduce your file size up to 10x with minimal quality loss. PPA stands for Personal Package Archives which are supported by the Ubuntu community. We will install FFmpeg from the mc3man ppa. #This checks if ffmpeg is installed and if it isnt then it installs it How to Install FFmpeg on Ubuntu Installing FFmpeg 4 the latest version on Ubuntu 14.x and above is easy.
