Quantcast
Viewing all articles
Browse latest Browse all 10

How to Reduce Video Size in Ubuntu

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec – the leading audio/video codec library. See the documentation for a complete feature list.

To install FFmpeg on your Ubuntu machine, you need to hit the terminal and type:

$ sudo apt-get install ffmpeg

Once installed, change the directory to the location where the video files are located. Then using the ffmpeg command:

$ ffmpeg -i brymayor_video.avi -ab 56k -ar 22050 -b 300k -r 15 -s 480x360 brymayor_new_video.flv

Replace brymayor_video.avi with the filename you want to convert and its format and replace the output filename brymayor_new_video.flv with your desired output filename and format.

You can replace 480×360 in the code with 320×240 as well if you want to reduce it further. FFmpeg accepts the following video formats: VOB, AVI, MPEG, FLV, DIVD-X, mp4, etc. For a complete list of parameters and formats, navigate to FFmpeg documentation.

 

Always think twice before hitting the Enter key…

 

The post How to Reduce Video Size in Ubuntu appeared first on BryMayor.com.


Viewing all articles
Browse latest Browse all 10

Trending Articles