Segment problem with shmsrc & videomixer

Sebastian Dröge sebastian at centricular.com
Wed Nov 6 03:28:09 PST 2013


On Mi, 2013-11-06 at 02:04 -0800, adrien_sch wrote:
> Hello, 
> 
> I got this message when a using the following command : 
> 
> Message : 
>  gst_segment_to_running_time: assertion `segment->format == format' failed
> 
> Gst-Launch-1.0 command : 
> shmsrc socket-path=/tmp/decode is-live=TRUE do-timestamp=TRUE ! video/x-raw,
> format=\(string\)I420, width=\(int\)800, height=\(int\)600,
> pixel-aspect-ratio=\(fraction\)1/1, interlace-mode=\(string\)progressive,
> framerate=0/1 ! videomixer ! queue ! videoconvert ! ximagesink sync=FALSE
> 
> In my case, I'm writting a plugin who do also most the same. 
> 
> How can I resolve this issue ? Should a send a segment event when shmsrc is
> connected ? 

Most likely the problem is that shmsrc is sending a BYTE segment, but
videomixer really likes to have a TIME segment. See this for a
discussion about it:
https://bugzilla.gnome.org/show_bug.cgi?id=702842

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131106/e719e102/attachment-0001.pgp>


More information about the gstreamer-devel mailing list