Post

Replies

Boosts

Views

Activity

Reply to Potential bug with `AVCaptureSession`
Thank you very much @arshankhanifar. In addition, I have noticed (iPad Pro 9.7, iOS 16.2) that I have to configure the device's frame rate after having added the video input to the capture session. Otherwise, the device frame rate seems to be reset to some default values.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to How to get frame times and/or stepping through video?
https://stackoverflow.com/a/17331242/2742007 avPlayer.currentItem?.step(byCount: isForward ? 1 : -1) https://developer.apple.com/documentation/avfoundation/avplayeritem/1387968-step
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Potential bug with `AVCaptureSession`
The documentation quote/page you are referring to has moved to Formats. Also in this page inputPriority Apple is wrongfully stating: When you change the device’s format, the session preset automatically changes to this value (inputPriority).
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to Potential bug with `AVCaptureSession`
Dear arshankhanifar thank you so much. I have lost spent the last couple of days trying to get high frame rate in my app. And only thank to persevering search did I eventually find your most valuable post. Thanks again
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to Convert a CMSampleBuffer to AVAudioPCMBuffer
this might help as well https://developer.apple.com/documentation/speech/sfspeechaudiobufferrecognitionrequest/1649395-appendaudiosamplebuffer func appendAudioSampleBuffer(_ sampleBuffer: CMSampleBuffer)
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’22