omxh264enc - raspberry

Kalyan Kumar nkalyan99 at gmail.com
Thu Oct 15 14:54:53 UTC 2020


Use v4l2enc instead of omx264enc.

On Wed, 14 Oct 2020 at 12:38 PM, Katerina Voulgary <
katerina.voulgary at iccs.gr> wrote:

> Hello,
>
> I am streaming from a Raspberry pi using the omx264enc and I get
> discoloration in one third of my video. I would discribe it as a
> transparent green band. (uploaded here,available for 2 weeks:
> https://ibb.co/jJb01vM). Has anyone encountered this? Am I missing a
> codec or is it hardware?
>
> My pipeline is:
>
> gst-launch-1.0 v4l2src device=/dev/video0 !
> video/x-raw,format=RGB,width=80,height=60,framerate=15/1,pixel-aspect-ratio=1
>
> ! videoconvert !
> video/x-raw,format=I420,width=80,height=60,framerate=15/1,pixel-aspect-ratio=1
>
> ! omxh264enc target-bitrate=200000 control-rate=2 !
> video/x-h264,width=80,height=60,profile=baseline ! rtph264pay
> config-interval=-1 pt=96 ! udpsink host=xxx port=xxx sync=false async=false
>
> My camera is a Flir 2.5 thermal which generates the false RGB color of
> 24bit. I use v4l2loopback and run v4l2lepton in the background to feed
> the camera into /dev/video0. The same discoloration happens when I read
> the frames with gst-python and pylepton.
>
> My machine is a raspberry pi zero with "gpu_mem=256" in the config and
> "cgroup_enable=memory" in the kernel cmdline. There was a difference
> when I increased the gpu_mem allocated from 128 to 256 (at 128 it had
> magenda dots on the green band). I have also tried in an Rpi 3 and had
> the same result. The Rpis run Rasbian 10 (buster) and Gstreamer 14.4
> http://packages.qa.debian.org/gstreamer1.0
>
>
> _______________________________________________
> gstreamer-embedded mailing list
> gstreamer-embedded at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20201015/3bef21d2/attachment.htm>


More information about the gstreamer-embedded mailing list