virtualjapan.tv
lvl.3
Japan
Offline
|
Confirming I'm also seeing this issue. Posted the following on the firmware release forum, but will copy below for reference.
I was happy to see the addition of 50/60fps on the webcam mode. So I tested today and confirmed the UI option when swiping up shows "108050/60", and upon selecting it, it shows "Webcam (60fps)". However, when connected to a computer it is only reading available fps values between 25-30fps. Confirmed in OBS, and with the script provided below. Could this possibly be a bug? Or am I doing something wrong?
Would really love to get 50/60fps webcam mode working! Would appreciate any help
webcam-test.swift
```
import AVFoundation
// Function to list formats and frame rates
func listCameraCapabilities() {
// Create a discovery session for video devices
let discoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera, .externalUnknown], mediaType: .video, position: .unspecified)
// Get the list of video devices from the discovery session
let videoDevices = discoverySession.devices
// Iterate over each video device
for device in videoDevices {
print("Device Name: \(device.localizedName)")
// Iterate over each format supported by the device
for format in device.formats {
let formatDescription = format.formatDescription
let dimensions = CMVideoFormatDescriptionGetDimensions(formatDescription)
// Iterate over each frame rate range supported by this format
for range in format.videoSupportedFrameRateRanges {
print("Resolution: \(dimensions.width)x\(dimensions.height), FPS Range: \(range.minFrameRate)-\(range.maxFrameRate)")
}
}
print("\n")
}
}
// Run the function
listCameraCapabilities()
``` |
|