I've so badly wanted to switch permanently from another program to OBS Studio, but this issue prevents me from doing so. OBS uses so much less CPU on my laptop versus the competitor.
I have three vaddio HD-USB cameras. These cameras are capable of sending video to a laptop via USB or network. I have chosen to use three network adapters, one is my onboard network adapter and two USB to ethernet adapters (USB 3.0 Gigabit LAN adapters from Whizzotech corp) and use the media source under OBS Studio for the scenes. These cameras have had their firmware flashed to provide an rtsp stream to OBS. The reason I am not using USB is because of the length limitation with USB and with ethernet I can connect cameras and have greater flexibility where to place them with the longer cable lengths. I get all three cameras set up in OBS and they are always out of sync with one another. Restarting OBS causes the sync differences to vary. Once in a blue moon they will all sync correctly, but when switching scenes a lot of time get out of sync.
When I add my PTZ camera as a media source in OBS, I use the following values:
Local file - Unchecked
Restart playback when source becomes active - Unchecked (If this is checked, the camera image never displays)
Input: rtsp://192.168.4.100:554/cam (each camera is on its own subnet and network adapter, so these are different for each camera)
Input Format: [blank]
Use hardware decoding when available - Unchecked
Advanced - Checked
Force Format Conversion - Checked (I thought this might have been the issue. I unchecked and still same results mentioned above)
Audio Buffer Size (frames) - 1
Video Buffer Size (frames) - 1
Frame Dropping Level - Default (Invalid Packets)
YUV Color Range - Auto
On the other unnamed program I use, the cameras always stay in sync using their feature that's for adding a media source, therefore I know it's possible to make this work and the cameras stay in sync. I just don't know if it's a setting I have wrong in OBS or if it's a problem with how OBS handles media sources. I dont know if it has something to do with how OBS is buffering the media source or what's going on.
Before someone mentions to use the delay filter to correct the sync issue, this does NOT work. If you get everything syncronized with the filters and close the program and restart, the cameras are all out of sync with each other again. The cameras also get out of sync sometimes when switching scenes, so adding delay filters is not a solution and too time consuming every few minutes and just doesn't fly with live broadcasting! :(
Any help is appreciated!
Log file:
https://gist.github.com/892af59427cebf2de13fd2da15f3965d
I have three vaddio HD-USB cameras. These cameras are capable of sending video to a laptop via USB or network. I have chosen to use three network adapters, one is my onboard network adapter and two USB to ethernet adapters (USB 3.0 Gigabit LAN adapters from Whizzotech corp) and use the media source under OBS Studio for the scenes. These cameras have had their firmware flashed to provide an rtsp stream to OBS. The reason I am not using USB is because of the length limitation with USB and with ethernet I can connect cameras and have greater flexibility where to place them with the longer cable lengths. I get all three cameras set up in OBS and they are always out of sync with one another. Restarting OBS causes the sync differences to vary. Once in a blue moon they will all sync correctly, but when switching scenes a lot of time get out of sync.
When I add my PTZ camera as a media source in OBS, I use the following values:
Local file - Unchecked
Restart playback when source becomes active - Unchecked (If this is checked, the camera image never displays)
Input: rtsp://192.168.4.100:554/cam (each camera is on its own subnet and network adapter, so these are different for each camera)
Input Format: [blank]
Use hardware decoding when available - Unchecked
Advanced - Checked
Force Format Conversion - Checked (I thought this might have been the issue. I unchecked and still same results mentioned above)
Audio Buffer Size (frames) - 1
Video Buffer Size (frames) - 1
Frame Dropping Level - Default (Invalid Packets)
YUV Color Range - Auto
On the other unnamed program I use, the cameras always stay in sync using their feature that's for adding a media source, therefore I know it's possible to make this work and the cameras stay in sync. I just don't know if it's a setting I have wrong in OBS or if it's a problem with how OBS handles media sources. I dont know if it has something to do with how OBS is buffering the media source or what's going on.
Before someone mentions to use the delay filter to correct the sync issue, this does NOT work. If you get everything syncronized with the filters and close the program and restart, the cameras are all out of sync with each other again. The cameras also get out of sync sometimes when switching scenes, so adding delay filters is not a solution and too time consuming every few minutes and just doesn't fly with live broadcasting! :(
Any help is appreciated!
Log file:
https://gist.github.com/892af59427cebf2de13fd2da15f3965d