logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
jakenwc  
#1 Posted : Friday, March 19, 2021 7:47:22 AM(UTC)
jakenwc

Rank: Newbie

Groups: Registered
Joined: 3/19/2021(UTC)
Posts: 3
United States
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?
Babbit  
#2 Posted : Friday, March 19, 2021 9:18:10 AM(UTC)
Babbit

Rank: Advanced Member

Groups: Registered
Joined: 10/26/2020(UTC)
Posts: 76
United States
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.
AlanZ  
#3 Posted : Friday, March 19, 2021 10:17:57 AM(UTC)
AlanZ

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
jakenwc  
#4 Posted : Friday, March 19, 2021 9:13:17 PM(UTC)
jakenwc

Rank: Newbie

Groups: Registered
Joined: 3/19/2021(UTC)
Posts: 3
United States
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.

dmwkr  
#5 Posted : Friday, March 19, 2021 9:50:22 PM(UTC)
dmwkr

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-device

It's not the issue you are facing, but maybe you want to contact support regarding your device.
jakenwc  
#6 Posted : Friday, March 19, 2021 11:52:09 PM(UTC)
jakenwc

Rank: Newbie

Groups: Registered
Joined: 3/19/2021(UTC)
Posts: 3
United States
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
kross  
#7 Posted : Saturday, March 20, 2021 1:13:17 AM(UTC)
kross

Rank: Advanced Member

Groups: Registered
Joined: 10/31/2020(UTC)
Posts: 147
United States

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.
mjgraves  
#8 Posted : Tuesday, March 23, 2021 8:32:08 AM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,151
Man
United States
Location: Houston TX

Thanks: 319 times
Was thanked: 263 time(s) in 233 post(s)
Originally Posted by: kross Go to Quoted Post
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.
kross  
#9 Posted : Wednesday, March 24, 2021 1:48:18 AM(UTC)
kross

Rank: Advanced Member

Groups: Registered
Joined: 10/31/2020(UTC)
Posts: 147
United States

Thanks: 2 times
Was thanked: 28 time(s) in 28 post(s)
Originally Posted by: mjgraves Go to Quoted Post
Originally Posted by: kross Go to Quoted Post
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. :)
Users browsing this topic
Guest (4)
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.