Closed UPEngineer closed 1 year ago
try this:
shed:
- ffmpeg:rtsp://admin:*****$@192.168.20.6:554/cam/realmonitor?channel=1&subtype=0#video=h264
- "ffmpeg:shed#video=h264#audio=aac"
shed_sub:
- ffmpeg:rtsp://admin:****$@192.168.20.6:554/cam/realmonitor?channel=1&subtype=1#video=h264
- "ffmpeg:shed_sub#video=h264#audio=aac"
and.. are you sure about 1024x452 resolution?
I tried that and it did not work. I will double check the settings for the detect stream. It is a 180 degree camera.
I looked at the camera settings. The main stream is 4096 x 1800 and the sub stream is 1024 x 452.
Your phone is likely unable to decode the larger stream. I would suggest setting
shed:
ffmpeg:
...
live:
stream_name: shed_sub
so that the sub stream is used for the live view
Weird thing is if I click on debug, the live video shows just fine.
That is not weird, the debug view comes from decoded frames which is entirely different than the standard mse / webrtc live view
@NickM-27 , you my friend are a lifesaver. That suggestion did the trick! Never thought about that, but since it is a much larger picture since it is 180 degree camera, it makes sense.
Describe the problem you are having
I have a weird issue going on and I cannot find out what is causing it. I have gotortc configured along with the corresponding restream option. I can view live video on the desktop but I cannot view it on the android phone. I have 3 other cameras and they work fine, it is just this Dahua camera. Weird thing is if I click on debug, the live video shows just fine.
In my config file below, it is the shed and shed_sub camera.
Version
0.12.0
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Network connection
Wired
Camera make and model
Empiretech IPC-Color4K-T180
Any other information that may be helpful
No response