vMix Forums
»
General
»
General Discussion
»
Camera Lagging....PLEASE HELP
Rank: Newbie
Groups: Registered
Joined: 3/19/2021(UTC) Posts: 3 Location: Canonsburg
|
Hello. I'm having an issue with my camera input lagging. Let me start by saying I'm relatively new to this. I have been broadcasting sporting events (audio streaming) for over 10 years now. Recently we are moving toward video streaming. Our first one was completed rather well, actually using OBS. I wanted to try vMix, mainly because when switching to video commercials, OBS is a little clunky. I've been playing around with vMix for the last couple days and really like all of the features. I was very excited about moving forward with vMix until I actually hooked up the camera. It is lagging terribly. I am running an old GoPro just for testing sake into what is actually a game capture device and it's just not working. I have all matching settings on the camera output and in vMix. As I was troubleshooting, I used a different camera and had the same result. Then I shut down vMix and installed OBS (it hadn't been on this computer). Camera looks perfectly fine in OBS using the same exact hookup as I am in vMix. Why would cameral setup work in OBS and not in vMix?!
Any ideas?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/26/2020(UTC) Posts: 76 Location: Maryland Thanks: 2 times Was thanked: 26 time(s) in 20 post(s)
|
You're going to need to provide some tangible hardware info. That includes actual hardware models, etc.
No one is going to be able to help you much based on "well, it worked in OBS." It's just not the same thing.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/11/2015(UTC) Posts: 354 Location: NJ
Thanks: 9 times Was thanked: 45 time(s) in 38 post(s)
|
The first thing I would check is the video format selected when creating the camera input. For example, many cameras don’t do well with the “default” video format, and require specifically selecting MJPEG.
So it’s worth checking out
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 3/19/2021(UTC) Posts: 3 Location: Canonsburg
|
Thank you! I started messing around with the video format and, yes, selecting MJPEG did make a difference, but it's still not completely smooth. The capture device I'm using is AverMedia Live Gamer Portable 2 Plus. Again, it seems to work fine with OBS, but I really want to sort this out in vMix. I'm all ready to go for a live sports broadcast with video ads and scoreboard graphics and everything, but am having an issue with the most important component (the actual video). I'm not even trying to stream in full 1080p or anything. My settings coming out of the GoPro are 720 and I have the settings in vMix set to 1280 x 720. Both are also set to 30 fps.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2019(UTC) Posts: 556
Thanks: 62 times Was thanked: 130 time(s) in 118 post(s)
|
It's not on the supported hardware page (https://www.vmix.com/software/supported-hardware.aspx#capturehardware), but there is an entry in the Knowledge Base for what seems to be a previous model: https://www.vmix.com/kno...avermedia-capture-deviceIt's not the issue you are facing, but maybe you want to contact support regarding your device.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 3/19/2021(UTC) Posts: 3 Location: Canonsburg
|
I think I have fixed the issue. Turns out the laptop I am using only has one USB 3.0 port. I rerouted the capture device into that USB port and it seems to be running pretty smooth now. Still no good on 'default' or H264, but if I select MJPG, it looks pretty good.
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/31/2020(UTC) Posts: 147 Thanks: 2 times Was thanked: 28 time(s) in 28 post(s)
|
I don't have that capture device, but in general, you shouldn't be selecting any compressed formats, since that will add a lot of latency. You should choose uncompressed, raw video formats, like YUY2 or UYVY, etc. Stuff like h.264 or MJPEG will just add a lot of unnecessary delay, and CPU usage, since the CPU now has to decompress that stream.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/1/2015(UTC) Posts: 1,151 Location: Houston TX Thanks: 319 times Was thanked: 263 time(s) in 233 post(s)
|
Originally Posted by: kross I don't have that capture device, but in general, you shouldn't be selecting any compressed formats, since that will add a lot of latency. You should choose uncompressed, raw video formats, like YUY2 or UYVY, etc. Stuff like h.264 or MJPEG will just add a lot of unnecessary delay, and CPU usage, since the CPU now has to decompress that stream. That's not exactly true. YUY2, UYVY uncompressed are fine. MJPEG is also fine. The compression is entirely within a given frame, reduces USB bandwidth. No delay at all. H264/5 are long GOP compressed, so you will see delay corresponding to the length of the group of frames. That could be 2 seconds.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/31/2020(UTC) Posts: 147 Thanks: 2 times Was thanked: 28 time(s) in 28 post(s)
|
Originally Posted by: mjgraves Originally Posted by: kross I don't have that capture device, but in general, you shouldn't be selecting any compressed formats, since that will add a lot of latency. You should choose uncompressed, raw video formats, like YUY2 or UYVY, etc. Stuff like h.264 or MJPEG will just add a lot of unnecessary delay, and CPU usage, since the CPU now has to decompress that stream. That's not exactly true. YUY2, UYVY uncompressed are fine. MJPEG is also fine. The compression is entirely within a given frame, reduces USB bandwidth. No delay at all. H264/5 are long GOP compressed, so you will see delay corresponding to the length of the group of frames. That could be 2 seconds. Yes, of course. I stand corrected. :)
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Camera Lagging....PLEASE HELP
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close