Post

Replies

Boosts

Views

Activity

Reply to Reference White Calculation for HDR Video Rendering in Metal
Thank you for providing answers to questions 1 through 5. While they do provide some insight, we are still confused about how to calculate the reference white value with the available metadata from the AVAssetTrack. I did file the API enhancement request (FB16501084), but since we still have a deployment target of macOS Catalina (10.15) we cannot wait for a future API enhancement, but rather need some code to calculate that value ourself right now. Could you explain again how to calculate that value from the available metadata, or provide us with a code snippet, please?
3w
Reply to AVAudioEngine for connectionless ‘tapping’ from within own app
I'd be interested in an answer as well. In my application I have multiple AVPlayers (some with video, some audio only) that are playing simultaneously. I would like to tap into the final mixed output that is going to speakers, so that I can send it to my streaming backend. For various technical reasons I to stay with the high-level AVPlayers. What is the recommended framework/technology for achieving this? AVAudioEngine look promising, but so far I have not found any way to attach a high-level AVPlayer to the lower-level AVAudioEngine. Are these two incompatible, or did I just miss something?
May ’22
Reply to After manually adding a PKStroke, the UndoManager no longer works
I'm seeing similar behaviour whenever I procedurally modify the PKDrawing of a PKCanvasView. Specifially when doing: canvasView.drawing.strokes[i].mask = newMask canvasView.drawing.strokes[i] = newStroke canvasView.drawing.remove(at:i) canvasView.drawing.insert(stroke, at:i) the undoManager (or its stack of undo operations) gets messed up and stops working. I assume this is a bug in iOS 14 beta? Hopefully the PencilKit team will fix this before the release of iOS 14?
Jul ’20