<div dir="auto">Thank you for your response!<div dir="auto"><br></div><div dir="auto">I thought I tried adding videoconvert before, but very happy it works now!<div dir="auto"> </div><div dir="auto">Thanks!</div><div dir="auto"><br></div><div dir="auto">-Alex</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 17, 2020, 18:28 Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca">nicolas@ndufresne.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 17 mai 2020 12 h 00, Alex Carr <<a href="mailto:abcfilm@gmail.com" target="_blank" rel="noreferrer">abcfilm@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have run into a problem with a new capture card, I'm just looking<br>
for some suggestions how to collect some more info and hopefully solve<br>
this problem.. maybe it's actually an OpenCV or driver problem.<br>
<br>
This is a working Gstreamer pipeline with this hardware, very happy<br>
with this so far.<br>
<br>
`gst-launch-1.0 v4l2src device=/dev/video0 -e ! video/x-raw,<br>
framerate=30/1, width=1920, height=1080 ! xvimagesink`<br>
<br>
However, This pipeline Does not work when supplied to a<br>
cv2.VideoCapture() in OpenCV Python 4.1.0 when I've changed to an<br>
Appsink over xvimagesink.<br>
<br>
cap = cv2.VideoCapture('v4l2src device=/dev/video0 ! video/x-raw,<br>
framerate=30/1, width=1920, height=1080 ! appsink')<br>
<br>
-truncated vague error-<br>
''Error with module v4l2src: Internal Data Error"<br>
<br>
I've tried wait-on-eos=false (or true).<br>
<br>
Maybe someone has run into this before, and might have some clue about<br>
it. Thanks for your time.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">OpenCV likely require specific video format not supported by your capture card. Consider adding videoconvert element in your pipeline.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-Alex<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>