gstreamer omxh264encoder error

Guillaume Desmottes guillaume.desmottes at collabora.com
Mon Aug 5 09:35:30 UTC 2019


Hi Andrea,

Can you provide GST_DEBUG="omx*:6" logs?
Also, on which plateform are you using gst-omx?

     G.

On 05/08/2019 14:29, Andrea wrote:
> Hi,
> I've some problems with omxh264enc, when I run this pipeline /gst-launch-1.0
> -e v4l2src device=/dev/video1 !
> video/x-raw,format=NV16,width=1920,height=1080,framerate=30/1 ! queue !
> omxh264enc target-bitrate=10000 ! h264parse ! mp4mux ! filesink
> location=\"test.mp4\"/
>
> I get this error
>
> /ERROR: from element
> /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0: The
> stream is in the wrong format.
> Additional debug info:
> ../../git/omx/gstomxvideoenc.c(2978): gst_omx_video_enc_fill_buffer ():
> /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
> input buffer now has wrong alignment/stride, can't use dynamic allocation
> any more
> EOS on shutdown enabled -- waiting for EOS after Error
> Waiting for EOS...
> ERROR: from element
> /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
> Could not write to resource.
> Additional debug info:
> ../../git/omx/gstomxvideoenc.c(3458): gst_omx_video_enc_handle_frame ():
> /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
> Failed to write input into the OpenMAX buffer
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal
> data stream error./
>
> I don't know if this is a problem of the frame data, the driver, or the
> pipeline. I've tried using gstreamer in debug, but I'm not getting more
> detailed information about the error.
>
>
>
> --
> 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