[Bug 796716] encoding: Introduce ih264enc to unify H264 video encoder APIs

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 29 15:04:54 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796716

--- Comment #10 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
(In reply to Thibault Saunier from comment #9)
> (In reply to Olivier CrĂȘte from comment #8)
> > (In reply to Thibault Saunier from comment #7)
> > > Also I believe a GInterface with properties would be cleaner than just a
> > > design doc, why do you think you don't want a GInterface?
> > 
> > My main problem with a GInterface is that you end up having the same
> > min/max/etc for all implementations, so you can't use that to document
> > restrictions.
> 
> You can yes.

How?

> Though the mechanism proposed in this patches "solves" it all and more
> fmpov. The goal here is to provide one implementation agnostic interface
> that behaves as similarly as possible whatever the implementation is, the
> goal being to hide encoder particularities to the end user. What you
> describe here is not fulfilling those the requirements fmpov. What is your
> concerned about the proposed approach?

I dislike the added complexity of the wrapper bin, I find it super ugly. And it
doesn't offer a way to know which controls are supported by a specific encoder
and which values are actually valid.. Ideally in a programatic way, only
including properties that are implemented with the limits that match reality
sounds like the easiest.

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