Setting segment's format in custom plugin
marcin.kolny at gmail.com
Fri Jun 6 01:00:26 PDT 2014
2014-06-04 17:21 GMT+02:00 Sebastian Dröge <sebastian at centricular.com>:
> On Mi, 2014-06-04 at 13:49 +0200, Marcin Kolny wrote:
> > Hi,
> > I wrote simple plugin(demultiplexer), which reads from a file stored rtp
> > streams and demultiplex it. My pipeline:
> > gst-launch-1.0 filesrc location=file.RAW ! mydemux ! application/x-rtp !
> > rtph264depay ! fakesink
> > rtph264depay generate a lot of critical errors, like this:
> > (gst-launch-1.0:26999): GStreamer-CRITICAL **:
> > assertion 'segment->format == format' failed
> > It works fine, when I do two pipelines:
> > gst-launch-1.0 filesrc location=file.RAW ! mydemux ! udpsink
> > gst-launch-1.0 udpsrc ! rtph264depay ! fakesink
> > How can I set segment's format in my pipeline(or in my plugin)?
> > Thanks for your help!
> rtph264depay expects a TIME segment, are you sending one? And are you
> dropping the BYTES segment your demuxer gets from filesrc?
OK, thanks! I didn't send TIME segment. I also don't drop BYTES segment,
but works fine without it. Is it necessary to drop BYTES segment in this
> Sebastian Dröge, Centricular Ltd - http://www.centricular.com
> Expertise, Straight from the Source
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel