CESNET / UltraGrid

UltraGrid low-latency audio and video network transmission system
http://www.ultragrid.cz
Other
492 stars 53 forks source link

M1 Mac Studio Display Webcam poor quality #228

Closed TheSashmo closed 2 years ago

TheSashmo commented 2 years ago

Hey everyone I am happy to say I got my new Mac Studio and Studio display.

When testing using the studio display webcam as the source, the video is very grainy and does not look like the old iMac webcam.

I can switch sources to some other external capture device and it looks perfect.

I am just looking at the local loop back in preview mode before I even do any encoding. From what it looks like the Studio Display camera is being compressed somehow... I am guessing its the new way that the studio display is handling the webcam. I tried turning on and off the video effects that does centre stage, but the result is the same. It just looks like the way AVFoundation is calling the webcam is incorrect.

Going to try ffmpeg and see how that looks.

Edit: Same result in ffmpeg, I tried by doing pipe back to ffplay to see the quality and it looked the same as the preview window did in UG.

ffplay -f avfoundation -pixel_format uyvy422 -framerate 30.000030 -i "4:none"

It looks like there is a lot of noise in the picture, I tried adding more lighting, but the result was the same. This could just be a bad camera in the studio display. My other sources look just fine!

Update: Lower resolutions are the same.

Update: Seems like I am not as up to date as I think I am..... Apple knows about this issue and is working on firmware updates to fix the crapola camera......