How to Sync NDI Audio & Camera Sources in OBS

Sdílet
Vložit
  • čas přidán 2. 08. 2024
  • 🚨 NOTE: 🚨
    The Free Audio Video Sync Tool comes with the Book Download.
    Please download either the Unofficial Guide to OBS or the OBS Super User Guide Book to gain access to the file.
    🔗 Download Unofficial Guide to OBS Book: bit.ly/476nmKI
    🔗 Download OBS Super User Guide Book: streamgeeks.us/obs-superuser/
    📖 Chapters:
    Intro Card 0:00
    Intro 0:06
    Jump into OBS 0:38
    Open NDI Source 0:46
    1. Bandwidth Settings 0:52
    2. Sync 1:25
    3. Latency Mode 1:43
    4. This should fix the problem 2:12
    Network Timing in PTZOptics Cameras 2:27
    NTP Settings in PTZOptics WEB UI 2:54
    Still, having Issues? 3:40
    Syncing Audio in OBS 4:13
    Audio Video Sync Tool 5:10
    What is the Audio Video Sync Tool 5:43
    How to use Audio Video Sync Tool PDF 6:50
    Review 7:19
    Outro 8:10
    Please Subscribe! 8:35
    End 8:44
    ▼ Follow PTZOptics:
    LinkedIn: / ptzoptics
    Twitter: / ptzoptics
    Instagram: / ptzoptics
    Facebook: / ptzoptics
    Website: ptzoptics.com/
    CZcams: / ptzoptics
    ► About:
    PTZOptics is a manufacturer of robotic pan, tilt, and zoom camera solutions for a variety of broadcast applications, including both video production and live streaming. Established in 2014, PTZOptics disrupted the professional audio-visual industry when a group of engineers from a highly-respected systems integration firm created the first in a portfolio of cameras that was a part of their vision to create a “swiss army knife” for the complex needs of broadcast landscapes.
    ►Join our PTZOptics User Group:
    Link: / ptzopticspals
    ►Join our Churches That Live Stream User Group:
    Link: / churchstreamers
    ►Check out the PTZOptics Knowledge Base:
    Link: help.ptzoptics.com/support/di...
    ►Need support? Feel free to email us:
    Link: support@PTZOptics.com
    ▼ Hashtags:
    #ptzoptics, #livestreaming, #tech, #videoproduction, #PTZCameras, #streamingmedia, #webinar, #collaboration #wirecast #vmix #newtek #Tricaster #blackmagic #FacebookLive #CZcamsLive #obs #openbroadcastsoftware #zoom #live #AV #audiovisual
  • Věda a technologie

