I've be struggling with getting consistent audio alignment using OBS Studio. Using the latest version 23.1 under OS X High Sierra with a Mac Mini Late 2012 i5 2 physical cores, 16 GB ram and SSD disk. Camera is a PTZOptics 20X Gen 2 SDI either 1080p or 720p.
I have two audio problems.
#1 Audio lag increases over time
When recording only, I see the audio buffering increase over the session and resulting different lags in the recording. I been working with VLC and ffmpeg directly and see similiar issues. I presume that the rig is just underpowered, but I noticed that if I used ffmpeg -rtsp_transport tcp the problems seem to go away. I understand the technical differences in the protocols and recording tradeoffs. Since I'm trying to get good recording for weddings, etc and its a small private network.. I was undering if there was a way to set OBS to do the same.
#2 Screen Sharing Increases FB Live Lag
Streaming over FB Live. When set this up and use the features that allow me to test when I share on my Timeline to "Only me", everything looks fine and video/audio are in synced with each other when viewed on a separate workstation or iphone FB app. When I switch to my group feed and run the same setup - but remotely controlling the Mini with Mac Screen Sharing, the FB live audio leads its video 10-20 secs. Has anyone else seen lags like this with FB. I presume the lag is due to the use of the GPU by both OBS and Screen Sharing, but its still a lot of lag….
Any pointers or suggestions for either problem?
I have two audio problems.
#1 Audio lag increases over time
When recording only, I see the audio buffering increase over the session and resulting different lags in the recording. I been working with VLC and ffmpeg directly and see similiar issues. I presume that the rig is just underpowered, but I noticed that if I used ffmpeg -rtsp_transport tcp the problems seem to go away. I understand the technical differences in the protocols and recording tradeoffs. Since I'm trying to get good recording for weddings, etc and its a small private network.. I was undering if there was a way to set OBS to do the same.
#2 Screen Sharing Increases FB Live Lag
Streaming over FB Live. When set this up and use the features that allow me to test when I share on my Timeline to "Only me", everything looks fine and video/audio are in synced with each other when viewed on a separate workstation or iphone FB app. When I switch to my group feed and run the same setup - but remotely controlling the Mini with Mac Screen Sharing, the FB live audio leads its video 10-20 secs. Has anyone else seen lags like this with FB. I presume the lag is due to the use of the GPU by both OBS and Screen Sharing, but its still a lot of lag….
Any pointers or suggestions for either problem?