Post

Replies

Boosts

Views

Activity

Comment on How to enable the Portrait Effect in live camera view similar to SnapChat?
Thanks for the reply. I set the "Camera — Opt in for Portrait Effect" key to YES but when I swipe up in the app to see the Control Center there is still no Video Effects" option. Also, I am calling AVCaptureDevice.showSystemUserInterface(.videoEffects) inside the app with a button but it shows me a full-screen blurred view with two camera icons (one large and the other small), nothing like the photo which I posted in the question. Any idea what is happening?
Topic: Media Technologies SubTopic: Audio Tags:
May ’22
Comment on Activating Portrait Effect in AVFoundation
I tried in in several devices. It turns out the weird view happens on iPhone (tried iPhone 13 Pro Max, 11, 8 and SE 2nd gen), but it look just fine on iPad. (all running iOS 15.5)
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on How to set the Portrait effect on/off in live camera view in AVFoundation in Swift?
Thanks for mentioning the pixel buffer. I changed that too kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, and I see a tangible decrease in memory usage! Thanks :)
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Activating Portrait Effect in AVFoundation
So it's showing me that freaky view because the activeFormat doesn't support the Portrait Effect? Doesn't it sound like a bug?
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on How to enable the Portrait Effect in live camera view similar to SnapChat?
Thanks for the reply. I set the "Camera — Opt in for Portrait Effect" key to YES but when I swipe up in the app to see the Control Center there is still no Video Effects" option. Also, I am calling AVCaptureDevice.showSystemUserInterface(.videoEffects) inside the app with a button but it shows me a full-screen blurred view with two camera icons (one large and the other small), nothing like the photo which I posted in the question. Any idea what is happening?
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Use Apple Watch as a view finder with ARKit
Yes, I saw that, but I am not if (for example) Watch Connectivity can be used in this case. What I need is to play the live view (from the paired iPhone) from ARKit and display it on the Watch.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21