FFmpeg command

by satheeshkumar 2014-04-17 12:43:18

FFmpeg command in linux,

FFmpeg is a command , used for cross-platform solution to record, convert and stream audio and video files. It includes libavcodec - the leading audio/video codec library.

Install ffmpef using the following command for linux users,

yum install ffmpeg


Example Code to create sample video using ffmpeg command,


ffmpeg -i img.png -s 320x240 -b 512k -ab 128k -acodec libmp3lame -ar 22050 -f flv video.flv


The above code will generate the video file with the name 'video.flv'.

Note : You need to install ffmpeg in local machine to generate video or audio files.

Tagged in:

1524
like
0
dislike
0
mail
flag

You must LOGIN to add comments