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 <<a href="mailto:jerome@mail.librelogiciel.com">jerome@mail.librelogiciel.com</a>>:<br>
<div><div class="Wj3C7c">On Wed, Apr 30, 2008 at 09:03:51PM +0200, Farkas Levente wrote:<br>
> anybody, any comment?<br>
><br>
> Farkas Levente wrote:<br>
> > hi,<br>
> > as i wrote earlier we'd like to add support for multi channel frame<br>
> > grabber cards in gstreamer. what's the problem:<br>
> > currently there are the only hardware video input supported by gstreamer<br>
> > is the v4l or v4l2 compatible video sources. there are good for common<br>
> > hardware like ip camera, tv card (with tunner) or other hardware like<br>
> > s-video input etc. but there are many kind of card which has more<br>
> > (4,8,16,24) input channel (usually analog input). there card can give<br>
> > raw or encoded video sources. but these usually has one physical devices<br>
> > ie. one /dev/videoX devices (in this case we've got n composite input).<br>
> > we'd like to build in this case n pipeline for the n input channel. one<br>
> > of the simple example IVC-100 card which has one bt878 chip and 4<br>
> > composite input and one 4 channel multiplexer.<br>
> > <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>
> > in this case we can use v4l and choose one of the channel but we'd like<br>
> > to build 4 pipeline and set different parameters on the different<br>
> > pipeline's source properties (like frame rate, resolution etc). what's<br>
> > more we'd like to modify the source element properties during it's<br>
> > running eg. i'd like to modify the 2nd channel frame rate while wouldn't<br>
> > like to stop the other 4 pipeline!!! and it's an important feature.<br>
> > what we can do?<br>
> > - we can create a new source element with 4 output pads,<br>
> > - or create a new source element with one output pad, but we'd like to<br>
> > create 4 such source element which can parallel use the same device's<br>
> > different input channel.<br>
> > the first would be the easier, but in this case we can't modify one of<br>
> > the input channel's parameter without stop the other pipelines:-( or can<br>
> > i do it somehow? and in this case all of the pipeline has to be run in<br>
> > the same process.<br>
> > in the second case we can start and stop the pipeline independently<br>
> > what's more use them in different process, but we probably have to<br>
> > create some kind of master/controller process which control the access<br>
> > of the source elements to the device.<br>
> > what do you think about it?<br>
> > what do you suggest about it?<br>
> > what's your comments?<br>
> > 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'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>
<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 <<a href="mailto:andres.colubri@gmail.com">andres.colubri@gmail.com</a>>:<br>Hi Farkas,<br>
<br>
I'm very interested in this topic, since I'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'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>
> hi,<br>
> as i wrote earlier we'd like to add support for multi channel frame<br>
> grabber cards in gstreamer. what's the problem:<br>
> currently there are the only hardware video input supported by gstreamer<br>
> is the v4l or v4l2 compatible video sources. there are good for common<br>
> hardware like ip camera, tv card (with tunner) or other hardware like<br>
> s-video input etc. but there are many kind of card which has more<br>
> (4,8,16,24) input channel (usually analog input). there card can give<br>
> raw or encoded video sources. but these usually has one physical devices<br>
> ie. one /dev/videoX devices (in this case we've got n composite input).<br>
> we'd like to build in this case n pipeline for the n input channel. one<br>
> of the simple example IVC-100 card which has one bt878 chip and 4<br>
> composite input and one 4 channel multiplexer.<br>
> <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>
> in this case we can use v4l and choose one of the channel but we'd like<br>
> to build 4 pipeline and set different parameters on the different<br>
> pipeline's source properties (like frame rate, resolution etc). what's<br>
> more we'd like to modify the source element properties during it's<br>
> running eg. i'd like to modify the 2nd channel frame rate while wouldn't<br>
> like to stop the other 4 pipeline!!! and it's an important feature.<br>
> what we can do?<br>
> - we can create a new source element with 4 output pads,<br>
> - or create a new source element with one output pad, but we'd like to<br>
> create 4 such source element which can parallel use the same device's<br>
> different input channel.<br>
> the first would be the easier, but in this case we can't modify one of<br>
> the input channel's parameter without stop the other pipelines:-( or can<br>
> i do it somehow? and in this case all of the pipeline has to be run in<br>
> the same process.<br>
> in the second case we can start and stop the pipeline independently<br>
> what's more use them in different process, but we probably have to<br>
> create some kind of master/controller process which control the access<br>
> of the source elements to the device.<br>
> what do you think about it?<br>
> what do you suggest about it?<br>
> what's your comments?<br>
> thanks in advance.<br>
> yours.<br>
><br>
><br>
<br>
<br><br><br><div class="gmail_quote">2008/5/5 Farkas Levente <<a href="mailto:lfarkas@bppiac.hu">lfarkas@bppiac.hu</a>>:<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 <<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a> <mailto:<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a>>>:<div><div></div><div class="Wj3C7c">
<br>
<br>
no we've got 4 composite channel and not one composite channel with<br>
a tv tunner:-(<br>
<br>
Julien Isorce wrote:<br>
<br>
Hi,<br>
<br>
I am not sure about your question and your requirements but the<br>
v4l2src from plugins-good implements the gsttunner interface,<br>
that permits to select the input.<br>
<br>
An example to use it here :<br>
<br>
<a href="http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&view=markup" target="_blank">http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&view=markup</a><br>
<<a href="http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&view=markup" target="_blank">http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&view=markup</a>><br>
<<a href="http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&view=markup" target="_blank">http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&view=markup</a><br>
<<a href="http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&view=markup" target="_blank">http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&view=markup</a>>><br>
<br>
<br>
Stefan said :<br>
"You can only cast in PAUSED or PLAYING (not sure about READY).<br>
Basically the devices has to be opened first, before the element<br>
knows that the underlying hardware has support for tuner. The<br>
gst_implements_interface mechanism is basically a hack to<br>
conditinally implement interfaces."<br>
<br>
I have experimented it and it works fine. (note that The S-Video<br>
and Composite input were switched but I think it's a driver<br>
problem.)<br>
<br>
Ok, if you are talking about playing multiple channel at the<br>
same time, I am not aware about this.<br>
<br>
Sincerely<br>
<br>
J.<br>
<br>
2008/5/5 Farkas Levente <<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a><br></div></div>
<mailto:<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a>> <mailto:<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a><div class="Ih2E3d"><br>
<mailto:<a href="mailto:lfarkas@bppiac.hu" target="_blank">lfarkas@bppiac.hu</a>>>>:<br>
<br>
<br>
hi,<br>
in the old days there exists such a properties as channel,<br>
but now it's<br>
disappear. and there was an input too, which is also<br>
disappear. why?<br>
is there anything what can i use?<br>
eg. if i've a 4 channel BT878 v4l source can i see the second<br>
channel<br>
with gst-launch?<br>
<br>
--<br>
Levente "Si vis pacem para<br>
bellum!"<br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference<br>
Don't miss this year's exciting event. There's still time to<br>
save $100.<br>
Use priority code J8TL2D2.<br>
<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>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>><br>
<mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>>><br>
<br>
<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>
-- Levente "Si vis pacem para bellum!"<br>
<br>
<br>
</div></blockquote>
<br>
<br>
-- <br><div><div></div><div class="Wj3C7c">
Levente "Si vis pacem para bellum!"<br>
</div></div></blockquote></div><br>