[gstreamer-bugs] [Bug 626518] [imagefreeze] better caps negotiation

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 11 09:19:10 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=626518
  GStreamer | gst-plugins-good | unspecified

--- Comment #15 from Sebastian Dröge <slomo at circular-chaos.org> 2010-08-11 16:19:07 UTC ---
With all these patches (base patches are pushed already) this works in most
cases.

A pipeline like src ! conv ! scale ! freeze ! sink will always work now *if*
the source uses bufferalloc and uses a format that is supported by
ffmpegcolorspace *and* videoscale. In all other cases this will still abort
with not-negotiated. If you only care about png and jpeg this will always work.


If you add converters after freeze, the conversions will take place after
freeze because you can only know the sink caps after the bufferalloc has
advanced to the last element inside the gnlcomposition and the sink has to
suggest new caps in bufferalloc. The elements most downstream will then try to
establish the conversion and the conversion will take place after imagefreeze.


The other solution here would be, to add a capsfilter with the sink's caps
right before imagefreeze... but that only works of course if you can know the
sink caps in advance.

So for GES there are three possible solutions now:
a) if you know the sink caps in advance add a capsfilter
b) if you only care about jpeg/png only use converters before imagefreeze
c) otherwise add converters before and after imagefreeze and live with the
conversions taking place after imagefreeze most of the time...

-- 
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