Linux Tools – FFMPEG to Convert and Resize Video Files

FFMPEG allows you to easily convert and resize your video files.

Install FFMPEG

sudo apt-get install ffmpeg

Convert Video to Another Format

ffmpeg -i inputVideo.mp4

ffmpeg -i inputVideo.mp4 outputAudio.mp3

Change Video Size – Manually Input Width and Height

ffmpeg -i inputVideo.mp4 -vf scale=352:240 outputVideo.mp4 

Change Video Size – Keep Aspect Ratio

ffmpeg -i inputVideo.mp4 -vf scale=352:-1 outputVideo.mp4 

Be the first to comment

Leave a Reply