[gst-devel] empty buffers & GST_BUFFER_FLAG_GAP

Michal Benes michal.benes at itonis.tv
Wed Jan 18 04:07:23 CET 2006


Hello,

	the blank (or silence) buffers could also serve for the same purpose as
filler events in gst 0.8. This could solve the problem of sparse stream
(e.g. subtitle streams). The problem is that N to 1 elements (like
subtitle overlay or muxer) do not know if they should wait for the next
(subtitle) buffer or if it will never come.

	Michal

Stefan Kost píše v St 18. 01. 2006 v 12:47 +0100:
> hi,
> 
> imagine a source that from time to time produces empty buffers (silence
> or bank images). If the pipeline has many elements next, it would be
> cool to optimize the obsolete data procession in this case.
> 
> Examples for such sources are sound-generator (simsyn in gst-buzztard)
> and also a source in voip applications that uses noise-gating (to save
> bandwith).
> 
> What I like to do is having a GstBufferFlag that signals that this
> buffer contains blank data. Subsequent elements can use that to spare
> processing.
> 
> Is that what GST_BUFFER_FLAG_GAP is for? If not, may I also add
> GST_BUFFER_FLAG_BLANK. As part of the proposal I would update GstVolume,
> GstLevel, GstAdder and GstAudioconvert to make use of that.
> 
> What do you think about it?
> 
> Stefan
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list