I’m trying to use nvvidconv to convert from video/x-raw to video/x-raw(memory:NVMM). After multiple fruitless attempts I ran the example from the Multimedia guide. This example also failed to run on both an updated and a fresh installed jetson TX1. Leading me to believe there is an issue with nvvidconv. Below I will include the GStreamer debug info:
ubuntu@tegra-ubuntu:~/gstTemp$ GST_DEBUG=2 gst-launch-1.0 videotestsrc ! 'video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720' ! nvvidconv ! 'video/x-raw(memory:NVMM)' ! omxh264enc ! h264parse ! qtmux ! filesink location=/srv/test.mp4 -e
0:00:00.046627112 7743 0x14de20 WARN omx /dvs/git/dirty/git-master_linux/external/gstreamer/gst-omx/omx/gstomx.c:2841:plugin_init: Failed to load configuration file: Valid key file could not be found in search dirs (searched in: /home/ubuntu/.config:/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg as per GST_OMX_CONFIG_DIR environment variable, the xdg user config directory (or XDG_CONFIG_HOME) and the system config directory (or XDG_CONFIG_DIRS)
Setting pipeline to PAUSED ...
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingPipeline is PREROLLING ...
0:00:00.065437018 7743 0x1523b0 WARN basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<nvvconv0> transform could not transform video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive in anything we support
0:00:00.065834254 7743 0x1523b0 WARN basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<nvvconv0> transform could not transform video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive in anything we support
0:00:00.065902899 7743 0x1523b0 WARN GST_PADS gstpad.c:3669:gst_pad_peer_query:<capsfilter0:src> could not send sticky events
0:00:00.066096647 7743 0x1523b0 WARN default gstvideopool.c:171:video_buffer_pool_set_config:<videobufferpool0> no caps in config
0:00:00.073631515 7743 0x1523b0 WARN basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<nvvconv0> transform could not transform video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive in anything we support
0:00:00.074008803 7743 0x1523b0 WARN basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<nvvconv0> transform could not transform video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive in anything we support
0:00:00.074098281 7743 0x1523b0 WARN basesrc gstbasesrc.c:2865:gst_base_src_loop:<videotestsrc0> error: Internal data flow error.
0:00:00.074135364 7743 0x1523b0 WARN basesrc gstbasesrc.c:2865:gst_base_src_loop:<videotestsrc0> error: streaming task paused, reason not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.074572286 7743 0x1523b0 WARN basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<nvvconv0> transform could not transform video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive in anything we support
0:00:00.074912387 7743 0x1523b0 WARN basetransform gstbasetransform.c:1373:gst_base_transform_setcaps:<nvvconv0> transform could not transform video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive in anything we support
Freeing pipeline ...
The pipeline without the nvvidconv runs perfectly albeit at 30-40% CPU usage.