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