gstreamer omxh264encoder error

Andrea andrea.rossetto at videomed.biz
Mon Aug 5 08:59:40 UTC 2019


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/


More information about the gstreamer-devel mailing list