This page will be used to discuss a 'standard' file format to describe video effects for Gstreamer based applications

In order to implement video effect in softwares which use Gstreamer, we should have a file format to describe effects for gstreamer (including the GSt pipeline, the name of the plugin, ...). It would be a good point to make it standard for the Gnome desktop in order to avoid code/effort duplication.

According to the discussion that already happened in the Cheese community, the files should be .ini type files

Various applications on the Gnome desktop permit or will permit to add effect to video using GStreamer, the goal of this discussion is to get to a standardized file format to describe those effects. Those files would be used by all application which are in this case (such as cheese, Pitivi, empathy....)

Exampe of what files should look like (this is an example but we are here to discuss it!)

Name=Black/White
BinDescription=ffmpegcolorspace ! videobalance saturation=0

Compositing Effects

Effects can be composited. Order will be retained.

Colorspace Detection

Colorspace of the effect will be automatically determined (by examining the caps), and it is the responsibility of the application to make sure that the effect is fed video in the proper colorspace.

¿Why not to add it directly in the file?

Effect type

The file needs to contain a type of effect, the two possible types are:

  • video
  • audio

Effect files directory

The effects files be placed in the following folders: XDG_DATA_DIR/gst-effects and XDG_DATA_HOME/gst-effects

Necessary parameters

Should also contain a list of parameter if necessary

In the case of videobalance:

Parameters=hue;saturation;brightness;contrast

Prototype

A working Prototype (that just reads from fakevideosrc, applies several effects from .effect files and spits out an ogg) is available here

Attic/AppIntegration/GstreamerVisualEffects (last edited 2013-12-03 14:01:56 by WilliamJonMcCann)