Why does my camera or capture card not reach 60 at 4K?
At 4K and 60 frames a second most USB cards send MJPEG: every picture is a JPEG that the processor has to unpack. OmaBroadcast unpacks them on several cores at once; on an older processor, or with the processor busy, choose a smaller size.
The answer
- Choose the card's size and rate in its source settings. 1920 × 1080 at 60 is light for any computer.
- At 4K, 30 frames a second halves the work.
- A different encoder does not help here: the pictures arrive too slowly, before any encoder sees them.
More
- Uncompressed 4K at 60 does not fit through USB 3, which is why cards compress it. A PCIe capture card can send it uncompressed, and then there is nothing to unpack.
- A media file recorded in MJPEG goes to whichever graphics card can unpack it: NVIDIA cards cannot take the 4:2:2 JPEG most cameras record, so another card is tried. With none, above 1080p it is unpacked on several cores.
What each kind of input costs
| Input | How its pictures arrive | Processor |
|---|---|---|
| Camera or card in MJPEG | A JPEG every frame, unpacked on several cores above 1080p | Highest |
| Camera or card uncompressed (YUY2, NV12) | Copied once; colour converted on the graphics card | Low |
| Display and window capture | Handed to the graphics card directly | Almost none |
| Media files and phones | Unpacked by the graphics card's video decoder | Low |
| Images | Unpacked once | None after loading |