February 20, 2015 · General ·

Sponsored Link
FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation.

It contains libavcodec, libavutil, libavformat, libavfilter, libavdevice, libswscale and libswresample which can be used by applications. As well as ffmpeg, ffserver, ffplay and ffprobe which can be used by end users for transcoding, streaming and playing.

Install FFmpeg on Ubuntu 14.10

Open the terminal and run the following commands

sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next
sudo apt-get update
sudo apt-get install ffmpeg

Using ffmpeg

Syntax

ffmpeg [[infile options][-i infile]]... {[outfile options] outfile}...

FFmpeg Examples

To set the video bitrate of the output file to 64 kbit/s

ffmpeg -i input.avi -b:v 64k -bufsize 64k output.avi

To force the frame rate of the output file to 24 fps

ffmpeg -i input.avi -r 24 output.avi

To force the frame rate of the input file (valid for raw formats only) to 1 fps and the frame rate of the output file to 24 fps

ffmpeg -r 1 -i input.m2v -r 24 output.avi

The format option may be needed for raw input files.

For more details about FFmpeg check ffmpeg documentation page

Sponsored Link

Leave a Reply

  • Recent comments