Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6429 Discussions

Not related to this forum But someone might know the solution

Bugtechz
Beginner
284 Views

Hi,

 

I'm trying to run a video on a kv260.

I follow this tutorial (https://xilinx.github.io/kria-apps-docs/creating_applications/2022.1/build/html/docs/kria_vitis_acceleration_flow/petalinux-firmware.html) and I flash this petalinux (2022.1) with the configuration of the tutorial on the sd-card.

I saw that ffmpeg was not enabled so I follow the command below in this link (https://docs.amd.com/r/2022.1-English/ug1144-petalinux-tools-reference-guide/Adding-an-Existing-Recipe-into-the-Root-File-System) because I'm working with video -file.

 

After

-) petalinux -config -c rootfs where I enabled it

-) petalinux-build --sdk

-) ./sdk.sh

-) petalinux-package --wic --bootfiles "ramdisk.cpio.gz.u-boot boot.scr Image system.dtb"

 

 

Actually I run a c++ code created with Vitis 2022.2 where I print the build information with the function getBuildInformation() but I continue seeing this

 

Video I/O:

  GStreamer:          YES (1.18.5)

  v4l/v4l2:          YES (linux/videodev2.h)

  gPhoto2:           YES

 

without ffmpeg.

I also see this two warnings related to gstreamer that I don't understand how resolve.

 

[ WARN:0] global /usr/src/debug/opencv/4.5.2-r0/git/modules/videoio/src/cap_gstreamer.cpp (854) open OpenCV | GStreamer warning: Error opening bin: unexpected reference "video" - ignoring

[ WARN:0] global /usr/src/debug/opencv/4.5.2-r0/git/modules/videoio/src/cap_gstreamer.cpp (597) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created

Unable to open file!

 

 

Could someone tell me what I'm doing wrong please?

Thanks in advance !

@ALL 

0 Kudos
1 Reply
Aznie_Intel
Moderator
106 Views

Hi Bugtechnz,

 

Your GStreamer issue is because the data stream is not present in a GSTPipeline. To use GStreamer, OpenCV expects a valid pipeline. You may check the Gstreamer capabilities.

 

However, for better support regarding OpenCV. I suggest you post your question on OpenCV Github. There is a similar issue in the forum that might help you.

https://github.com/opencv/opencv/issues/23864

 

Therefore, since this is not related to OpenVINO. I will proceed to close the case. This thread will no longer be monitored since we have provided information. If you need any additional information from Intel, please submit a new question.

 

 

Regards,

Aznie

 


0 Kudos
Reply