Divya
Joined: 14 Sep 2009 Posts: 36
|
Posted: Tue Feb 09, 2010 4:05 am Post subject: Use of FFMPEG |
|
|
-----------FFMPEG ------------------
FFmpeg is an open source recorder, converter and streamer of audio and video.It can also be given as, a computer program that can be used to record, convert and stream digital audio and video in numerous formats.
* FFmpeg is a command line tool that is given through a collection of free software / open source libraries.
* It includes libavcodec, an audio/video codec library used by several other projects, and libavformat, an audio/video container mux and demux library.
* The name comes from the MPEG video group, together with "FF" for "fast forward".So the name comes as FFMPEG.
* FFmpeg is developed under Linux, but it can be compiled under most operating systems, including Apple Inc. Mac OS X, Microsoft Windows.
* There are no releases. Instead, FFmpeg developers recommend using the latest Subversion snapshot.
* They support most existing file formats (AVI, MPEG, OGG, Matroska, ASF, …) and encoding formats (MPEG, DivX, MPEG4, AC3, DV, …).
To make use of this software we need to just install or download the package from
"http://www.ffmpeg.org/download.html"
Here i am going to tell, how to install FFMPEG on Ubuntu
Just we need to download and install the dependency packages for FFMPEG.
In you terminal just type the command
-- sudo apt-get install ffmpeg
or you can Check Out FFMPEG Source as
mkdir src
cd src
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg
After installing you can check the ffmpeg version as, You need to type in your terminal as
ffmpeg -version
Then you can see
FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-neon --disable-altivec --disable-vis --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Apr 10 2009 23:18:41, gcc: 4.3.3
FFmpeg 0.5-svn17737+3:0.svn20090303-1ubuntu6
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
So that after installing we can see some examples like
Video Examples:
* Converting MOV to FLV using FFMPEG
ffmpeg -i barsandtone.mov barsandtone.flv
This will convert barsandtone.mov file to barsandtone.flv
* Converting Mpeg to FLV using FFMPEG
ffmpeg -i barsandtone.mpeg barsandtone.flv
This will convert barsandtone.mpeg file to barsandtone.flv
* Converting AVI to FLV using FFMPEG
ffmpeg -i barsandtone.avi -s 500×500 barsandtone.flv
This will convert barsandtone.avi file to barsandtone.flv and will resize the video resolution to 500×500
* Converting 3GP to FLV using FFMPEG
ffmpeg -i barsandtone.3gp -sameq -an barsandtone.flv
This will convert barsandtone.3gp file to barsandtone.flv and will keep the original file settings and will disable the audio content
Audio Examples:
* Converting WMV to MP3 using FFMPEG
ffmpeg -i audio1.wmv audio1.mp3
This will convert audio1.wmv file to audio1.mp3
* Converting WMV to FLV using FFMPEG
ffmpeg -i audio1.wmv audio1.flv
This will convert audio1.wmv file to audio1.flv, this will generate only audio content
So we can use the different conversions of using thes ffmpeg software.
If we want to see the different formats that are supported for this conversion of video and audio are, by running the command in your terminal as
ffmpeg -formats
Then you can see the different formats that will support .
So that we can see different types of video and audio conversions as simple through using this ffmpeg software.
Thank you,
Divya |
|