[gstreamer-bugs] [Bug 627459] theoraenc should provide option for TH_ENCCTL_SET_DUP_COUNT

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Aug 21 04:12:26 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=627459
  GStreamer | gst-plugins-base | 0.10.x

--- Comment #7 from Sebastian Dröge <slomo at circular-chaos.org> 2010-08-21 11:12:21 UTC ---
(In reply to comment #4)
> I am not conviced the GAP flag is the solution here. The GAP flag is defined so
> that e.g. a filter can pass the incomming buffer unmodified along. In audio
> e.g. a silent buffer would remain silent. In video this would be a fully
> transparent frame.

Silence is, what is produced by a soundcard if there's a gap. The previous
frame is what is shown by video sinks if there's a gap. A transparent frame on
it's own has no real meaning (what should be shown? It's transparent after all
and as such has no information). Also transparency only makes sense for formats
with alpha channel...

> I see the point of having a duplicated frame and wanting to take benefit out of
> that. Could encoders keep a ref on the last frame and apply the duplicate
> optimisation if the get the same buffer again. That should work as videorate
> uses subbuffers for duplicated frames.

That would work for most situations, yes. But I can think of many uncommon
situations where this would cause major problems (if you want details ask). We
really need something in the metadata to flag such buffers.

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