From MultimediaWiki
Revision as of 07:09, 27 March 2008 by Gamester17 (talk | contribs)
Jump to navigation Jump to search

Until libavfilter is fully incorporated into FFmpeg, you may get the complete libavfilter source from GSoC SVN repository:

svn checkout svn://

Please read its README to discover how to integrate libavfilter into ffmpeg and ffplay.

Reasons why a filter API is needed in FFmpeg

FFmpeg's already well-known libavcodec module has become the de facto standard library for video decoding and encoding in free software projects. Unfortunately, no similar standard library has surfaced for audio/video filtering and otherwise working with audio/video stream once it has been decoded. Various multimedia projects (such as MPlayer, Xine, GStreamer, VirtualDub, etc.) have implemented their own filter systems to various degrees of success. What is needed is a high quality audio and video filter API - efficient, flexible enough to meet all the requirements which have led various projects to invent their own filter system, and yet easy to use or develop new filters with. This proposal is to implement a high quality video API and filter library for FFmpeg, where it can be easily used by other multimedia-related software projects.

Issues that have to be fixed before adding to main tree

  • no frame rate estimation is supported (see post in -soc [1])
  • a padding filter is lacking (see [2]) -- Updated: vdmsss is working on it
  • make ffmpeg.c honor the aspect ratio outputted by the filter chain (thanks vdmsss for the bug report) -- Updated: probably fixed, but maybe not printing the right PAR in the terminal

Feature wish list

Warning: This is not an official wish list. Before implementing any one of these items, ask first in the ffmpeg-devel mailing-list.

Past discussions on the topic

Threads with previous discussions in the subject:


A'rpi (has expressed interest of possibly helping with implementing a filter API in FFmpeg, he also volunteering to help porting the MPlayer filters too if a such API becomes available

See also