gstreamer omxh264encoder error

Guillaume Desmottes guillaume.desmottes at collabora.com
Fri Aug 9 08:54:47 UTC 2019


So the problem here is that the gst-omx encoder checks that each 
incoming buffers
matches the OMX input port alignment requirements, see 
https://gitlab.freedesktop.org/gstreamer/gst-omx/blob/master/omx/gstomxvideoenc.c#L1939

It seems that after a while some buffer no longer fit the alig 
requirement hence the error:

0:00:12.573742613  2318   0x556c482990 DEBUG            omxvideoenc
gstomxvideoenc.c:2335:check_input_alignment:<omxh264enc-omxh264enc0> input
buffer is not properly aligned (address: 0x7f8002eeb0 alignment: 32 bytes),
can't use dynamic allocation

Can you enforce your capture driver to always use a 32-bytes aligned 
address for captured data?


     G.

On 08/08/2019 18:43, Andrea wrote:
> I did other tests and the error appears to be random, sometimes appears after
> 16 seconds, others after 8 minutes and in another test after 1 hour.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list