Error while using omh264encoder : OpenMAX component in error state Bad parameter (0x80001005)

Nicolas Dufresne nicolas at ndufresne.ca
Tue Feb 20 18:31:55 UTC 2018


Le mardi 20 février 2018 à 03:42 -0700, Nostalgia a écrit :
> Hi,
> 
> I try this command line (my pipeline consists of coding an yuv file
> using
> the hardware encoder of Jetson TX2) :
> 
> gst-launch-1.0 filesrc location=Basketball.yuv ! 'video/x-
> raw(memory:NVMM),
> width=(int)640, height=(int)386, format=(string)I420,
> framerate=(fraction)25/1' ! omxh264enc ! 'video/x-h264,

capsfitler only deals with caps, it won't be able to allocated NVMM
memory for your. Use normal raw caps and nvvidconvert here.

> stream-format=(string)byte-stream' ! filesink location=results1.h264
> -e
> 
> I obtain these errors :
> 
> Setting pipeline to PAUSED ...
> Inside
> NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set
> DPB and MjstreamingInside
> NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set
> DPB and
> MjstreamingPipeline is PREROLLING ...
> Framerate set to : 25 at NvxVideoEncoderSetParameterNvMMLiteOpen :
> Block :
> BlockType = 4 
> ===== MSENC =====
> NvMMLiteBlockCreate : Block : BlockType = 4 
> VENC: VideoEncInputProcessing: 3647:  VideoEncFeedImage failed. Input
> buffer
> 0 sent
> VENC: NvMMLiteVideoEncDoWork: 4155: BlockSide error 0x4
> Event_BlockError from 0BlockAvcEnc : Error code - 4
> Sending error event from 0BlockAvcEncVENC: NvMMLiteVideoEncDoWork:
> 4155:
> BlockSide error 0x4
> VENC: VideoEncInputProcessing: 3647:  VideoEncFeedImage failed. Input
> buffer
> 1 sent
> Event_BlockError from 0BlockAvcEnc : Error code - 4
> Blocking error event from 0BlockAvcEncVENC: NvMMLiteVideoEncDoWork:
> 4155:
> BlockSide error 0x4
> Event_BlockError from 0BlockAvcEnc : Error code - 4
> Blocking error event from 0BlockAvcEncVENC: NvMMLiteVideoEncDoWork:
> 4155:
> BlockSide error 0x4
> Event_BlockError from 0BlockAvcEnc : Error code - 4
> Blocking error event from 0BlockAvcEncVENC: NvMMLiteVideoEncDoWork:
> 4155:
> BlockSide error 0x4
> Event_BlockError from 0BlockAvcEnc : Error code - 4
> Blocking error event from 0BlockAvcEncERROR: from element
> /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-
> omxh264enc0:
> GStreamer encountered a general supporting library error.
> Additional debug info:
> /dvs/git/dirty/git-master_linux/external/gstreamer/gst-
> omx/omx/gstomxvideoenc.c(2259):
> gst_omx_video_enc_handle_frame ():
> /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-
> omxh264enc0:
> OpenMAX component in error state Bad parameter (0x80001005)
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> 
> Someone can help me please to find the issues.
> 
> Thanks in advance,
> 
> 
> 
> --
> 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