Video glitch (a few old frames displayed) when switching Video source.

bautz

New Member
hi, Forum--
I am managing live streaming for a baseball team (Serie A Baseball, Italy).
I have three IP cameras managed by OBS Studio (version 31.0.3, 64 bit).

When switching to one of the three cameras, I have a “time glitch” in the OBS output video:
the video of the “new” camera jumps back to a few seconds earlier, insterting about 5 frames “from the past”, and then returns to normal operation with the current video frames.

Any idea what could be the cause?

My first hypothesis is the following:
  • The video from the IP cameras is encoded with temporal prediction (H264/AVC)
  • The specific camera causing the issue keeps the AVC bistream in its RTP buffer
  • When selecting that specific camera, anything present in the RTP buffer (from a few seconds earlier) is sent to output, until an Intra frame arrives from the IP camera, returning to normal operation.

Has anyone in the forum experienced something similar?

Any ideas on how to “work around” this issue?

The only similar post I found in the forum is rather dated (August 2017)…
https://obsproject.com/forum/threads/glitchy-transition-when-switching-scenes.73293/

Thanks in advance for any help.
 
We came across a similar issue recently when switching to a particular scene which had inputs coming in via SRT. Another almost identical scene with the same input with different overlays did not have the same issue when switching to it. That made us delete the former scene which had this issue and recreate it. The issue of old frames appearing went away afterwards. We were on OBS version 32 on Windows btw.
 
Back
Top