Real-time webcam shaders
#1
Hello,

In my project I need to apply shaders on a webcam video flux in real-time and show the result on fullscreen.
Webcam output can be MjPEG or H.264, thus we also need to use hardware for the decoding process.
Maybe there is different way to achieve it.

I tried to use OpenCV with OpenGL. However the OpenCV doesn't use hardware acceleration to decode the camera flux.
I've compiled and installed it on a ayufan Bionic lxde 0.6.41 image. I've also tried to do this on Stretch 0.5.15. Other more recent version or Bionic or Stretch doesn't boot on my Rock64 board.
Hardware acceleration seems to work because rkmpv is able to display nearly real-time webcam video, there is juste a huge latency reducing over the time.



Do you have ideas to make OpenCV use GPU or another app/library etc to to realize it with OpenGL ?

Thank you very much in advance.
  Reply


Messages In This Thread
Real-time webcam shaders - by yoann.b87 - 06-15-2018, 08:06 AM
RE: Real-time webcam shaders - by fire219 - 06-15-2018, 08:38 AM
RE: Real-time webcam shaders - by yoann.b87 - 06-16-2018, 04:04 AM
RE: Real-time webcam shaders - by fire219 - 06-16-2018, 06:33 AM
RE: Real-time webcam shaders - by yoann.b87 - 06-18-2018, 09:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Disabling last mount time check on boot acwest 0 909 03-03-2023, 09:24 PM
Last Post: acwest
  Partitioning encrypted CCC Carbon Copy Cloner AND setting up Time Machine on HDD vidin 0 2,048 05-10-2020, 01:08 PM
Last Post: vidin
  Headless installation of Real VNC server on Rock64 possible? hg6806 3 5,977 11-18-2019, 04:32 AM
Last Post: evilbunny
  Problem with time in rock64 gedas07 2 5,166 11-12-2018, 12:07 PM
Last Post: gedas07
  Any reason why ntp time is 6 minutes slow (Solved) Rocklobster 1 2,886 05-29-2018, 05:27 AM
Last Post: Rocklobster
Question Webcam support nan4k7 7 7,660 12-21-2017, 05:10 AM
Last Post: dkryder

Forum Jump:


Users browsing this thread: 1 Guest(s)