You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, I'd like to thank the authors for creating this project.
Using the bare metal approach, I've recently deployed unifi-cam-proxy on a UDM Pro. I've used the latest main branch (last commit 21 September 2023). The rtsp steam is coming from a HDMI screen capture device, showing the screen of a machine. The RTSP stream is 720p @ 30Hz, h264, 6000kbit.
I have noticed the following problems:
The real-time viewer often shows a green screen and other artifacts, though playback of the stream via Unifi Protect works flawlessly and does not show the same artifacts. I suppose the playback comes from the unifi encoder/streamer, rather than directly from ffmpeg. For completeness, the stream from the machine itself does not have any artifacts. Lowering the FPS appears to 15 reduces the green flicker, but not the other artifacts. Sometimes, just sometimes, if works flawlessly. It almost feels like it misses a keyframe every now and then.
When starting the stream, the unifi protect playback timeline and the machine time match. However, after 12 hours or so, there will be a mismatch of approximately 30 minutes between the timeline and machine time (the machine time running behind).
I have added --ffmpeg-args '-c:v copy -framerate 30 -bsf:v "h264_metadata=tick_rate=60"' which might or might not have improved the situation, but generally the ffmpeg arguments seem to do very little for me.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
First, I'd like to thank the authors for creating this project.
Using the bare metal approach, I've recently deployed unifi-cam-proxy on a UDM Pro. I've used the latest main branch (last commit 21 September 2023). The rtsp steam is coming from a HDMI screen capture device, showing the screen of a machine. The RTSP stream is 720p @ 30Hz, h264, 6000kbit.
I have noticed the following problems:
The real-time viewer often shows a green screen and other artifacts, though playback of the stream via Unifi Protect works flawlessly and does not show the same artifacts. I suppose the playback comes from the unifi encoder/streamer, rather than directly from ffmpeg. For completeness, the stream from the machine itself does not have any artifacts. Lowering the FPS appears to 15 reduces the green flicker, but not the other artifacts. Sometimes, just sometimes, if works flawlessly. It almost feels like it misses a keyframe every now and then.
When starting the stream, the unifi protect playback timeline and the machine time match. However, after 12 hours or so, there will be a mismatch of approximately 30 minutes between the timeline and machine time (the machine time running behind).
I have added
--ffmpeg-args '-c:v copy -framerate 30 -bsf:v "h264_metadata=tick_rate=60"'
which might or might not have improved the situation, but generally the ffmpeg arguments seem to do very little for me.Any ideas are greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions