<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 22 août 2019 20 h 55, themanonthemoon <<a href="mailto:adkyriazis@gmail.com">adkyriazis@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">My pipeline looks like the following<br>
<br>
appsrc ! video/x-raw, width=A, height=B, format='RGB' ! videoconvert !<br>
videoscale ! clockoverlay ! video/x-raw, width=640, height=480,<br>
format='I420' ! vp8enc ! .... other stuff<br>
<br>
I'm finding that for certain (A,B) I am getting the correct output from the<br>
pipeline, but for other (A,B) I'm getting a pure green screen with possibly<br>
small artifacts around.<br>
<br>
>From what I understand, green implies that the YUV representation has<br>
uninitialized memory. Is it possible this is a bug with videoconvert? Seems<br>
weird is dependent on width/height<br>
<br>
some Width/height that gives a good output:<br>
(A,B) = (100,100)<br>
(A,B) = (300,256)<br>
<br>
some Width/height that gives a green output:<br>
(A,B) = (325,225)<br>
(A,B) = (326,226)<br>
<br>
Any ideas? Is this a bug?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Could be videoconvert or the encoder, but likely a bug. In general, videoconvert deals very well with any resolution, so I would suspect the encoder. Encoders have a natural step, often called macro-block, but implementation should align internally. Make sure to test against very latest GStreamer to make sure your issue haven't been fixed already.</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>
<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<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></blockquote></div></div></div>