videosnap icon indicating copy to clipboard operation
videosnap copied to clipboard

High preset for a 4k webcam records in 1080p

Open RoyHP opened this issue 3 years ago • 4 comments

Hi, the high preset for my 4k webcam (Logi 4k Pro) records in 1080p and I don't see a way to record natively in 4k. Any idea about this?

Let me know if I can help - thanks!

RoyHP avatar Feb 25 '21 02:02 RoyHP

I'm validating the chosen encoding preset here and then set it in the capture session here.

Right now, the preset must be one of these. This list was taken from older Apple API docs on capture sessions. It looks like there are now significantly more options.

https://developer.apple.com/documentation/avfoundation/avcapturesession/preset

When I have time available I can look at introducing all these newer options.

matthutchinson avatar Feb 26 '21 10:02 matthutchinson

😉 Or feel free to submit a PR for this if you know how.

matthutchinson avatar Feb 26 '21 10:02 matthutchinson

Thanks - I'm happy to provide the PR.

RoyHP avatar Feb 26 '21 14:02 RoyHP

Okay so I tried but it gave me "could not set encoding preset '3840x2160' for this device, defaulting to Medium" - I tried some other variations of the preset as well, and got the same message. See attached screenshot.

I'll try to see if OBS can use it at 4k as a sanity check.

Screen Shot 2021-02-28 at 9 20 57 PM

RoyHP avatar Mar 01 '21 02:03 RoyHP

See https://github.com/matthutchinson/videosnap/pull/28 for PR for this

vlussenburg avatar Dec 03 '23 04:12 vlussenburg

Released in 0.0.9. Can be closed.

vlussenburg avatar Dec 31 '23 21:12 vlussenburg