I’m trying to do some format conversion/scaling with nvvidconv, and it doesn’t seem to work at all if I ask it to do anything.
L4T 21.3
Works, and displays video from my webcam to the screen (nvvidconv doesn’t do anything, of course):
gst-launch-1.0 -vvvvv v4l2src device=“/dev/video0” ! “video/x-raw,width=640, height=480, format=(string)I420, framerate=30/1”
! nvvidconv ! “video/x-raw,width=640, height=480, format=(string)I420, framerate=30/1”
! nveglglessink -e
Does not work, with only one difference (in bold):
gst-launch-1.0 -vvvvv v4l2src device=“/dev/video0” ! “video/x-raw,width=640, height=480, format=(string)I420, framerate=30/1”
! nvvidconv ! “video/x-raw,width=320, height=240, format=(string)I420, framerate=30/1”
! nveglglessink -e
The pipeline negotiates just fine, a 320x240 window is created, but I never see live video and the console outputs:
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason error (-5)
I also can’t use it to change colorspace to/from GRAY8.
Any ideas?
ubuntu@tegra-ubuntu:~$ gst-inspect-1.0 nvvidconv
Factory Details:
Rank primary (256)
Long-name NvVidConv Plugin
Klass Filter/Converter/Video/Scaler
Description Converts video from one colorspace to another & Resizes
Author amit pandya apandya@nvidia.com
Plugin Details:
Name nvvidconv
Description video Colorspace conversion & scaler
Filename /usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgstnvvidconv.so
Version 1.2.3
License Proprietary
Source module gstreamer-nvvconv-plugin
Binary package GStreamer nvvconv Plugin
Origin URL http://nvidia.com/