<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I have managed to solve a problem: it seems that the sprite was
not well reported by the driver (it said it was 1080 instead of
720). Now I think it gives the correct values for a 720x576px NV12
frame: sprite 720, size 622080</p>
<p>However, I still doesn't have a good output, and I don't know
what to do to find what's wrong (I have no previous experience
with video nor gstreamer).</p>
<p>With this pipeline: gst-launch-1.0 v4l2src device=/dev/video1 !
video/x-raw,format=NV12,width=720,<br>
height=576 ! videoconvert ! xvimagesink sync=false<br>
</p>
<p>I only get an output with very colorful lines (almost horizontal
lines).</p>
<p>I attach the output of the driver and gstreamer with
GST_DEBUG=*videosink*:6,*imagesink*:6,*v4l2*:6<br>
</p>
<p>Any hint? Thanks!<br>
</p>
<br>
<div class="moz-cite-prefix">El 19/04/18 a las 12:07, Iñigo Huguet
escribió:<br>
</div>
<blockquote type="cite"
cite="mid:b4c33f71-a581-5984-a1b8-10efb3650e56@fanamoel.com">I'm
trying to show the video from an input camera in my display using
v4l2src.
<br>
<br>
Unfortunately, the driver of the cameras module is not very good,
and in fact I have had to fix a few things to advance. But still I
haven't managed to show the image in the display.
<br>
<br>
My device have an ARM based Allwinner A20 processor, and use this
driver for the cameras input:
<a class="moz-txt-link-freetext" href="https://github.com/meantone/sunxi-tvin">https://github.com/meantone/sunxi-tvin</a>
<br>
<br>
I'm trying this pipeline: gst-launch-1.0 v4l2src
device=/dev/video1 ! video/x-raw,format=NV12,width=720,height=576
! videoconvert ! xvimagesink
<br>
<br>
I know that the driver works because using a very basic demo
program with the same configuration (NV12 720x576) I can see
camera images.
<br>
<br>
I attach 2 files: one with gstreamer output using
GST_DEBUG=*v4l2*:6 and another with driver debug messages, let's
see if someone can give me any clue about what's failing here.
<br>
<br>
Note: there are some messages at the beginning about driver don't
reporting valid framesizes. However, I think this is not important
because later it seems to configure the framesize correctly, and I
know that this framesize is OK for the driver.
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>