Thinking about FPS in OBS

Magikae

New Member
Hi You guys! Maybe some of You already had a similar problem and can help me. The thing is about setting the right FPS in video camera - video grabber and OBS.

I am using panasonic ag-ux90. It can record in 4k. To stream I need only full hd, so 1920x1080. According to camera's manual it can record in 50fps and that is true, I checked it. But when I plugged in hdmi cable (2.0 - just bought) to camera and try to grabe the vide using USB 3.0 hdmi video capture card (according to manual it can grabe up to 1080p 60fps) there are some problems (In camera the only one thing You can set about HDMI out is resolution - like 1080p or 1080i.).

I mean I can grabe the video, but firstly I tried to use the default device settings in OBS, and checked the logs:

18:55:57.865: [DShow Device: 'mypin'] settings updated:
18:55:57.865: video device: USB Video
18:55:57.865: video path: \\?\usb#vid_534d&pid_2109&mi_00#6&19d6840&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
18:55:57.865: resolution: 1920x1080
18:55:57.865: flip: 0
18:55:57.865: fps: 60.00 (interval: 166666)
18:55:57.865: format: MJPEG
18:55:57.971: warning: Found EOI before any SOF, ignoring
18:55:57.971: fatal: No JPEG data found in image

and the last two lines are repeating all the time.

I found out it is bacouse FPS in capture card is higer than in camera. When I set FPS as 40 in capture card settings in OBS there are no warnings in log file.

What does it mean?
My camera can only output via HDMI 40fps?
HDMI cables probably are not the problem because I have just bought HDMI 2.0
The capture card? Producers say it can capture video even 1080p 60fps but simply it is not true?
Or maybe my computer?

If I can only capture from camera 40fps so what fps set in image setting in OBS - I can choose only 30 or 48 FPS there.

The more I read about it the stupid I am becoming - please help me :)
 

koala

Active Member
As far as I learnt, these errors ("Found EOI..." and "fatal: No JPEG data found ...") indicate data corruption of the data stream that's coming over the USB bus. This is an indication of USB bus overload, which is supported by your report that the issue is gone as long as you use an fps below 60.

A USB 3.0 capture card should be able to handle 60 fps without issues, as long as you actually connect it to a USB 3.0 port on your computer as well as using USB 3.0 compatible cable. And you should not use any USB hub for troubleshooting - plug the capture card directly into a USB port on your computer.
 

Magikae

New Member

Attachments

  • 271585608_355487596021001_7584254353805043_n.jpg
    271585608_355487596021001_7584254353805043_n.jpg
    73.1 KB · Views: 30

Magikae

New Member
seriously?? It looks like a pendrive and it can hanlde full hd 60fps?
Would it be too much if I beg You to check it?? Pleasee :D
 

DayGeckoArt

Member
seriously?? It looks like a pendrive and it can hanlde full hd 60fps?
Would it be too much if I beg You to check it?? Pleasee :D

Yes because it doesn't compress the video, it only gives it to the computer in a format that it can use, and then OBS or whatever program has to do the compression.

I just tested it and it works at 1080p60 and 2160p30, no problem!
 

DayGeckoArt

Member
I think I owe you a whole 6pack because in testing this I discovered that my cablebox outputs 1080i60. I had thought it was dropping half the frames because my recordings were only half framerate... But then I pointed my camera at the screen when I was testing the Elgato's 1080p60 and found that the TV was actually showing 60fps.

So now I've adjusted my recording method to include deinterlacing
 

Magikae

New Member
Good to know that solving my issue made something else :) I bought one piece of elgato today. I was pretty shocked how good opinions it has. Probably tomorrow I will test it and buy another two of them :)
 

Magikae

New Member
It's me again. So I tested elgato. To tell You the truth not with panasonic ag-ux90 but with panasonic hc-v770 - a camcorder that is able to record in 60fps.

The good news is that elgato did not generate errors as above. But the bad news is, that to image was not smooth. And I could not reduce fps rate - the only one value to choose in OBS was 50fps (except highest).

