<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hello,<br>
<br>
Le 22/08/2013 21:03, IOhannes zmölnig a écrit :<br>
<span style="white-space: pre;">> On 08/22/2013 08:40 PM, Jack
wrote:<br>
>><br>
>> $ cat /sys/devices/virtual/video4linux/video1/format<br>
>> GREY?30:1280x1024@30<br>
>><br>
>> I expect 60 fps.<br>
>> If i set :<br>
>> $ v4l2-ctl -d /dev/video1 -p 60<br>
>> or<br>
>> $ v4l2-ctl -d /dev/video1 -p 1<br>
>> It doesn't change anything.<br>
>> Do you know if there is a possibility to get this frame
rate (60 fps) ?<br>
>> Is it a limitation using videoloopback ?<br>
><br>
> no.<br>
> v4l2loopback does not know nor care about frames or formats.<br>
> it simply passes the frames from one application to another.
there is no<br>
> colorspace-conversion of resampling or the like involved.</span><br>
OK.<br>
<span style="white-space: pre;">><br>
><br>
><br>
> it's gstreamer that doesn't set the framerate correctly.<br>
><br>
> you could force it by running:<br>
> $ echo "@60" | sudo tee
/sys/devices/virtual/video4linux/video1/format<br>
><br>
> in practice i don't think that this framerate setting will do
much.</span><br>
Yes, it doesn't change anything.<br>
<span style="white-space: pre;">><br>
><br>
><br>
>> For info, i get 60 fps when I use the application
streamViewer.<br>
><br>
> how do you know?</span><br>
It is written in the top window border : "Acquisition [ cptured:
2854, skipped: 1, fps : 61.40 ]"<br>
Seeing the video capture in the Gem window, i guess it is at 60 fps.<br>
So, in this case, information about framerate return by :<br>
$ v4l2-ctl --all -d /dev/video1<br>
or<br>
$ cat /sys/devices/virtual/video4linux/video1/format<br>
is incorrect.<br>
Thank you for your help IOhannes, now I can get the stream from a
XIMEA camera in Gem.<br>
Do you think, it will be much better/faster/stable to get a v4l2
driver from XIMEA than to use a pipe with gstreamer/v4l2loopback ?<br>
++<br>
<br>
Jack<br>
<br>
<br>
<span style="white-space: pre;">><br>
><br>
> fdsmard<br>
> IOhannes<br>
><br>
><br>
><br>
> _______________________________________________<br>
> <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management ->
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
Comment: Using GnuPG with Thunderbird - <a class="moz-txt-link-freetext" href="http://www.enigmail.net/">http://www.enigmail.net/</a><br>
<br>
iQEcBAEBAgAGBQJSFzakAAoJEOuluecjw8GUxh8H/3uYQ0ZG0on0w8h1J6Rox2Tr<br>
kiIt4tSeV3fBPJfaBugYky6e003MprM8aLSyEE2ugbDMQ2tGX7O3qtau1jqpuRd6<br>
gSA7l5R4UVK+whIunilwmG+mrBytwVUi4lx9CRmaRIgcN6GNYJO9mIDMKgOwNO7S<br>
B86SOYGX7TtKr7vTyC+z9jIq/fDaKgNQTN85gyYgimqdtP/zt1rIhkoomDuQO5u1<br>
9IpezxPxu7JnEWqSjLJ+1VPM69k6JNsOga5A9Vv6IKvHbgWiK42n+Zr2KE4+HxlZ<br>
ZEAPJNNQg/sWH+/fAd+84tsQpAxUEr5bgTpw3ROt+wBumwk2S8wZzVZDA1BZ9rE=<br>
=1w9V<br>
-----END PGP SIGNATURE-----<br>
<br>
</body>
</html>