Post

Replies

Boosts

Views

Activity

Comment on iPhone XS stereo recording
@Media Engineer, please look at FB9393169 I filed...AURemoteIO does not produce samples with builtin mic if stereo audio is configured. Please also suggest a workaround as this is a serious bug for my app and I doubt this will be fixed in iOS 15 main release.
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’21
Comment on What exactly is CIImage extent
Ok so it is the smallest bounding box of the image in that case, that seems reasonable. So I will need to manually resize the image to fit in the original bounding box for which I will need to scale the image back. The next question that arises is how do I know the bounding box before applying a transform? I will need that to calculate the scaling factor.
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’21
Comment on Swift generic usage inside class
Value needs to adhere to protocol Interpolable and Codable. And Interpolable protocol includes just one function that returns interpolated value from value A to value B by a float amount. So all math types Int, Float, Double, and types such as CGRect, CGAffineTransform, UIColor that can be interpolated, Value can be that type.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’21
Comment on How to observe AVCaptureDevice.isCenterStageEnabled?
This way certainly works but it is a legacy way of observing properties. I was thinking if there is modern Swift KVO based method for the same. Sorry to omit those details in my question here , I should have mentioned the details like i mentioned on stackoverflow.(https://stackoverflow.com/questions/69505085/swift-kvo-addobserver-observevalue-for-class-objects)
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’21
Comment on AVAssetWriter settings for ProRes422
Ok I see that. But when I record video using AVCaptureVideoDataOutput, I do see some elements in AVVideoCompressionPropertiesKey dictionary through recommendedSettings. I am not sure what would be the result to omitting AVVideoCompressionPropertiesKey, but is there a way to copy this dictionary from input video file for instance (I can't find a way to do this though)?
Topic: Media Technologies SubTopic: Audio Tags:
Oct ’21
Comment on iPhone XS stereo recording
@Media Engineer, please look at FB9393169 I filed...AURemoteIO does not produce samples with builtin mic if stereo audio is configured. Please also suggest a workaround as this is a serious bug for my app and I doubt this will be fixed in iOS 15 main release.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on iPhone XS stereo recording
This feature is completely broken in iOS 15 betas(including beta 5). I have filed a bug FB9393169 but there is no response so far.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Stereo Audio API broken on iOS 15
Yes, I noticed it yesterday!
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on What exactly is CIImage extent
Ok so it is the smallest bounding box of the image in that case, that seems reasonable. So I will need to manually resize the image to fit in the original bounding box for which I will need to scale the image back. The next question that arises is how do I know the bounding box before applying a transform? I will need that to calculate the scaling factor.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on What exactly is CIImage extent
Ok I used trigonometry to calculate the new extent. Formulas work! Thank you so much for clarifying.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Swift generic usage inside class
But then I have to update EffectModel with EffectModel where ever object of type EffectModel was used. I just want to avoid touching EffectModel.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Swift generic usage inside class
Value needs to adhere to protocol Interpolable and Codable. And Interpolable protocol includes just one function that returns interpolated value from value A to value B by a float amount. So all math types Int, Float, Double, and types such as CGRect, CGAffineTransform, UIColor that can be interpolated, Value can be that type.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Urgent: XCode 13 unable to delete lines of code
I don't see these icons, how do I see them?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Can MTKView display HDR CIImage/CVPixelBuffer?
I am wondering why this limitation, what kind of technical reasons stop it?
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on How to observe AVCaptureDevice.isCenterStageEnabled?
This way certainly works but it is a legacy way of observing properties. I was thinking if there is modern Swift KVO based method for the same. Sorry to omit those details in my question here , I should have mentioned the details like i mentioned on stackoverflow.(https://stackoverflow.com/questions/69505085/swift-kvo-addobserver-observevalue-for-class-objects)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on How to observe AVCaptureDevice.isCenterStageEnabled?
Thanks for the answer. I will definitely post it on Swift forums.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on AVAssetWriter settings for ProRes422
I want to use my custom export session class that uses AVAssetReader/Writer as I am using it in my workflow. How to correctly adapt it to ProRes videos?
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on AVAssetWriter settings for ProRes422
Ok I see that. But when I record video using AVCaptureVideoDataOutput, I do see some elements in AVVideoCompressionPropertiesKey dictionary through recommendedSettings. I am not sure what would be the result to omitting AVVideoCompressionPropertiesKey, but is there a way to copy this dictionary from input video file for instance (I can't find a way to do this though)?
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on AVAssetWriter settings for ProRes422
Sure I would file a bug!
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Create Tone Curve Filter in CoreImage
Why do we need to add 0.5 offset I wonder?
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21