1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RPi + Other Software RPi3 + RPi camera with FishEye lens

Discussion in 'Software Support' started by panec, 23 October 2020.

  1. panec

    panec New Member


    I'm trying to set up hyperion.ng with an RPi camera that I want to position very close to the TV. All seems to be working fine OOTB latest 2.0.0-alpha.8 version. The only issue I have is the distortion because of the ultra-wide fisheye lens. I tried to correct it using v4l2loopback and ffmpeg as suggested here:
    but with no luck. Even if I create a /dev/video1 stream I cannot successfully switch hyperion to use it.
    After running this command:
    ffmpeg -re -i /dev/video0 -vf "perspective=382:127:1563:91:387:761:1495:986" -map 0:v -f v4l2 /dev/video1
    I receive this error:
    hyperiond V4L2:/DEV/VI : <ERROR> Throws error nr: VIDIOC_G_FMT error code 22, Invalid argument

    Any suggestions on how that can be done efficiently?
    Last edited: 23 October 2020