Audio on projector feed for M4 Mac Mini

pulsar_falcon

New Member
Short Version:

I'm having issues with Audio sync for Media sources and VLC playlist sources over HDMI using the Audio Monitor and a fullscreen projector. On my M4 mac mini. Video can be a few frames delayed to a few seconds.

Have a I missed a plugin or a setting to make an audio output locally that reflects what the audio would sound like via a stream or recording while using a full screen projector?

Long Version:

I thought OBS would solve a lot of issues I was having with a very particular set up. I thought it had fixed every issue I had until I noticed the sound sync issue. Googling has told my why it's happening, that the Audio monitor prioritizes realtime over anything else, which is very important for OBS primary function. It has been less helpful in finding a way to work around this limitation, if there is one.

Here is the setup I have. I have a room that operates as a mini TV studio. A few times a day we go "live" doing a show with cameras, microphones and various computers etc. that are all handled with a Roland Switcher. OBS is not needed for this function, outside of occasionally recording the final product out of the switcher.

When not Live, we show a variety of pre-recorded content. Up until now that has been a playlist of videos using the native apple "TV" app (Prize contender for the worst named program to google ever!). This has a few major issues.

Issue 1 (minor): The first issue was that obviously playlist creation and triggering is all manual, no automation possible. We've dealt with it but each new update has brought more issues.

Issue 2 (Really annoying): The next pain point was that there was no setting to force videos to play full screen on a designated monitor. It used to mostly go back to whatever it was doing last time a video started, but lately it's started defaulting to windowed on primary monitor rather than full screen on last used monitor.

Issue 3 (Dealbreaker): Playlists broke. Apple decided that it knew better, and now there are situations where the playlist is ignored as the TV app chooses a different file to play.

I had already tried out VLC. It fixed Issue 2 immediately. There are options to choose full screen playback as default and which screen that should be on. Issue 1, playlists seemed like a slightly worse experience at first but not dramatically worse. However, using it more, it was actuall harder to use. Especially with the next point.

Issue 4: I needed a way to automate things, and have an external team provide content for these playlists as well. And have non technical staff use the system locally. The external team is a new requirement that has popped up in the last few months.

Enter OBS. I had used it personally for virtual webcam and livestream reasons. But a colleague encouraged me to look at it for this use case.

It seemed perfect. Using the Advance Scene Switcher plugin I could set everything up.

  • There are a few time of day macros that choose scenes with different VLC playlists appropriate for that time. The playlists consist of a shared folder with the external team where they can place their videos and a second folder of content created locally. VLC Media source is set to Shuffle and Loop so that both sets of videos are seen.
  • There are macros that open the projector full screen whenever the automatic playlists are playing
  • There are manual playlists and scenes that play in order to play intro videos for our "live" shows
  • Most importantly, there are macros and scenes that close the fullscreen projector and audio monitor when it's NOT neeeded. The computer currently doing this job is also used as the main computer when doing live shows, so it can't just be looping content in the background all the time. I might need HDMI output to show a zoom guest instead for example, and can't have the audio and video playing in the background.
So given that it solved all the issues I previously had I was really sad when I noticed the audio sync issue. Most annoyingly, it's not consistent. Some videos have a small, almost unnoticeable one or two frame delay, and then other videos could have a 3 second delay.

Solutions I have found from googling:
  • TRIED, DOESN'T WORK. Audio Monitor Filter, rather than OBS Audio monitor: Allows a small amount of delay on monitor. But since delay is inconsistent not a solution, and is limited to a shorter delay that the observed longest delay.

  • CAN'T TRY, BREAKS REQUIREMENTS. Using NDI output locally. Apparently sending out the program via NDI and then opening that stream on the same computer would work. However a really big advantage of OBS is the aforemnetioned opening and closing of full screen projecto, on the correct screen, when needed. Asking the team to understand opeing OBS and treat clicking on a scene as clicking a "start show" or "Start Playlist" button is one thing. Asking them to open a second program to decode an NDI stream stretches past what I can ask my non-technical team to do.

    NDI on a second device is more doeable, as it could stay open all the time, making a more straightforward setup. However I don't have a spare device to do this with right now. The other Mac in the studio currently has a different job that uses the hardware limited maximum 3 HDMI outputs and there is no budget for another computer. I may be able to change this down the line, but not in the short to medium term.

  • HAVEN'T TRIED YET. Virtual Audio Device, blackhole. Haven't had a chance to try this yet, but AI suggested feeding the monitor to a virtual device powered by blackhole. I'm confused by it's justification for this because it said it changed how the hardware responded to clock cycles, becuase OBS is using the hardware and blackhole would be using software. I'm willing to try it but was wondering if a real person had acutally tried this or thinks it's a good idea.
Anyway that is a lot of text to basically ask, is there anyway that I can keep using OBS in this way? I know it's not it's use case, I'm not streaming and not using this convoluted scene set up for recording. But OBS seems to be a more powerful way of using VLC than VLC itself.

If not, does anyone have any suggestions on how to get a similar setup somewhere else. Are there VLC extensions that can do anything like this? Or a completely different program. I'd rather stay in the Open Source world personally, but if there is something perfect in the non-opensource world, I could ask higher ups to take a look.
 
Pick one of the clips that’s three seconds out and record the OBS program locally while the Roland records that same HDMI playback. Compare the same mouth movement in the source file and both recordings. If only the Roland capture is off, you can leave the playlist and source timing alone while testing the projector and monitoring path.
 
Back
Top