<div dir="ltr"><div>Thanks a lot, that's good to know about the memory issues with version 0.1x because I was thinking of giving that a go tomorrow.<br><br>I'm not intending to cut the stream many times, so with a bit of luck using version 0.1 will be a good solution. I'll probably continue trying to install 1.1.2 for uvch264 as well though, just in case it ends up working - I'll look into apt-cache's options.<br>
<br></div>Thanks again for the quick response<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 3:12 AM, Peter Rennert <span dir="ltr"><<a href="mailto:p.rennert@cs.ucl.ac.uk" target="_blank">p.rennert@cs.ucl.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>At the moment it seems as uvch264src of Gstreamer1x does not work. It works, however for Gstreamer 0.1x  therefore it might be advisable to go for that instead. For my project that relies on cuting the video stream precisely and saving it into several files. Unfortunately, I experienced memory issues in Gstreamer 0.1x.<br>

<br>
I am now stuck somehow, because in Gstreamer1 I can cut an h264 stream without problems but cannot use the camera, while in Gstreamer 0.10 I can use the camera but I have a memory leak and loss of data each time I cut the stream. <br>

<br>
I remember that I had the u_dev problem too when I tried to complile Gstreamer the first time a year ago. So I don't remember exactly what I did to solve it but I remember loosely that I ended up installing something else that shipped that header files. I don't know ubuntu, but i think apt-cache is supposed to be able to tell you which package provides a certain library you are looking for.<br>
<br><div class="gmail_quote">Adam Goodwin <<a href="http://adam.goodwin.nz" target="_blank">adam.goodwin.nz</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div class="h5">
<div dir="ltr">Hi,<br><br>I'm working on a project where I need to get H264 encoded video from a Logitech C920.<br><br>As
 I understand it I need to use uvch264 for this, as v4l2src is not able 
to get H264 encoded video from a C920. (This is based on a few 
discussions I've found online and the fact that a basic pipeline like 
"gst-launch-1.0 v4l2src ! video/x-h264 ! fakesink" doesn't work.)<br><br>The
 stable 1.0.8 release of gst-plugins-bad doesn't have uvch264 ported 
yet, so I've tried to install the 1.1.2 developer release which does. 
Unfortunately, this is what I get regarding uvch264 when I try to 
"./configure" the bad plugins:<br><br><i>configure: *** checking feature: UVC H264 ***<br>configure: *** for plug-ins: uvch264 ***<br>checking linux/uvcvideo.h usability... yes<br>checking linux/uvcvideo.h presence... yes<br>


checking for linux/uvcvideo.h... yes<br>checking for GST_VIDEO... yes<br>checking for G_UDEV... no<br>checking for LIBUSB... no<br>configure: *** These plugins will not be built: uvch264<br><br></i>I'm
 pretty new to all this GStreamer stuff, so excuse my ignorance, but to 
try and resolve the missing "G_UDEV" and "LIBUSB" dependencies I 
installed the following packages (I am using Ubuntu 13.04) with these 
commands:<br><br>"sudo apt-get install libgudev1.0-cil-dev"<br>"sudo apt-get install libusb-dev"<br><br>But I get the same results, "checking for G_UDEV..." and "checking for LIBUSB..." still both say "no".<br>


<br>Even
 worse, with this 1.1.2 build of GStreamer I can't use v4l2src to get 
another video format from the camera. The "gst-inspect-1.0 -b" command 
shows "libgstvideo4linux2.so" as blacklisted. So I'm giving up on this 
for tonight.<br><br>---<br><br>Basically, my question is this: Assuming 
there isn't some way of getting v4l2src (from a stable release) to 
stream the H264 encoded video from my C920, can anyone help me get the 
right dependencies so that uvch264 will install?</div>
<p style="margin-top:2.5em;margin-bottom:1em;border-bottom:1px solid #000"></p></div></div><pre><hr><br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><span class="HOEnZb"><font color="#888888"><br></font></span></pre></blockquote>
</div><span class="HOEnZb"><font color="#888888"><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</font></span></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>