Is VP8 encoding available on Xavier R32.4.2 ?
Any encoder fail:
gst-launch-1.0 -ev videotestsrc ! nvvidconv ! nvv4l2vp8enc ! fakesink
Setting pipeline to PAUSED ...
Opening in BLOCKING MODE
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/nvv4l2vp8enc:nvv4l2vp8enc0: Encoder on device /dev/nvhost-msenc has no supported output format
Additional debug info:
/dvs/git/dirty/git-master_linux/3rdparty/gst/gst-v4l2/gst-v4l2/gstv4l2videoenc.c(452): gst_v4l2_video_enc_open (): /GstPipeline:pipeline0/nvv4l2vp8enc:nvv4l2vp8enc0
Setting pipeline to NULL ...
Freeing pipeline ...
#omx is even worse:
gst-launch-1.0 -ev videotestsrc ! nvvidconv ! omxvp8enc ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, width=(int)320, height=(int)240, format=(string)I420, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)320, height=(int)240, format=(string)I420, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 7
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 7
NvMMLiteNvMediaCreate:3743: NvMediaIEPCreate failed
NVMEDIA_ENC: 3996: Failed to create NvMedia encoder
VENC: NvMMLiteVideoEncDoWork: 4283: BlockSide error 0x4
Event_BlockError from 0BlockVP8Enc : Error code - 4
Sending error event from 0BlockVP8Enc/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:sink: caps = video/x-raw, width=(int)320, height=(int)240, format=(string)I420, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
free(): invalid pointer
Aborted (core dumped)
Software encoding with vp8enc seems working:
gst-launch-1.0 -ev videotestsrc ! vp8enc ! fakesink