Setting segment's format in custom plugin

Marcin Kolny 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 **:
> gst_segment_to_running_time:
> > 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
case?

>
> --
> Sebastian Dröge, Centricular Ltd - http://www.centricular.com
> Expertise, Straight from the Source
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Best regards,
Marcin Kolny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140606/2217a1f9/attachment.html>


More information about the gstreamer-devel mailing list