UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer ang083
Observer
248 Views
Registered: ‎02-07-2019

ZCU104-rv-ss-2017-4 Optical Flow Demo reVISION

My setup:

1) See3CAM_CU30_CHL_TC_BX USB Camera

2) HDMI Monitor

Optical flow demo

I downloaded the .zip file from https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841993/reVISION+Getting+Started+Guide+2017.4+rev2#reVISIONGettingStartedGuide2017.4rev2-8RuntheApplication

I followed the guide https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841993/reVISION+Getting+Started+Guide+2017.4+rev2#reVISIONGettingStartedGuide2017.4rev2-8RuntheApplication

I connected a HDMI cable to a monitor and See3CAM_CU30_CHL_TC_BX USB camera to ZCU104.

When I started Teraterm, the monitor gives a blue screen initially.

logfile:

root@zcu102_base_trd:/media/card# cp libopticalflow.so /usr/lib
root@zcu102_base_trd:/media/card# cp libgstsdxopticalflow.so /usr/lib/gstreamer-1.0
root@zcu102_base_trd:/media/card# cp libgstsdxbase.so /usr/lib/gstreamer-1.0
root@zcu102_base_trd:/media/card# cp libgstsdxallocator.so /usr/lib/gstreamer-1.0
root@zcu102_base_trd:/media/card# video_cmd -S
VIDEO SOURCE ID VIDEO DEVNODE
HDMI Input 0 /dev/video2
USB Webcam 1 /dev/video4
Virtual Video De 2 /dev/video0

root@zcu102_base_trd:/media/card# video_cmd -s 1 -i 1920x1080@UYVY -X
/dev/video4
root@zcu102_base_trd:/media/card# video_cmd -d 1 -o 1920x1080 &
[6] 2521
root@zcu102_base_trd:/media/card# ERROR: Query DV timings failed: Link has been severed

root@zcu102_base_trd:/media/card# gst-launch-1.0 v4l2src device=/dev/video4 io-mode=dmabuf! "video/x-raw, width=1920, height=1080, format=UYVY" ! sdxopticalflow filter-mode=1 ! queue ! kmssink driver-name=xilinx_drm plane-id=26 sync=false

(gst-launch-1.0:2561): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
WARNING: erroneous pipeline: could not set property "io-mode" in element "v4l2src0" to "dmabuf!"

Anyone help? Thanks

 

 

0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
178 Views
Registered: ‎08-20-2018

Re: ZCU104-rv-ss-2017-4 Optical Flow Demo reVISION

Hi @ang083 

*Below is not a solution, just a workaround*

Please try as mentioned below,

ssh into it.

1st shell: 

video_cmd -d 1 -o 1920x1080-60Hz@AR24
ERROR: Query DV timings failed: Link has been severed

Ignore the error message. As you don't need to exit the command, no reconfiguration of the sink takes place.

2nd shell: 

video_cmd -s 1 -i 1920x1080@UYVY -X

gst-launch-1.0 v4l2src device=/dev/video4 io-mode=dmabuf ! "video/x-raw, width=1920, height=1080, format=UYVY" ! sdxopticalflow filter-mode=1 ! queue ! kmssink driver-name=xilinx_drm_mixer plane-id=28 sync=false

 

 

 

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos