Dear,
I would test retinex element on Jetson TX2, for both CSI-2 and USB camera.
JetPack ver: R28.2.1
gstreamer1.0-plugins-bad installed
After plugin installation, firstly tested test-video-src and got following errors;
nvidia@tegra-ubuntu:~$ gst-launch-1.0 videotestsrc ! decodebin ! videoconvert ! retinex ! videoconvert ! nvoverlaysink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2948): 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 ...
Freeing pipeline ...
This time, I tested USB camera as follows;
nvidia@tegra-ubuntu:~$ gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,framerate=30/1,width=1280,height=720 ! retinex ! nvoverlaysink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:01.141520167
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
[updated]
- I made sure this Retinex element on x86_64 works well.
- gstreamer1.0-plugins-bad package for aarch64 does not have retinex element.
[updated]
Any someone give me hints to run retinex on Jetson ?
Thanks