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
{{ message }}
Repository navigation
Extract timestamps in sync with RTSP sender's wall clock (start_time_realtime) #2365
I'd like to be able to capture timestamps from the sender's wall clock for RTSP. This helps for aligning any analytics drawn on a camera view. FFmpeg computes it from RTCP sender reports and stores it in the public AVFormatContext.start_time_realtime field (libavformat/rtsp.c). PyAV doesn't bind it as is though.
There looks to be a past PR that implemented this (#975), but it was closed due to the need for a public RTSP endpoint. I don't think network access is now needed to test this. The property returns None on any ordinary test file. The field itself comes from FFmpeg so the binding is what would need testing. Here is a code snippet with the suggested change:
Activity
Add InputContainer.start_time_realtime, closes PyAV-Org#2365