<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>
Le 22/08/2013 18:23, IOhannes m zmölnig a écrit :<br>
<span style="white-space: pre;">> On 08/22/13 18:05, Jack wrote:<br>
>> When I compile streamViewer.cpp which contains the
gstreamer pipe<br>
>> finishing by : v4l2sink device=/dev/video2, i get no
error.<br>
>> And after :<br>
>> $ ./streamViewer<br>
>> the application runs as expected.<br>
><br>
><br>
> you might try to create a slightly more complex pipeline,
that outputs<br>
> to both v4l2sink *and* autovideosink (so you can see whether
the<br>
> pipeline is running).<br>
><br>
>><br>
>> In Pd, i open the help patch about [pix_video] and send
the message<br>
>> [driver v4l2, device 2( to [pix_video].<br>
>> I expect to get the stream, but i get (in the pd console)
:<br>
>> Cannot open '/dev/video2': 2, Aucun fichier ou dossier de
ce type<br>
>> v4l: failed opening device: '/dev/video2'<br>
>><br>
>> So, it seems the gstreamer pipe is wrong OR the
streamViewer.cpp is<br>
>> wrong after the modification.<br>
>> How can i solve this problem ?<br>
><br>
> try raising the verbosity of streamViewer, to see what it
really does:<br>
> ./streamViewer --gst-debug-level=4</span><br>
I get that in the terminal when it is running :<br>
<br>
0:00:21.907218447 12629 0x7fd1f8001e00 DEBUG appsrc
gstappsrc.c:1451:gst_app_src_push_buffer_full:<streamViewer>
queue filled (1073479680 >= 200000)<br>
0:00:21.907237033 12629 0x7fd1f8001e00 DEBUG appsrc
gstappsrc.c:1486:gst_app_src_push_buffer_full:<streamViewer>
queueing buffer 0x7fd1f80ef210<br>
0:00:21.923285100 12629 0x7fd1f8001e00 DEBUG appsrc
gstappsrc.c:1451:gst_app_src_push_buffer_full:<streamViewer>
queue filled (1074790400 >= 200000)<br>
0:00:21.923321131 12629 0x7fd1f8001e00 DEBUG appsrc
gstappsrc.c:1451:gst_app_src_push_buffer_full:<streamViewer>
queue filled (1074790400 >= 200000)<br>
0:00:21.923332968 12629 0x7fd1f8001e00 DEBUG appsrc
gstappsrc.c:1486:gst_app_src_push_buffer_full:<streamViewer>
queueing buffer 0x7fd1f80ef2b0<br>
0:00:21.939656140 12629 0x7fd1f8001e00 DEBUG appsrc
gstappsrc.c:1451:gst_app_src_push_buffer_full:<streamViewer>
queue filled (1076101120 >= 200000)<br>
0:00:21.939721014 12629 0x7fd1f8001e00 DEBUG appsrc
gstappsrc.c:1451:gst_app_src_push_buffer_full:<streamViewer>
queue filled (1076101120 >= 200000)<br>
0:00:21.939748951 12629 0x7fd1f8001e00 DEBUG appsrc
gstappsrc.c:1486:gst_app_src_push_buffer_full:<streamViewer>
queueing buffer 0x7fd1f80ef350<br>
0:00:21.955868740 12629 0x7fd1f8001e00 DEBUG appsrc
gstappsrc.c:1451:gst_app_src_push_buffer_full:<streamViewer>
queue filled (1077411840 >= 200000)<br>
0:00:21.955912125 12629 0x7fd1f8001e00 DEBUG appsrc
gstappsrc.c:1451:gst_app_src_push_buffer_full:<streamViewer>
queue filled (1077411840 >= 200000)<br>
<span style="white-space: pre;">><br>
><br>
> check what happens to the videodevice when streamViewer
should write to it.<br>
> try:<br>
> v4l2-ctl --all -d /dev/video2<br>
> to see the mode of the device.</span><br>
$ v4l2-ctl --all -d /dev/video2<br>
Failed to open /dev/video2: No such file or directory<br>
<span style="white-space: pre;">><br>
> also check /sys/devices/virtual/video4linux/video2/format
whether the<br>
> format has been set correctly.</span><br>
$ cat /sys/devices/virtual/video4linux/video2/format<br>
cat: /sys/devices/virtual/video4linux/video2/format: No such file or
directory<br>
<br>
It seems there is a problem when I see : queue filled (1077411840
>= 200000) ?<br>
Thanks to help me to solve this problem !<br>
++<br>
<br>
Jack<br>
<br>
<br>
<span style="white-space: pre;">><br>
><br>
> fgmasdr<br>
> IOhannes<br>
><br>
><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>
iQEcBAEBAgAGBQJSFj7hAAoJEOuluecjw8GUGrQH/1kkszHPI+IRZmhW2xiICXE1<br>
ZCv7OjXmlykrgwMZJjus3gnZf7VpbLoaGYRg/1RytBAdE9zYI/v0WUyO/3j9/lXt<br>
kijg42gMiShRo+5RpsH1UzUH5smL2qOlvnaR3VpP2mWvBD68lVK5F7kOJJZXqCf1<br>
vdX44hcklveDX4VfxIJnELyu+wEpM3IjSpTxuDXZTpCEueCwmOeqWpE/9tKlzafF<br>
wGdtYzJnsbicRdpArYbFPD8omXDTD49WzA1dtxd0isiuDPQcWyLgla9m2xTMiEEg<br>
mX+2Shp1Pm5DxrWPCR/3uDJNNn1QYNM4vdt+1/M4+DMl62w9ijAXsq5Rr3pNXS8=<br>
=S38u<br>
-----END PGP SIGNATURE-----<br>
<br>
</body>
</html>