Download - FFMPEG TOOLS
Multimedia Multimedia
NFM 2008NFM 2008
ToolsTools
What is FFmpeg ?What is FFmpeg ?
FFmpeg is a command line tool that is FFmpeg is a command line tool that is composed of a collection of free software / composed of a collection of free software / open source libraries.open source libraries.
FFmpeg can record, convert and stream digital FFmpeg can record, convert and stream digital audio and video in numerous formats.audio and video in numerous formats.
FFmpeg is developed under Linux, but it can FFmpeg is developed under Linux, but it can compiled under most operating systems, compiled under most operating systems, including Microsoft Windows Mac Osx.including Microsoft Windows Mac Osx.
LibrariesLibraries
LibavcodecLibavcodec
encoding and decoding video and audio dataencoding and decoding video and audio data
LibavformatLibavformat
audio/video container mux and demux library. audio/video container mux and demux library.
FF + MPEGFF + MPEG
MPEG – Moving Picture Experts GroupMPEG – Moving Picture Experts Group
"FF" for "fast forward"."FF" for "fast forward".
HistoryHistory
By Fabrice Bellard (using the By Fabrice Bellard (using the pseudonym “Gerard Lantau”)pseudonym “Gerard Lantau”)
in year 2000in year 2000
maintained by Michael Niedermayer.maintained by Michael Niedermayer.
Part of the MPlayer projectPart of the MPlayer project
Released under the GNU Lesser Released under the GNU Lesser General Public License OR GPLGeneral Public License OR GPL
Video Codecs on projectVideo Codecs on project
lossless FFV1lossless FFV1
FF video codec 1FF video codec 1
lossless intra-frame video formatlossless intra-frame video format
variable length coding or arithmetic coding for variable length coding or arithmetic coding for entropy coding.entropy coding.
lossy Snow codeclossy Snow codec
compress video either lossily or losslesslycompress video either lossily or losslessly
ComponentsComponents
FFmpeg - record, convert and stream digital FFmpeg - record, convert and stream digital audio and video in numerous formatsaudio and video in numerous formats
Ffserver - multimedia streaming server for live Ffserver - multimedia streaming server for live broadcasts also support time shift streaming.broadcasts also support time shift streaming.
Ffplay - simple media player based on Ffplay - simple media player based on SDL(Simple DirectMedia Layer)SDL(Simple DirectMedia Layer)
LibrariesLibraries
Libavcodec - containing all the FFmpeg audio/video Libavcodec - containing all the FFmpeg audio/video encoders and decodersencoders and decoders
Libavformat - containing demuxers and muxers for Libavformat - containing demuxers and muxers for audio/video container formats.audio/video container formats.
Libavutil - containing routines common to different parts of Libavutil - containing routines common to different parts of FfmpegFfmpeg
Libpostproc - containing video postprocessing routines.Libpostproc - containing video postprocessing routines.
Libswscale - containing video image scaling routines.Libswscale - containing video image scaling routines.
Libavfilter - substitute for vhook which allows the video to Libavfilter - substitute for vhook which allows the video to be modified or examined between the decoder and the be modified or examined between the decoder and the encoder.encoder.
CodecsCodecs
Codecs with the origin in the project:Codecs with the origin in the project:
* Snow
* FFV1
The FFmpeg developers have implemented The FFmpeg developers have implemented
ATRAC3 [Adaptive Transform Acoustic ATRAC3 [Adaptive Transform Acoustic Coding]Coding]
H.261, H.263 and H.264/MPEG-4 H.261, H.263 and H.264/MPEG-4 AVCAVC
Indeo 2 and 3Indeo 2 and 3
QDesign Music Codec 2, used by QDesign Music Codec 2, used by many QuickTime movies prior to many QuickTime movies prior to QuickTime 7.QuickTime 7.
Smacker video used in computer Smacker video used in computer gamesgames
Sorenson 3 Codec used by many Sorenson 3 Codec used by many QuickTime moviesQuickTime movies
Theora (together with Vorbis Theora (together with Vorbis makes a base for the .ogg format)makes a base for the .ogg format)
TruespeechTruespeech
TXDTXD
VP5 and VP6VP5 and VP6
VorbisVorbis
Windows Media AudioWindows Media Audio
Some Windows Media Video Some Windows Media Video codecs, including WMV1, WMV2 codecs, including WMV1, WMV2 and WMV3and WMV3
FormatsFormats
Ffmpeg supports numerous formats for Ffmpeg supports numerous formats for encoding and decoding encoding and decoding
ASF,AVI,FLV ,MPEG ASF,AVI,FLV ,MPEG audio,MPEG1,MPEG2,MPEG4,Smacker audio,MPEG1,MPEG2,MPEG4,Smacker ,WAV ,raw AC-3 ,PCM 8/16/32 ,WAV ,raw AC-3 ,PCM 8/16/32 bits,RealMedia,MOV/QuickTime ,Monkey's bits,RealMedia,MOV/QuickTime ,Monkey's Audio ,VOC....Audio ,VOC....
Image :- Y.U.V,animated GIF ,JPEG ,PCX Image :- Y.U.V,animated GIF ,JPEG ,PCX ,PNG,RAS ,Tga ,TIFF...,PNG,RAS ,Tga ,TIFF...
http://ffmpeg.mplayerhq.hu/general.htmlhttp://ffmpeg.mplayerhq.hu/general.html
ApplicationsApplications
VDR – Video Disc RecorderVDR – Video Disc Recorder
Mplayer – Media Player for LinuxMplayer – Media Player for Linux
Xine – Media Player in LinuxXine – Media Player in Linux
VideoLAN – Media Player and ConverterVideoLAN – Media Player and Converter
VDRVDR
computer to function as a digital video recordercomputer to function as a digital video recorder
record and replay TV programming using the record and replay TV programming using the computer's hard drivecomputer's hard drive
VDR can also operate as an mp3 player and VDR can also operate as an mp3 player and DVD playerDVD player
MplayerMplayer
Cross Platform Media PlayerCross Platform Media Player
Formats :- MPEG/VOB, AVI, Ogg/OGM, VIVO, Formats :- MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLV, YUV4MPEG filesMatroska, NUT, NuppelVideo, FLV, YUV4MPEG files
VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV , H.264 VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV , H.264 movies.movies.
Output Drivers:- X11, Xv, DGA, OpenGL, SVGAlib, Output Drivers:- X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, DirectFB,fbdev, AAlib, DirectFB,
http://www.mplayerhq.huhttp://www.mplayerhq.hu
Mplayer GUIMplayer GUI
Mplayer Varients..Mplayer Varients..
SmplayerSmplayer
QT MPlayer frontend for Microsoft Windows and QT MPlayer frontend for Microsoft Windows and GNU/LinuxGNU/Linux
KmplayerKmplayer
KDE MPlayer frontendKDE MPlayer frontend
KplayerKplayer
KDE MPlayer frontendKDE MPlayer frontend
GtkPlayerGtkPlayer
GTK widget embedding MPlayer to play movies.GTK widget embedding MPlayer to play movies.
XineXine
a free multimedia player.a free multimedia player.
plays back CDs, DVDs, and VCDs.plays back CDs, DVDs, and VCDs.
Decodes AVI, MOV, WMV, and MP3 Decodes AVI, MOV, WMV, and MP3
displays multimedia streamed over the Internetdisplays multimedia streamed over the Internet
http://xinehq.dehttp://xinehq.de
Xine PlatformsXine Platforms
* GNU/Linux (x86, alpha, sparc, ppc, ...)* GNU/Linux (x86, alpha, sparc, ppc, ...)
* FreeBSD (x86)* FreeBSD (x86)
* Solaris (sparc and x86)* Solaris (sparc and x86)
* Irix (mips)* Irix (mips)
* Darwin/MacOS X (ppc) via the fink project* Darwin/MacOS X (ppc) via the fink project
Xine Varients...Xine Varients...
XineXine
The Main project The Main project
GxineGxine
Gtk Frond End for XineGtk Frond End for Xine
Xine GuiXine Gui
Video LANVideo LAN
A free cross-platform media playerA free cross-platform media player
Formats:- Formats:- AVI,ASF / WMV / WMA,MP4 / MOV / 3GP,OGG / OGM / AVI,ASF / WMV / WMA,MP4 / MOV / 3GP,OGG / OGM / Annodex,Matroska (MKV),WAV,DTS, AAC, AC3/A52,FLAC,FLV,VOCAnnodex,Matroska (MKV),WAV,DTS, AAC, AC3/A52,FLAC,FLV,VOC
Plays :-DVD,VCD,SVCD,Audio Plays :-DVD,VCD,SVCD,Audio CD,DVB,MPEG,HTTP / FTP,MMSCD,DVB,MPEG,HTTP / FTP,MMS
used as a streaming server, with extended used as a streaming server, with extended features (video on demand, on the fly features (video on demand, on the fly transcoding, ...)transcoding, ...)
VLC GUIVLC GUI
VLMaVLMa
VideoLAN ManagerVideoLAN Manager
application to manage broadcasts of TV application to manage broadcasts of TV channels, received through digital terrestrial or channels, received through digital terrestrial or satellite wayssatellite ways
capable of streaming audio and video filescapable of streaming audio and video files
GNU General Public License like VLC media GNU General Public License like VLC media player.player.
Ffmpeg - PHPFfmpeg - PHP
object-oriented API for PHPobject-oriented API for PHP
retrieving information from video and audio filesretrieving information from video and audio files
frames from movie files as imagesframes from movie files as images
Used for automatically creating thumbnail Used for automatically creating thumbnail images from moviesimages from movies
reporting the duration and bitrate of audio files reporting the duration and bitrate of audio files
Ffmpeg CommandsFfmpeg Commands
Video and Audio grabbingVideo and Audio grabbingffmpeg f oss i /dev/dsp f video4linux2 i /dev/video0 /tmp/out.mpgffmpeg f oss i /dev/dsp f video4linux2 i /dev/video0 /tmp/out.mpg
Video and Audio file format conversionVideo and Audio file format conversionffmpeg i /tmp/test.mpg /tmp/out.aviffmpeg i /tmp/test.mpg /tmp/out.avi
several input files and output filesseveral input files and output filesffmpeg i /tmp/a.wav s 640x480 i /tmp/a.yuv /tmp/a.mpgffmpeg i /tmp/a.wav s 640x480 i /tmp/a.yuv /tmp/a.mpg
extract images from a videoextract images from a videoffmpeg i foo.avi r 1 s WxH f image2 foo%03d.jpegffmpeg i foo.avi r 1 s WxH f image2 foo%03d.jpeg
Video EditingVideo Editing
Ffmpeg uses video editing softwaresFfmpeg uses video editing softwares
KinoKino
ThanksThanks