When I change elgato to no-name card, set 50 FPS the image was smooth, but errors appeared in log file.

So - is it possible, that:
- my camcorder did not output 50fps, elgato tried to receive it and thus the image was not smooth?
- should I install same extra driver for obs to get better results in obs?

Tomorrow I am going to test it with ag-ux90 and tell the rest of the story :)
 

Magikae

New Member
spamming - I know. But I have just noticed inside the box - 'download elgato 4k capture utility to get started' :)
 

DayGeckoArt

Member
The Elgato program isn't great, it doesn't give you any options for compression methods etc, but you can try it

In OBS what is your project fps set to? Set it to 59.94 and then set your Elgato to automatic and see if it gets the full framerate. I've found too that sometimes I have to unplug and replug when settings change, either on the camera or the computer
1642625384121.png
 

Magikae

New Member
I did as You wrote (just base resolution was 1920x1080) and the effect is still the same. But check this out - just got Elgato driver. In Camera Hub application firstly I got messenge 'Connect your Elgato camera' and after plugging in usb the message changed to: video source connected to USB 2.0 please ensure that the video source is connected to a USB 3 port.

1642667430735.png


So this is the problem - my USB ports in laptop. Something is wrong with them. To stream usually I use lenovo thinkcenter c30 workstation:

Manual says that there are 4 ports USB 3.0 but I am buying right now a PCi card USB 3.2 Gen 1 (3.1 Gen 1). I have a volleyball game to stream on Saturday, so next chapter of this story is going to be in 2 days
 

Attachments

  • 1642667649280.png
    1642667649280.png
    14.9 KB · Views: 5

koala

Active Member
So it is as I wrote earlier: your first capture card was not able to run with usb 3.0 speed, so it was not able to transmit full 1080p 60fps. I bet it will work fine with 60 fps if you actually connect it via USB 3.0. To verify actual USB speed, see here for example: https://support.pixelink.com/suppor...-a-usb-3-0-device-is-operating-at-superspeed-
Hardware is important. You need a 3.0 USB cable, not any USB cable, and plug in a UBS 3.0 capable port. There is a chip in the connectors, they're not just wires. Verify the USB logos on ports and connectors. They're important, not just pictures.

You didn't do enough to verify if the connection is actually USB 3.0 or not. You were a bit fast in buying new hardware.
 
Last edited:

Magikae

New Member
Well - knowledge costs - new hardware sooner or later will be usefull :)

Anyway I hope your're right and this is the problem. Maybe I was naive trusting laptop specification and this little mark over USB port (SS USB).



EDIT: that is a funny story and maybe in future someone will use it.
I am looking right now at USB Device Tree Viewer. When I plugged in USB card (ie elgato, but no-name card as well) to one of mu USB port (once again in laptop specification all of them should be 3.0 and all of them have this mark SS) USB Device Tree Viewer is shoing it as a hi-speed device... not super speed.

and

I have the only one USB-C port. Right now I plugged in a hub to USB-C (I know - You told my not to do that but just to check). And into to the hub elgato. USB Device Tree Viewer now is showing it as a super-fast:

1642685899501.png


Well... by now I feel pretty cheated.


Anyway. Hope in 2 days the story is going to end. By now - thanks guys for your time to guide me.
 

koala

Active Member
All your ports may still be USB 3.0 ports. If they are 3.0 ports, they are 2.0 ports as well. If you connect a USB 2.0 device (or a 3.0 device via 2.0 cable) to a USB 3.0 port, it appears in tools like the above that it is actually connected to a USB 2.0 hub. The hardware appears in these tools as USB 3.0 hub (where all the devices connected with USB 3.0 show up), and at the same time as another USB 2.0 hub, where all the devices connected with USB 2.0 show up.
 

Magikae

New Member
but still - when I plugged in elgato directly to USB port (using the cable from the box of curse), Cam Hub didn't start saying elgato was plugged in to usb 2.0.

But when I used hub plugged in USB-C port and elgato into hub - Cam Hub started, image in OBS was smooth.
 
Top