[gstreamer-bugs] [Bug 626550] More powerful preset/profile mechanism needed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 11 12:41:33 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=626550
  GStreamer | gstreamer (core) | git

Youness Alaoui <youness.alaoui> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |youness.alaoui at collabora.co
                   |                            |.uk

--- Comment #6 from Youness Alaoui <youness.alaoui at collabora.co.uk> 2010-08-11 19:41:28 UTC ---
I like the idea of having more powerful Presets. I think the most useful thing
we have right now is the .effect file format from the gnome-video-effects
package. But I think that format should be extended to allow for
user-configuration.
I'd like to see some way to define a range of values that can be used for
elements so users can configure them with a slider, or checkbox or something
similar, and also having some kind of specific presets.
Here's a draft of how we could enhance the .effect file format, it might be a
good start for these extended presets :
---------------------------------
[Effect]
Encoding=UTF-8
Name=[The human readable effect name]
Name[LangCode]=[The translated human readable effect name]
...
Comment=[Description of the effect (tooltip?)]
Comment[LangCode]=[Translation of the description of the effect]
...
Category=[The category of your effect, e.g. "Colors".]
PipelineDescription=[A valid GStreamer pipeline]

[Configuration]
Type=[type of configuration, eg."bool", "int", etc..]
Min=[minimal allowed value]
Max=[maximum allowed value]
Element=[name of the element to configure]
Property=[property name to modify for the element]

[Configuration]
....

[Preset]
Name=[name of the preset]
Element[Property]=[value for <Property> on <Element>]
Element2[Property2]=[value for <Property2> on <Element2>]
...
---------------------------------
This way, it would be possible to allow user configuration of specific
properties while keepign the configuration in the effect's purpose (example,
changing the hue/saturation of the Hulk effect to change the 'how much green'
but keep the values range inside the right range so that the color doesn't
change from green to something else).
This is just a draft, but I'd like to find some way to link properties
together, for example, if property1 is in the range [x1, y1], then the range of
property2 will be [a1, b1], if it's in the range of [x2, y2], then the range of
property2 will [a2, b2]. This should allow for something like a rotating zoom
where a single slider would affect two properties on two different elements at
the same time.
If someone has a suggestion to achieve this, let me know!

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list