<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Le 16/09/2011 14:04, Harrie Hoogeveen a écrit :
<blockquote
cite="mid:CAN99avWM5T9QMO-7UB=679BnPDxEXRf_SKnan0xVAuEMrRK3Ng@mail.gmail.com"
type="cite">Hello again,<br>
<br>
I come to ask for help again, because I am getting desperate.<br>
I tried so many things, al version from 0.92.2 and up, and SVN
build. I have tried compiling these with only gmerlin or quicktime
or mpeg but all are not streaming 2 v4l devices at the same time.
With or without sse2 or mmx does not seem to matter.<br>
It is a simple construction of two pix_video -> texture ->
3Dobject. And they seem not to be able to stream at the same time.<br>
I am sure it is not the streams, cause I can run more then 3
streams and play all of them at the same time through the
vloopback device with xawtv. Only within pure data they seem to
switch on each other. Like a semaphore, just one at the time plays
the others freeze.<br>
All opengl, glew and direct rendering is there and working.<br>
And it should be working for sure: <a moz-do-not-send="true"
href="http://vimeo.com/20685278">http://vimeo.com/20685278</a><br>
What can I be doing wrong?<br>
Has anyone a suggestion in which corner to look or how to trace
the problem?<br>
<br>
I know I should hit my self in the head for not making a backup of
my working binary's and will next time.<br>
<br>
Regards,<br>
Harrie<br>
<br>
<br>
<div class="gmail_quote">On Wed, Sep 14, 2011 at 12:59 PM, Harrie
Hoogeveen <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:harrie.hoogeveen@gmail.com">harrie.hoogeveen@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hello,<br>
<br>
I work with a patch where I read 3 video streams from v4l
devices, created with the vloopback kernel module.<br>
These 3 streams are mapped on 3D objects wich I contol using
midi.<br>
After updating to the latest Gem release this became very
slow. They seem to play only one stream at the time.<br>
So fist object 1 plays for a sec or two, than stops and then
object 2 starts playing for a sec or two, stops, an then
object 3 and back to 1 again.<br>
I tested with only one stream, this works fine, but as soon as
I open 2, they start to switch in playtime again.<br>
I tried down grading to 0.92.3, which was the stable when I
designed this patch, but the result is the same.<br>
If I test the v4l stream with for example VLC the stream runs
smooth.<br>
<br>
I run pdextended 0.42.5 on a linux system with kernel 2.8.37
(after that vloopback is not supported anymore, cause it needs
the v4l compat. support kernel option.)<br>
The video streams are generated with LiVES 1.4.4. It supports
the vlooback output options. It is a UYV clamped stream, 280
pix wide:<br>
<pre>*** Using vloopback plugin for fs playback, agreed to use palette type 519 ( UYVY:Y'CbCr (clamped) ).</pre>
I run this patch on intel with 6 cores and nvida card.<br>
<br>
What could be the cause that just one stream at the time plays
in GEM?<br>
<br>
Regards,<br>
<font color="#888888">Harrie<br>
</font></blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
GEM-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a>
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/gem-dev">http://lists.puredata.info/listinfo/gem-dev</a>
</pre>
</blockquote>
I don't know exactly what you do, but if you use stream, you can
take a look at pdgst. Pdgst is GStreamer for Pure Data (and Gem). So
you can use it for video loopback. Have a look on this list for more
information about pdgst.<br>
However the behavior that you report with vloopback seems strange, i
never had problem with Gem video object using different streams.<br>
Maybe a problem with videoV4L plug-in ?<br>
++<br>
<br>
Jack<br>
<br>
<br>
</body>
</html>