<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head><body style=""><div>one sink will do - it must only be possible to switch it from one source to the other dynamically. I'll look at inputselector, the name sounds promising</div>
<div><br>> Josh Doe <josh@joshdoe.com> hat am 20. Juli 2015 um 12:40 geschrieben:<br>> <br>> <br>> On Mon, Jul 20, 2015 at 5:40 AM, Christian Sell <christian@gsvitec.com> wrote:<br>> > Hello,<br>> ><br>> > I have a pipeline which consists of several video streams, like this:<br>> ><br>> > PIpeline<br>> > MyBin----------|<br>> > MySource1 | -> playbin1 -> videosink1<br>> > MySource2 |-> playbin 2-> videosink2<br>> > MySource3 |-> playbin 3-> videosink3<br>> > ------------------|<br>> ><br>> > The user can only view one source at a time, but can switch between viewable<br>> > sources at will. This all works well already, but, as currently implemented,<br>> > full video processing takes place for all streams all the time. What I would<br>> > like to achieve is to "disable" those streams that are not currently being<br>> > viewed such that the basesrc->fill function is not even called on the<br>> > respective MySource elements. This is to avoid the significant processing<br>> > overhead (buffer allocation + debayering).<br>> ><br>> > What would be the best way to do this?<br>> <br>> Do you actually want three separate sinks, or do you really just want<br>> one? Have you looked at input-selector?<br>> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-input-selector.html<br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> gstreamer-devel@lists.freedesktop.org<br>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</div></body></html>