Real-time webcam shaders

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.

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
  Partitioning encrypted CCC Carbon Copy Cloner AND setting up Time Machine on HDD vidin 0 746 05-10-2020, 01:08 PM
Last Post: vidin
  Headless installation of Real VNC server on Rock64 possible? hg6806 3 2,156 11-18-2019, 04:32 AM
Last Post: evilbunny
  Problem with time in rock64 gedas07 2 2,492 11-12-2018, 12:07 PM
Last Post: gedas07
  Any reason why ntp time is 6 minutes slow (Solved) Rocklobster 1 1,164 05-29-2018, 05:27 AM
Last Post: Rocklobster
Question Webcam support nan4k7 7 2,616 12-21-2017, 05:10 AM
Last Post: dkryder

Forum Jump:

Users browsing this thread: 1 Guest(s)