oh ok you are the one who started the discussion about multi channel frame grabber:<br><br>good luck anyway<br><br><br>2008/4/30  &lt;<a href="mailto:jerome@mail.librelogiciel.com">jerome@mail.librelogiciel.com</a>&gt;:<br>
<div><div class="Wj3C7c">On Wed, Apr 30, 2008 at 09:03:51PM +0200, Farkas Levente wrote:<br>
&gt; anybody, any comment?<br>
&gt;<br>
&gt; Farkas Levente wrote:<br>
&gt; &gt; hi,<br>
&gt; &gt; as i wrote earlier we&#39;d like to add support for multi channel frame<br>
&gt; &gt; grabber cards in gstreamer. what&#39;s the problem:<br>
&gt; &gt; currently there are the only hardware video input supported by gstreamer<br>
&gt; &gt; is the v4l or v4l2 compatible video sources. there are good for common<br>
&gt; &gt; hardware like ip camera, tv card (with tunner) or other hardware like<br>
&gt; &gt; s-video input etc. but there are many kind of card which has more<br>
&gt; &gt; (4,8,16,24) input channel (usually analog input). there card can give<br>
&gt; &gt; raw or encoded video sources. but these usually has one physical devices<br>
&gt; &gt; ie. one /dev/videoX devices (in this case we&#39;ve got n composite input).<br>
&gt; &gt; we&#39;d like to build in this case n pipeline for the n input channel. one<br>
&gt; &gt; of the simple example IVC-100 card which has one bt878 chip and 4<br>
&gt; &gt; composite input and one 4 channel multiplexer.<br>
&gt; &gt; <a href="http://www.iei.com.tw/en/product_IPC.asp?model=IVC-100G" target="_blank">http://www.iei.com.tw/en/product_IPC.asp?model=IVC-100G</a><br>
&gt; &gt; in this case we can use v4l and choose one of the channel but we&#39;d like<br>
&gt; &gt; to build 4 pipeline and set different parameters on the different<br>
&gt; &gt; pipeline&#39;s source properties (like frame rate, resolution etc). what&#39;s<br>
&gt; &gt; more we&#39;d like to modify the source element properties during it&#39;s<br>
&gt; &gt; running eg. i&#39;d like to modify the 2nd channel frame rate while wouldn&#39;t<br>
&gt; &gt; like to stop the other 4 pipeline!!! and it&#39;s an important feature.<br>
&gt; &gt; what we can do?<br>
&gt; &gt; - we can create a new source element with 4 output pads,<br>
&gt; &gt; - or create a new source element with one output pad, but we&#39;d like to<br>
&gt; &gt; create 4 such source element which can parallel use the same device&#39;s<br>
&gt; &gt; different input channel.<br>
&gt; &gt; the first would be the easier, but in this case we can&#39;t modify one of<br>
&gt; &gt; the input channel&#39;s parameter without stop the other pipelines:-( or can<br>
&gt; &gt; i do it somehow? and in this case all of the pipeline has to be run in<br>
&gt; &gt; the same process.<br>
&gt; &gt; in the second case we can start and stop the pipeline independently<br>
&gt; &gt; what&#39;s more use them in different process, but we probably have to<br>
&gt; &gt; create some kind of master/controller process which control the access<br>
&gt; &gt; of the source elements to the device.<br>
&gt; &gt; what do you think about it?<br>
&gt; &gt; what do you suggest about it?<br>
&gt; &gt; what&#39;s your comments?<br>
&gt; &gt; thanks in advance.<br>
<br>
</div></div>No sure if I understand what you want to do and what your questions<br>
are exactly...<br>
<br>
Anyway, I can confirm that GStreamer works perfectly fine with an<br>
ViewCast Osprey 440 which has 4 composite video channels. While we<br>
use the very same settings for all inputs in our setup, the channels<br>
really are entirely independant. I&#39;ve done numerous tests without<br>
any problem (excepted bad cables)<br>
<br>
In our setup we optionally use such cards (or any<br>
v4lsrc channel) to monitor the inputs of video switchers : we grab<br>
all four channels from a single networked pipeline in our headless<br>
backend, and send them with gstreamer to our X11 frontend.<br>
<br>
While we create a single pipeline with all four inputs, you can<br>
just as easily create several independant pipelines.<br>
<br>
You can see the source or download the whole project from :<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://boxtream.unice.fr/" target="_blank">http://boxtream.unice.fr</a><br>
<br>
Hoping this helps.<br>
<br>
Bye,<br>
<br>
Jerome Alet<br><br><br>2008/4/14 Andres Colubri &lt;<a href="mailto:andres.colubri@gmail.com">andres.colubri@gmail.com</a>&gt;:<br>Hi Farkas,<br>
<br>
I&#39;m very interested in this topic, since I&#39;m currently writing a source<br>
element for the matrox morphis capture card:<br>
<br>
<a href="http://www.matrox.com/imaging/products/morphis/" target="_blank">http://www.matrox.com/imaging/products/morphis/</a><br>
<br>
This card supports up to 4 simultaneous cameras, but as you mentioned<br>
for the ICV-100 card, it has only one physical device.<br>
<br>
So right now i did a very quick and dirty hack where I send the frames<br>
from each camera one after the other (i.e.: frame i is from camera 1,<br>
frame i+1 from camera 2, frame i+2 from camera 3, frame i+3 from camera<br>
4, frame i+4 is again from camera 1, and so on)... this was just for<br>
testing. I&#39;m very interested to see what would be the answers for the<br>
questions in your email.<br>
<br>
Best,<br>
<font color="#888888">Andres<br>
</font><br>
Farkas Levente wrote:<br>
&gt; hi,<br>
&gt; as i wrote earlier we&#39;d like to add support for multi channel frame<br>
&gt; grabber cards in gstreamer. what&#39;s the problem:<br>
&gt; currently there are the only hardware video input supported by gstreamer<br>
&gt; is the v4l or v4l2 compatible video sources. there are good for common<br>
&gt; hardware like ip camera, tv card (with tunner) or other hardware like<br>
&gt; s-video input etc. but there are many kind of card which has more<br>
&gt; (4,8,16,24) input channel (usually analog input). there card can give<br>
&gt; raw or encoded video sources. but these usually has one physical devices<br>
&gt; ie. one /dev/videoX devices (in this case we&#39;ve got n composite input).<br>
&gt; we&#39;d like to build in this case n pipeline for the n input channel. one<br>
&gt; of the simple example IVC-100 card which has one bt878 chip and 4<br>
&gt; composite input and one 4 channel multiplexer.<br>
&gt; <a href="http://www.iei.com.tw/en/product_IPC.asp?model=IVC-100G" target="_blank">http://www.iei.com.tw/en/product_IPC.asp?model=IVC-100G</a><br>
&gt; in this case we can use v4l and choose one of the channel but we&#39;d like<br>
&gt; to build 4 pipeline and set different parameters on the different<br>
&gt; pipeline&#39;s source properties (like frame rate, resolution etc). what&#39;s<br>
&gt; more we&#39;d like to modify the source element properties during it&#39;s<br>
&gt; running eg. i&#39;d like to modify the 2nd channel frame rate while wouldn&#39;t<br>
&gt; like to stop the other 4 pipeline!!! and it&#39;s an important feature.<br>
&gt; what we can do?<br>
&gt; - we can create a new source element with 4 output pads,<br>
&gt; - or create a new source element with one output pad, but we&#39;d like to<br>
&gt; create 4 such source element which can parallel use the same device&#39;s<br>
&gt; different input channel.<br>
&gt; the first would be the easier, but in this case we can&#39;t modify one of<br>
&gt; the input channel&#39;s parameter without stop the other pipelines:-( or can<br>
&gt; i do it somehow? and in this case all of the pipeline has to be run in<br>
&gt; the same process.<br>
&gt; in the second case we can start and stop the pipeline independently<br>
&gt; what&#39;s more use them in different process, but we probably have to<br>
&gt; create some kind of master/controller process which control the access<br>
&gt; of the source elements to the device.<br>
&gt; what do you think about it?<br>
&gt; what do you suggest about it?<br>
&gt; what&#39;s your comments?<br>
&gt; thanks in advance.<br>
&gt; yours.<br>
&gt;<br>
&gt;<br>
<br>
<br><br><br><div class="gmail_quote">2008/5/5 Farkas Levente &lt;<a href="mailto:lfarkas@bppiac.hu">lfarkas@bppiac.hu</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
yes.<br>
<br>
Julien Isorce wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="Ih2E3d">
Ok.<br>
<br>
You mean it is possible to play all the 4 composite input at the same time ?<br>
<br></div>
2008/5/5 Farkas Levente &lt;<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a> &lt;mailto:<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a>&gt;&gt;:<div><div></div><div class="Wj3C7c">
<br>
<br>
 &nbsp; &nbsp;no we&#39;ve got 4 composite channel and not one composite channel with<br>
 &nbsp; &nbsp;a tv tunner:-(<br>
<br>
 &nbsp; &nbsp;Julien Isorce wrote:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Hi,<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;I am not sure about your question and your requirements but the<br>
 &nbsp; &nbsp; &nbsp; &nbsp;v4l2src from plugins-good implements the gsttunner interface,<br>
 &nbsp; &nbsp; &nbsp; &nbsp;that permits to select the input.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;An example to use it here :<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&amp;view=markup" target="_blank">http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&amp;view=markup</a><br>

 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&amp;view=markup" target="_blank">http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&amp;view=markup</a>&gt;<br>

 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&amp;view=markup" target="_blank">http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&amp;view=markup</a><br>

 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&amp;view=markup" target="_blank">http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&amp;view=markup</a>&gt;&gt;<br>

<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Stefan said :<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&quot;You can only cast in PAUSED or PLAYING (not sure about READY).<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Basically the devices has to be opened first, before the element<br>
 &nbsp; &nbsp; &nbsp; &nbsp;knows that the underlying hardware has support for tuner. The<br>
 &nbsp; &nbsp; &nbsp; &nbsp;gst_implements_interface mechanism is basically a hack to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;conditinally implement interfaces.&quot;<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;I have experimented it and it works fine. (note that The S-Video<br>
 &nbsp; &nbsp; &nbsp; &nbsp;and Composite input were switched but I think it&#39;s a driver<br>
 &nbsp; &nbsp; &nbsp; &nbsp;problem.)<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Ok, if you are talking about playing multiple channel at the<br>
 &nbsp; &nbsp; &nbsp; &nbsp;same time, I am not aware about this.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Sincerely<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;J.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;2008/5/5 Farkas Levente &lt;<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a><br></div></div>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;mailto:<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a>&gt; &lt;mailto:<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a><div class="Ih2E3d"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;mailto:<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a>&gt;&gt;&gt;:<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hi,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; in the old days there exists such a properties as channel,<br>
 &nbsp; &nbsp; &nbsp; &nbsp;but now it&#39;s<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; disappear. and there was an input too, which is also<br>
 &nbsp; &nbsp; &nbsp; &nbsp;disappear. why?<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; is there anything what can i use?<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; eg. if i&#39;ve a 4 channel BT878 v4l source can i see the second<br>
 &nbsp; &nbsp; &nbsp; &nbsp;channel<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; with gst-launch?<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Levente &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Si vis pacem para<br>
 &nbsp; &nbsp; &nbsp; &nbsp;bellum!&quot;<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp; -------------------------------------------------------------------------<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; This SF.net email is sponsored by the 2008 JavaOne(SM) Conference<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Don&#39;t miss this year&#39;s exciting event. There&#39;s still time to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;save $100.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Use priority code J8TL2D2.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" target="_blank">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _______________________________________________<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gstreamer-devel mailing list<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>&gt;&gt;<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
<br>
<br>
<br>
 &nbsp; &nbsp;--  &nbsp; &nbsp; Levente &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Si vis pacem para bellum!&quot;<br>
<br>
<br>
</div></blockquote>
<br>
<br>
-- <br><div><div></div><div class="Wj3C7c">
 &nbsp;Levente &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Si vis pacem para bellum!&quot;<br>
</div></div></blockquote></div><br>