FFmpeg – record, convert and stream audio and video

FFmpeg is a hyper fast real time audio/video encoder, a streaming server and a generic audio and video file converter. It is a command line tool that is composed of 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.

It can grab from a standard Video4Linux video source and convert it into several file formats based on DCT/motion compensation encoding. Sound is compressed in MPEG audio layer 2 or using an AC3 compatible stream.

The command line interface is designed to be intuitive, in the sense that FFmpeg tries to figure out all parameters that can possibly be derived automatically. You usually only have to specify the target bitrate you want.

FFmpeg can also convert from any sample rate to any other, and resize video on the fly with a high quality polyphase filter.

The FFmpeg project consists of two main parts: FFmpeg, which encodes and decodes the multimedia streams, and FFserver, which provides streams via HTTP for various multimedia clients. FFMpeg is completely portable since it does not rely on proprietary DLLs. Other components of the project include ffplay (a simple media player), and various libraries.

Features include:

  • Grabs video and audio.
  • Can also grab the X11 display.
  • Convert from one audio and video format to another format in real time.
  • FFserver:
    • Streams several formats at several bit rates and resolutions simultaneously.
    • Handles thousands of concurrent users.
    • Uses the HTTP protocol to be compatible with all major players including Icecast (aka mpg123, xmms, winamp), MTV (to play streaming MPEG video and audio), “Real” compatible players and Windows Media Player.
    • Allows time shifting of live streams.
    • One FFserver instance can stream from multiple live encoding sources and/or multiple static files.
  • FFprobe tool.
  • VorbisComment writing for FLAC, Ogg FLAC and Ogg Speex files.

Website: ffmpeg.org
Support: Documentation
Developer: FFmpeg team
License: GNU GPL v2

FFmpeg

FFmpeg is written in C and Assembly. Learn C with our recommended free books and free tutorials. Learn Assembly with our recommended free books and free tutorials.

Return to Video Home Page | Return to Console Multimedia Home Page | Return to Video Converters Home Page | Return to Screencasting Home Page


Ongoing series
Linux for StartersNew to Linux? Read our Linux for Starters series.
Free and Open Source SoftwareThe largest compilation of the best free and open source software in the universe. Supplied with our legendary ratings charts.
Linux ReviewsHundreds of in-depth reviews offering our unbiased and expert opinion on software.
Alternatives to GoogleAlternatives to Google's Products and Services examines your options to migrate from the Google ecosystem with open source Linux alternatives.
MicrosoftAlternatives to Microsoft's Products and Services recommends open source Linux software.
Linux System ToolsEssential Linux system tools looks at small, indispensable utilities, useful for system administrators as well as regular users.
Linux ProductivityLinux utilities to maximise your productivity. Small, indispensable tools, useful for anyone running a Linux machine.
Home Computer EmulatorsHome computers became commonplace in the 1980s. Emulate home computers including the Commodore 64, Amiga, Atari ST, ZX81, Amstrad CPC, and ZX Spectrum.
Now and ThenNow and Then examines how promising open source software fared over the years.
Linux at HomeLinux at Home looks at a range of home activities where Linux can play its part, making the most of our time at home, keeping active and engaged.
Linux CandyLinux Candy opens up to the lighter side of Linux. Have some fun!
Best Free Android AppsBest Free Android Apps. There's a strict eligibility criteria for inclusion in this series
Programming BooksThese best free books accelerate your learning of every programming language
Programming TutorialsThese free tutorials offer the perfect tonic to the free programming books series
Stars and StripesStars and Stripes is an occasional series looking at the impact of Linux in the USA
Share this article

2 comments

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.