<div dir="auto">Use v4l2enc instead of omx264enc.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 14 Oct 2020 at 12:38 PM, Katerina Voulgary <<a href="mailto:katerina.voulgary@iccs.gr">katerina.voulgary@iccs.gr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I am streaming from a Raspberry pi using the omx264enc and I get <br>
discoloration in one third of my video. I would discribe it as a <br>
transparent green band. (uploaded here,available for 2 weeks: <br>
<a href="https://ibb.co/jJb01vM" rel="noreferrer" target="_blank">https://ibb.co/jJb01vM</a>). Has anyone encountered this? Am I missing a <br>
codec or is it hardware?<br>
<br>
My pipeline is:<br>
<br>
gst-launch-1.0 v4l2src device=/dev/video0 ! <br>
video/x-raw,format=RGB,width=80,height=60,framerate=15/1,pixel-aspect-ratio=1 <br>
! videoconvert ! <br>
video/x-raw,format=I420,width=80,height=60,framerate=15/1,pixel-aspect-ratio=1 <br>
! omxh264enc target-bitrate=200000 control-rate=2 ! <br>
video/x-h264,width=80,height=60,profile=baseline ! rtph264pay <br>
config-interval=-1 pt=96 ! udpsink host=xxx port=xxx sync=false async=false<br>
<br>
My camera is a Flir 2.5 thermal which generates the false RGB color of <br>
24bit. I use v4l2loopback and run v4l2lepton in the background to feed <br>
the camera into /dev/video0. The same discoloration happens when I read <br>
the frames with gst-python and pylepton.<br>
<br>
My machine is a raspberry pi zero with "gpu_mem=256" in the config and <br>
"cgroup_enable=memory" in the kernel cmdline. There was a difference <br>
when I increased the gpu_mem allocated from 128 to 256 (at 128 it had <br>
magenda dots on the green band). I have also tried in an Rpi 3 and had <br>
the same result. The Rpis run Rasbian 10 (buster) and Gstreamer 14.4 <br>
<a href="http://packages.qa.debian.org/gstreamer1.0" rel="noreferrer" target="_blank">http://packages.qa.debian.org/gstreamer1.0</a><br>
<br>
<br>
_______________________________________________<br>
gstreamer-embedded mailing list<br>
<a href="mailto:gstreamer-embedded@lists.freedesktop.org" target="_blank">gstreamer-embedded@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded</a><br>
</blockquote></div></div>