Komentáře • 25

  • @PTZOptics
    @PTZOptics  Před 8 měsíci +3

    🚨 NOTE: 🚨
    The Free Audio Video Sync Tool comes with the Book Download.
    Please download either the Unofficial Guide to OBS or the OBS Super User Guide Book to gain access to the file.
    🔗 Download Unofficial Guide to OBS Book: bit.ly/476nmKI
    🔗 Download OBS Super User Guide Book: streamgeeks.us/obs-superuser/

  • @h4drogaming
    @h4drogaming Před 8 dny

    Awesome vid and the video included in the book download is a massive time saver 👍

    • @PTZOptics
      @PTZOptics  Před 8 dny +1

      Thank you, and great to hear!
      Learn More: ptzoptics.com/

  • @electricalbatross5797
    @electricalbatross5797 Před 6 měsíci +1

    Is source timing better than network timing? I've spent hundreds on networking equipment to eliminate delay, but I'm still having a weird issue with the OBS NDI plugin (which I feel I've narrowed the issue down to).
    If I look at the camera feed on the IP address of the PTZ Move, and I look at the NDI source of the SAME camera (I literally only have one NDI camera), they're both out of sync with each other. What's worse, it seems like over time they get more out of sync, so using a fixed audio delay only seems to work for the first 20 minutes or so until the camera begins lagging further behind in OBS. Despite this, the camera feed on the IP address page of the NDI camera seems to stay consistent.
    I honestly would LOVE for this to be just as simple as adding a delay. I set up the NDI software about a year ago. Has the OBS NDI plugin gotten better since? Do I just need to download some updates? It really feels like I'm out of options here.

    • @PTZOptics
      @PTZOptics  Před 6 měsíci

      Hello!
      The issue you're experiencing with synchronization between the NDI source and the direct IP camera feed in OBS, despite your investment in high-quality networking equipment, suggests a few potential areas to investigate. Here are some steps and considerations that might help resolve or identify the issue:
      1. Update OBS and NDI Plugin
      OBS Updates: Ensure that OBS is updated to the latest version. Updates often include bug fixes and performance improvements.
      NDI Plugin Updates: Similarly, check if there's an updated version of the OBS NDI plugin. NDI technology and plugins are regularly updated for efficiency and compatibility.
      2. Network Performance
      Network Load: High network traffic can affect NDI stream quality. Ensure your network isn't overloaded.
      Dedicated Network: If possible, use a dedicated network for NDI streaming to avoid congestion.
      3. NDI Source Settings
      Bandwidth: Check if there are bandwidth settings on the NDI source that can be adjusted. Lowering the quality slightly might improve synchronization.
      Buffering: Some NDI tools have buffering or latency settings. Adjusting these might help sync the feed.
      4. OBS Settings
      Sync Offset: In OBS, try adjusting the sync offset for the audio to match the NDI video feed.
      Source Timing vs. Network Timing: Experiment with both to see which provides better synchronization in your setup.
      5. Camera Settings
      Firmware Updates: Ensure your PTZOptics camera firmware is up to date.
      Camera Output Settings: Double-check the camera’s output settings to ensure they are optimized for NDI.
      6. Hardware Considerations
      Computer Performance: Ensure your computer hardware can handle the processing load of NDI streaming, which can be intensive.
      Capture Device: If you're using a capture device, ensure it's not introducing latency.
      7. Test with Alternative Software
      To isolate whether the issue is with OBS or the NDI stream itself, try using the NDI feed with different software (like vMix or Wirecast) and see if the issue persists.
      8. Consult PTZOptics Support
      Since you are using a PTZOptics camera, reaching out to their support might provide specific insights or known issues with NDI streams.
      9. NDI Tools and Network Analysis
      NDI Analysis Tools: Use NDI analysis tools to inspect the NDI stream for issues.
      Network Analysis: Tools like Wireshark can help analyze network traffic and identify potential bottlenecks or packet loss issues affecting the NDI stream.
      10. Look for Community Insights
      Forums and User Groups: Sometimes, specific issues are discussed and resolved in user groups or forums where others have encountered similar challenges.
      Given the complexity of NDI streaming and network-related synchronization, the solution might require a combination of the above steps. The fact that the issue worsens over time suggests a buffering or a gradually desynchronizing problem, which might be resolved with updates, adjustments in settings, or network optimization.

  • @FredZehr
    @FredZehr Před 8 měsíci

    This is a sync question. We will always have a camera hardwired with audio direct to the camera for our live productions. We would love to add some NDI cameras. Our experimenting (with a mevo start) has demonstrated that syncing audio is difficult. Currently our hardwired cameras are connected to the yolobox pro and NDI sources come into OBS then to the Yolobox via hdmi. Any suggestions?

    • @PTZOptics
      @PTZOptics  Před 6 měsíci +1

      Hey Fred!
      Syncing audio with a mix of hardwired cameras and NDI cameras, especially in a setup involving both a YoloBox Pro and OBS, can indeed be challenging due to the different latencies inherent in each transmission method. Here are some suggestions to help achieve better synchronization:
      1. Determine the Latency Differences
      Conduct tests to determine the latency difference between your hardwired camera (with audio directly connected) and your NDI cameras.
      Use a clapper board or a similar method to visually and audibly mark a point, then measure the time difference in OBS.
      2. Apply Audio Delays in OBS
      In OBS, you can apply an audio delay to match the video latency.
      Go to 'Advanced Audio Properties' in OBS, and adjust the 'Sync Offset' for your audio sources to align with the video from your NDI cameras.
      3. Consistent Frame Rates
      Ensure that all your video sources, both NDI and hardwired, are using the same frame rate settings. Mismatched frame rates can contribute to sync issues.
      4. Stream Quality and Network Stability
      For NDI cameras, ensure your network is stable and has sufficient bandwidth to handle the NDI stream without additional latency.
      If possible, use a dedicated network for NDI traffic.
      5. Hardware Solutions
      Consider using a hardware audio delay processor before the audio enters the YoloBox or OBS. This can provide a more stable and consistent delay adjustment.
      Some advanced switchers and mixers offer built-in audio delay features which might be helpful.
      6. Test with YoloBox Directly
      If possible, test bringing an NDI source directly into the YoloBox Pro, if it supports NDI, to see if that reduces sync issues compared to routing through OBS.
      7. OBS as the Main Mixer
      Use OBS to mix all your sources (both video and audio) and then send a single program output to the YoloBox Pro. This way, you handle all sync issues in OBS before it reaches the YoloBox.
      8. Software Updates
      Ensure that all software and firmware (OBS, NDI tools, YoloBox firmware) are up to date, as updates often include performance improvements and bug fixes.
      9. External Sync Tools
      In complex setups, professional AV synchronization tools can be employed to manage and correct sync issues.
      10. Professional Consultation
      For complex setups, consulting with a professional AV technician who has experience in live production setups with mixed sources could provide valuable insights and solutions.
      Audio-video synchronization in mixed-source environments often requires some trial and error to get right, as the delay can vary based on many factors. Regular testing and adjustment are key to maintaining sync throughout your production.

  • @dusantatomirovic8187
    @dusantatomirovic8187 Před 8 měsíci

    Thanks for this. All of it is logical if you have NDI sources only. However, I have five NDI cameras: two are A+V=HDMI to NDI, and those are in sync. The other three cameras are video only, and the audio comes into OBS through a Behringer mixer and a USB connection. I have never been able to sync those sources together. How can that be resolved?

    • @PTZOptics
      @PTZOptics  Před 6 měsíci +1

      Hello!
      Syncing video from NDI cameras with audio coming from a separate source, like a Behringer mixer via USB, in OBS can be challenging due to inherent delays in processing and transmission of different types of signals. Here are steps to resolve this synchronization issue:
      1. Measure the Delay
      First, determine the amount of delay between your video and audio sources. This can be done by recording a test clip where you clap your hands or use a clapboard in view of the cameras while recording the sound through your mixer. Then, in OBS or a video editing software, measure the time difference between the visual clap and the audible clap.
      2. Adjust Audio Delay in OBS
      Once you know the delay, you can adjust the audio sync in OBS:
      Right-click on your audio source (Behringer mixer) in the 'Sources' list.
      Choose 'Advanced Audio Properties'.
      Here, you'll find a field for 'Sync Offset' for your audio source. Enter the delay you measured (in milliseconds).
      This offset will delay the audio to match the video.
      3. Fine-Tune the Sync
      You may need to do a few test recordings and adjust the sync offset to fine-tune the synchronization.
      4. Consider Using a Hardware Audio Delay
      If the delay is inconsistent or changes over time, a hardware solution to delay the audio before it enters OBS might be more reliable.
      5. Check for Software Updates
      Ensure that both OBS and any NDI plugins you are using are fully updated, as updates can sometimes resolve such sync issues.
      6. Network Stability
      Since NDI streams are network-dependent, ensure your network is stable and has sufficient bandwidth. Network issues can cause additional delays or jitter.
      7. Consistent Frame Rates
      Ensure all your video sources (NDI cameras) and OBS settings are using the same frame rate. Mismatched frame rates can cause sync issues.
      8. Use a Dedicated NDI Network
      If possible, use a dedicated network for NDI traffic to reduce congestion and ensure stable transmission speeds.
      9. Check Camera Settings
      For the cameras sending NDI video, check if there are any settings that might be affecting the timing, like buffer settings or network optimizations.
      10. Experiment with OBS Settings
      Test with different OBS settings for the NDI sources, like changing the buffering settings.
      If using OBS's 'Studio Mode', try without it to see if there's any difference.
      11. External Sync Tools
      In some cases, using external synchronization tools or software might be necessary, especially in complex setups.
      Synchronization in a mixed environment like this can be a process of trial and error, and it may require some patience to get it just right.

    • @dusantatomirovic8187
      @dusantatomirovic8187 Před 6 měsíci

      Thanks for the response. @@PTZOptics One more question: I am considering using Magwell's Pro Convert Audio DX box as an analog to NDI converter (since my entire LAN is NDI dedicated and separate from the outside by a router). Would that help and maybe further simplify the syncing problem or not?

    • @dusantatomirovic8187
      @dusantatomirovic8187 Před 6 měsíci

      @@MobileVideoDevicesMVD I will try that and report back.

  • @fairsitetechnologies9813
    @fairsitetechnologies9813 Před 8 měsíci +2

    Can you post the link to the Sync tool?

    • @PTZOptics
      @PTZOptics  Před 8 měsíci

      Hey! Yes, we will get the link posted tomorrow morning.

    • @PTZOptics
      @PTZOptics  Před 8 měsíci

      🚨 NOTE: 🚨
      The Free Audio Video Sync Tool comes with the Book Download.
      Please download either the Unofficial Guide to OBS or the OBS Super User Guide Book to gain access to the file.
      🔗 Download Unofficial Guide to OBS Book: bit.ly/476nmKI
      🔗 Download OBS Super User Guide Book: streamgeeks.us/obs-superuser/

  • @PTZOptics
    @PTZOptics  Před 8 měsíci +1

    *Download Unofficial Guide to OBS Book:* bit.ly/476nmKI

  • @ghostygaster
    @ghostygaster Před 2 měsíci

    No working black screen ndi

    • @PTZOptics
      @PTZOptics  Před 2 měsíci

      Hello!
      Syncing NDI audio and camera sources in OBS can sometimes be challenging, especially when using a dual PC setup. Here’s a step-by-step guide to help you troubleshoot and sync your NDI audio and camera sources in OBS:
      Step-by-Step Guide to Sync NDI Audio & Camera Sources in OBS
      1. Network Configuration
      Ensure both PCs are on the same network and have stable, high-speed connections.
      2. Install NDI Tools
      On Both PCs: Install the NDI Tools from the NDI website. This will include the necessary drivers and tools for NDI functionality.
      3. OBS-NDI Plugin Installation
      On Both PCs: Install the OBS-NDI plugin, which can be downloaded from the GitHub page. Follow the installation instructions provided on the page.
      4. NDI Output Settings (Streaming PC)
      Main PC (Streaming PC):
      Open OBS.
      Go to Tools > NDI Output Settings.
      Enable the Main Output or create an NDI output for specific sources.
      5. NDI Source Settings (Gaming PC)
      Secondary PC (Gaming PC):
      Open OBS.
      Add your video and audio sources (e.g., game capture, microphone).
      Ensure these sources are being sent out via NDI by selecting them in the NDI Output settings if needed.
      6. Adding NDI Sources in OBS (Streaming PC)
      Main PC (Streaming PC):
      Open OBS.
      Add the NDI sources from the gaming PC:
      Click + in the Sources panel.
      Select NDI Source.
      Name it (e.g., "Gaming PC Video").
      In the properties, select the source from the gaming PC (e.g., "Gaming PC Main Output").
      7. Syncing Audio and Video
      To sync the audio and video from your NDI sources in OBS, follow these steps:
      Add a Video Source:
      Add the NDI video source as described above.
      Add the NDI Audio Source:
      Instead of using the embedded audio in the NDI video source, add a separate NDI audio source:
      Click + in the Sources panel.
      Select Audio Input Capture.
      Name it (e.g., "NDI Audio Source").
      In the properties, select the NDI audio source from the gaming PC.
      Delay Adjustments:
      You may need to add a sync offset to align the audio with the video. This is done using audio filters:
      Right-click on the audio source in the OBS Sources panel.
      Select Filters.
      Add a Render Delay or Video Delay (Async) filter to the video source.
      Add a Delay filter to the audio source.
      Adjust the delay value until the audio matches the video. This can take some trial and error.
      Monitoring and Fine-Tuning:
      Monitor the output to ensure synchronization.
      Use the Advanced Audio Properties in OBS (Edit > Advanced Audio Properties) to fine-tune the sync offset.
      8. OBS Settings for Performance
      Ensure your OBS settings are optimized for performance to reduce any lag or desync issues:
      Video Settings: Set the Base (Canvas) Resolution and Output (Scaled) Resolution to match your sources.
      Output Settings: Adjust the bitrate and encoder settings appropriate for your hardware.
      Network Settings: Make sure your network is not overloaded and consider using a wired connection for more stable performance.
      Additional Tips
      CPU/GPU Load: Ensure neither PC is overloaded. Monitor CPU and GPU usage and adjust settings if necessary.
      OBS Updates: Make sure OBS and all plugins are up to date.
      NDI Latency: Sometimes, network latency can introduce delays. Ensure your network is optimized for low latency.
      Troubleshooting
      Audio Desync: If you continue to experience desync issues, consider using audio delay tools like the Virtual Audio Cable (VAC) or Voicemeeter to fine-tune audio delays.
      NDI Source Not Appearing: Ensure the NDI source is correctly set up on the gaming PC and is broadcasting. Restarting OBS and your PCs can sometimes resolve connectivity issues.
      By following these steps, you should be able to achieve a synchronized setup for NDI audio and camera sources in OBS on a dual PC setup. If you encounter specific issues, please provide more details, and I can offer more targeted assistance.

  • @ghostygaster
    @ghostygaster Před 2 měsíci

    Dual 2 pc

    • @PTZOptics
      @PTZOptics  Před 2 měsíci

      Hello!
      Syncing NDI audio and camera sources in OBS can sometimes be challenging, especially when using a dual PC setup. Here’s a step-by-step guide to help you troubleshoot and sync your NDI audio and camera sources in OBS:
      Step-by-Step Guide to Sync NDI Audio & Camera Sources in OBS
      1. Network Configuration
      Ensure both PCs are on the same network and have stable, high-speed connections.
      2. Install NDI Tools
      On Both PCs: Install the NDI Tools from the NDI website. This will include the necessary drivers and tools for NDI functionality.
      3. OBS-NDI Plugin Installation
      On Both PCs: Install the OBS-NDI plugin, which can be downloaded from the GitHub page. Follow the installation instructions provided on the page.
      4. NDI Output Settings (Streaming PC)
      Main PC (Streaming PC):
      Open OBS.
      Go to Tools > NDI Output Settings.
      Enable the Main Output or create an NDI output for specific sources.
      5. NDI Source Settings (Gaming PC)
      Secondary PC (Gaming PC):
      Open OBS.
      Add your video and audio sources (e.g., game capture, microphone).
      Ensure these sources are being sent out via NDI by selecting them in the NDI Output settings if needed.
      6. Adding NDI Sources in OBS (Streaming PC)
      Main PC (Streaming PC):
      Open OBS.
      Add the NDI sources from the gaming PC:
      Click + in the Sources panel.
      Select NDI Source.
      Name it (e.g., "Gaming PC Video").
      In the properties, select the source from the gaming PC (e.g., "Gaming PC Main Output").
      7. Syncing Audio and Video
      To sync the audio and video from your NDI sources in OBS, follow these steps:
      Add a Video Source:
      Add the NDI video source as described above.
      Add the NDI Audio Source:
      Instead of using the embedded audio in the NDI video source, add a separate NDI audio source:
      Click + in the Sources panel.
      Select Audio Input Capture.
      Name it (e.g., "NDI Audio Source").
      In the properties, select the NDI audio source from the gaming PC.
      Delay Adjustments:
      You may need to add a sync offset to align the audio with the video. This is done using audio filters:
      Right-click on the audio source in the OBS Sources panel.
      Select Filters.
      Add a Render Delay or Video Delay (Async) filter to the video source.
      Add a Delay filter to the audio source.
      Adjust the delay value until the audio matches the video. This can take some trial and error.
      Monitoring and Fine-Tuning:
      Monitor the output to ensure synchronization.
      Use the Advanced Audio Properties in OBS (Edit > Advanced Audio Properties) to fine-tune the sync offset.
      8. OBS Settings for Performance
      Ensure your OBS settings are optimized for performance to reduce any lag or desync issues:
      Video Settings: Set the Base (Canvas) Resolution and Output (Scaled) Resolution to match your sources.
      Output Settings: Adjust the bitrate and encoder settings appropriate for your hardware.
      Network Settings: Make sure your network is not overloaded and consider using a wired connection for more stable performance.
      Additional Tips
      CPU/GPU Load: Ensure neither PC is overloaded. Monitor CPU and GPU usage and adjust settings if necessary.
      OBS Updates: Make sure OBS and all plugins are up to date.
      NDI Latency: Sometimes, network latency can introduce delays. Ensure your network is optimized for low latency.
      Troubleshooting
      Audio Desync: If you continue to experience desync issues, consider using audio delay tools like the Virtual Audio Cable (VAC) or Voicemeeter to fine-tune audio delays.
      NDI Source Not Appearing: Ensure the NDI source is correctly set up on the gaming PC and is broadcasting. Restarting OBS and your PCs can sometimes resolve connectivity issues.
      By following these steps, you should be able to achieve a synchronized setup for NDI audio and camera sources in OBS on a dual PC setup. If you encounter specific issues, please provide more details, and I can offer more targeted assistance.

  • @user-cw8kl1wq3f
    @user-cw8kl1wq3f Před měsícem

    I buy a new laptop, install obs "30.1.2beta"... no more NDI source!!!! What i do now??!!!!

    • @PTZOptics
      @PTZOptics  Před měsícem +1

      Hello!
      Do you need to download and install the OBS NDI plugin still? That's what I needed to do for OBS and NDI sources.
      Thanks for checking out our Channel!
      Learn More: ptzoptics.com/

    • @user-cw8kl1wq3f
      @user-cw8kl1wq3f Před měsícem +1

      @@PTZOptics hi Hello, thank you very much for answering, yes, I have already installed the plugin more than 3 times, the cameras I use are NearStream, v33 (and I realized that they have an HVC format?), which is not compatible with NDI, it turns out that it is I unchecked it, and now it connects with NDI, but it no longer gives me the option to do ptz, zoom, as before, I don't know now if it is an update of the NDI oh plugin...

    • @PTZOptics
      @PTZOptics  Před měsícem +1

      @@user-cw8kl1wq3f Since you mentioned that your cameras are NearStream v33 and not initially compatible with NDI, and now you can't control PTZ and zoom after connecting with NDI, it may be related to specific settings or the NDI plugin itself.
      Check Camera Settings:
      Make sure the camera settings are correct for NDI compatibility. Sometimes, toggling settings such as enabling/disabling NDI or HVC formats can affect functionality.
      Update Firmware:
      Ensure that your cameras have the latest firmware updates. This can often resolve compatibility issues.
      You can find firmware updates on the manufacturer's website or support page.
      Verify PTZ Control Software: PTZ control in OBS might require additional software or plugins. Verify if you have the necessary PTZ control plugin for OBS installed.
      Check for PTZ control options within OBS settings or any additional plugins needed for PTZ control.
      OBS PTZ Plugin: If you previously had a separate PTZ control plugin, make sure it is compatible with the OBS version you are using. You might need to update or reinstall it.
      OBS Log Files:
      Check the OBS log files for any errors or messages related to NDI and PTZ control. This can provide insights into what might be going wrong.

  • @MatrixStarPlayz
    @MatrixStarPlayz Před 6 měsíci

    "really simple fix" 10 minute video....thanks but if its that simple vid shoutl be 1 min

    • @PTZOptics
      @PTZOptics  Před 6 měsíci

      Hello!
      Do you have any questions?
      Thanks for checking out our Channel!
      Learn More: ptzoptics.com/