Re: omxh264enc - raspberry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Use v4l2enc instead of omx264enc.

On Wed, 14 Oct 2020 at 12:38 PM, Katerina Voulgary <katerina.voulgary@xxxxxxx> 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="" ! 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
_______________________________________________
gstreamer-embedded mailing list
gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded

[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux