Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera shared streaming not working #882

Open
4gemenot opened this issue Jan 8, 2025 · 1 comment
Open

Camera shared streaming not working #882

4gemenot opened this issue Jan 8, 2025 · 1 comment

Comments

@4gemenot
Copy link

4gemenot commented Jan 8, 2025

This is my first time using Viseron, and I am not yet familiar with it. I have the configuration below. This is a shared streaming from the Unifi Protect camera.

ffmpeg:
camera:
viseron_camera:
name: Camera 1
host: monitor.ui.com/eabb4de6-5e23-4c67-80a1-91ee4dfdb5ca
path: /mjpg/video.mjpg
port: 80
stream_format: mjpeg
fps: 6
recorder:
idle_timeout: 1
codec: h264
viseron_camera2:
name: Camera 2
host: monitor.ui.com/3550eafa-3f78-4498-9899-649f31a06b0d
path: /mjpg/video.mjpg
stream_format: mjpeg
port: 443
fps: 2
protocol: https
recorder:
idle_timeout: 1
codec: h264
viseron_camera3:
name: Camera 3
host: monitor.ui.com/2dc2615a-a290-47e8-bdc4-add5a80d57be
path: /mjpg/video.mjpg
port: 80
stream_format: mjpeg
fps: 6
recorder:
idle_timeout: 1
codec: h264

Getting below error.

[2025-01-08 10:44:54] [ERROR ] [viseron.components.ffmpeg.stream.viseron_camera2] - [tcp @ 0x55c42a8110c0] Port missing in uri
[2025-01-08 10:44:54] [ERROR ] [viseron.components.ffmpeg.stream.viseron_camera2] - https://https://monitor.ui.com/3550eafa-3f78-4498-9899-649f31a06b0d:443/mjpg/video.mjpg: Invalid argument
[2025-01-08 10:44:54] [ERROR ] [viseron.components] - Domain camera for component ffmpeg is not ready. Retrying in 50 seconds. Error: FFprobe could not connect to stream. Output: {'error': {'code': -22, 'string': 'Invalid argument'}}
[2025-01-08 10:44:54] [ERROR ] [viseron.components.ffmpeg.stream.viseron_camera3] - [tcp @ 0x562db6abfa80] Port missing in uri
[2025-01-08 10:44:54] [ERROR ] [viseron.components.ffmpeg.stream.viseron_camera3] - http://https://monitor.ui.com/2dc2615a-a290-47e8-bdc4-add5a80d57be:80/mjpg/video.mjpg: Invalid argument
[2025-01-08 10:44:54] [ERROR ] [viseron.components] - Domain camera for component ffmpeg is not ready. Retrying in 50 seconds. Error: FFprobe could not connect to stream. Output: {'error': {'code': -22, 'string': 'Invalid argument'}}
[2025-01-08 10:44:54] [ERROR ] [viseron.components.ffmpeg.stream.viseron_camera] - [tcp @ 0x55fd2cc72a80] Port missing in uri
[2025-01-08 10:44:54] [ERROR ] [viseron.components.ffmpeg.stream.viseron_camera] - http://https://monitor.ui.com/eabb4de6-5e23-4c67-80a1-91ee4dfdb5ca:80/mjpg/video.mjpg: Invalid argument
[2025-01-08 10:44:54] [ERROR ] [viseron.components] - Domain camera for component ffmpeg is not ready. Retrying in 50 seconds. Error: FFprobe could not connect to stream. Output: {'error': {'code': -22, 'string': 'Invalid argument'}}

Thanks,

@roflcoopter
Copy link
Owner

Could you enable debug logging, restart Viseron and send me the logs?

logger:
  default_level: debug

Also, can you repost your config but with triple backticks so that formatting is preserved?
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants