Setting segment's format in custom plugin
sebastian at centricular.com
Wed Jun 4 08:21:11 PDT 2014
On Mi, 2014-06-04 at 13:49 +0200, Marcin Kolny wrote:
> 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?
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 966 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel