roflcoopter / viseron

Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.
MIT License
1.51k stars 155 forks source link

Security Camera with green distortion #597

Closed Dvalin21 closed 1 year ago

Dvalin21 commented 1 year ago

Security Camera1

I just added this new camera BESDER Resolution 3632x1080 H265

However I get this green bar (possibly ffmpeg) when I connect this camera. I don't see any logs. Thanks!

fanningert commented 1 year ago

Test adding width and hight to the camera settings. But check the correct resultion with ffprobe and use the correct size values. I had the same problem, because one of my camera has a strange resolution "1920x1072" and in my first try I set the size to "1920x1080". The result was the same effect like you are having.

ffmpeg:
  camera:
    camgarage01:
      name: camgarage01
      host: xxx
      port: xxx
      path: xxx
      protocol: rtsp
      width: 3632
      height: 1080
Dvalin21 commented 1 year ago

Test adding width and hight to the camera settings. But check the correct resultion with ffprobe and use the correct size values. I had the same problem, because one of my camera has a strange resolution "1920x1072" and in my first try I set the size to "1920x1080". The result was the same effect like you are having.

ffmpeg:
  camera:
    camgarage01:
      name: camgarage01
      host: xxx
      port: xxx
      path: xxx
      protocol: rtsp
      width: 3632
      height: 1080

I did verify, the width and height is the 3632x1080

 Stream #0:0: Video: hevc, yuvj420p(pc), 3632x1080, 12 fps, 12 tbr, 90k tbn
  Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
roflcoopter commented 1 year ago

Some cameras do not report the correct information to FFprobe, is there an included manual or configuration UI that says what the resolution is

fanningert commented 1 year ago

@Dvalin21 A other option to test is with VLC or MPV. I checked the values also with mpv in my case. mpv rtsp://[Adress]:[Port]/camgarage01 and then in MPV pressing the key "I".

Dvalin21 commented 1 year ago

Some cameras do not report the correct information to FFprobe, is there an included manual or configuration UI that says what the resolution is

I can contact the seller for a full description of specs. However it suppose to be a 180 degree viewing.

VLC SH

Dvalin21 commented 1 year ago

So its time to humble myself. I went back to config and noticed I had 1440 instead of 1080 (the other cameras are 1440) Thanks for the help. Next time I think I just need to triple check before posting here.