Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.


ffmpeg tools introduction and linux media players used ffmple player

  • Login to see the comments


  1. 1. Multimedia Tools NFM 2008
  2. 2. What is FFmpeg ? FFmpeg is a command line tool that is composed of a collection of free software / open source libraries. FFmpeg can record, convert and stream digital audio and video in numerous formats. FFmpeg is developed under Linux, but it can compiled under most operating systems, including Microsoft Windows Mac Osx.
  3. 3. Libraries Libavcodec encoding and decoding video and audio data Libavformat audio/video container mux and demux library.
  4. 4. FF + MPEG MPEG – Moving Picture Experts Group "FF" for "fast forward".
  5. 5. History By Fabrice Bellard (using the pseudonym “Gerard Lantau”) in year 2000 maintained by Michael Niedermayer. Part of the MPlayer project Released under the GNU Lesser General Public License OR GPL
  6. 6. Video Codecs on project lossless FFV1 FF video codec 1 lossless intra-frame video format variable length coding or arithmetic coding for entropy coding. lossy Snow codec compress video either lossily or losslessly
  7. 7. Components FFmpeg - record, convert and stream digital audio and video in numerous formats Ffserver - multimedia streaming server for live broadcasts also support time shift streaming. Ffplay - simple media player based on SDL(Simple DirectMedia Layer)
  8. 8. Libraries Libavcodec - containing all the FFmpeg audio/video encoders and decoders Libavformat - containing demuxers and muxers for audio/video container formats. Libavutil - containing routines common to different parts of Ffmpeg Libpostproc - containing video postprocessing routines. Libswscale - containing video image scaling routines. Libavfilter - substitute for vhook which allows the video to be modified or examined between the decoder and the encoder.
  9. 9. Codecs Codecs with the origin in the project: Sorenson 3 Codec used by many QuickTime movies * Snow * FFV1 Theora (together with Vorbis makes a base for the .ogg format) The FFmpeg developers have implemented Truespeech ATRAC3 [Adaptive Transform Acoustic Coding] TXD H.261, H.263 and H.264/MPEG-4 VP5 and VP6 AVC Vorbis Indeo 2 and 3 Windows Media Audio QDesign Music Codec 2, used by many QuickTime movies prior to Some Windows Media Video QuickTime 7. codecs, including WMV1, WMV2 Smacker video used in computer and WMV3 games
  10. 10. Formats Ffmpeg supports numerous formats for encoding and decoding ASF,AVI,FLV ,MPEG audio,MPEG1,MPEG2,MPEG4,Smacker ,WAV ,raw AC-3 ,PCM 8/16/32 bits,RealMedia,MOV/QuickTime ,Monkey's Audio ,VOC.... Image :- Y.U.V,animated GIF ,JPEG ,PCX ,PNG,RAS ,Tga ,TIFF...
  11. 11. Applications VDR – Video Disc Recorder Mplayer – Media Player for Linux Xine – Media Player in Linux VideoLAN – Media Player and Converter
  12. 12. VDR computer to function as a digital video recorder record and replay TV programming using the computer's hard drive VDR can also operate as an mp3 player and DVD player
  13. 13. Mplayer Cross Platform Media Player Formats :- MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLV, YUV4MPEG files VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV , H.264 movies. Output Drivers:- X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, DirectFB,
  14. 14. Mplayer GUI
  15. 15. Mplayer Varients.. Smplayer QT MPlayer frontend for Microsoft Windows and GNU/Linux Kmplayer KDE MPlayer frontend Kplayer KDE MPlayer frontend GtkPlayer GTK widget embedding MPlayer to play movies.
  16. 16. Xine a free multimedia player. plays back CDs, DVDs, and VCDs. Decodes AVI, MOV, WMV, and MP3 displays multimedia streamed over the Internet
  17. 17. Xine Platforms * GNU/Linux (x86, alpha, sparc, ppc, ...) * FreeBSD (x86) * Solaris (sparc and x86) * Irix (mips) * Darwin/MacOS X (ppc) via the fink project
  18. 18. Xine Varients... Xine The Main project Gxine Gtk Frond End for Xine
  19. 19. Xine Gui
  20. 20. Video LAN A free cross-platform media player Formats:- AVI,ASF / WMV / WMA,MP4 / MOV / 3GP,OGG / OGM / Annodex,Matroska (MKV),WAV,DTS, AAC, AC3/A52,FLAC,FLV,VOC Plays :-DVD,VCD,SVCD,Audio CD,DVB,MPEG,HTTP / FTP,MMS used as a streaming server, with extended features (video on demand, on the fly transcoding, ...)
  21. 21. VLC GUI
  22. 22. VLMa VideoLAN Manager application to manage broadcasts of TV channels, received through digital terrestrial or satellite ways capable of streaming audio and video files GNU General Public License like VLC media player.
  23. 23. Ffmpeg - PHP object-oriented API for PHP retrieving information from video and audio files frames from movie files as images Used for automatically creating thumbnail images from movies reporting the duration and bitrate of audio files
  24. 24. Ffmpeg Commands Video and Audio grabbing ffmpeg ­f oss ­i /dev/dsp ­f video4linux2 ­i /dev/video0 /tmp/out.mpg Video and Audio file format conversion ffmpeg ­i /tmp/test.mpg /tmp/out.avi several input files and output files ffmpeg ­i /tmp/a.wav ­s 640x480 ­i /tmp/a.yuv /tmp/a.mpg extract images from a video ffmpeg ­i foo.avi ­r 1 ­s WxH ­f image2 foo­%03d.jpeg
  25. 25. Video Editing Ffmpeg uses video editing softwares Kino
  26. 26. Thanks