Post

Replies

Boosts

Views

Activity

Reply to Frames out of order using AVAssetWriter
Your original.mov has got crazy values in the "ctts" atom. HEVC and H.264 has got a frame type called B that can reference previous and future frames, so they are stored out of order. This means the presentation timestamp (pts) and the decode timestamp (dts) are different, and the offset between the two is stored in the mov/mp4 ctts atom. Some players ignore this atom and uses the info stored in the video bitstream, so they might not display the issue. I would check the pts/dts of the sample buffers you are passing to AVAssetWriter.
Topic: Graphics & Games SubTopic: Metal Tags:
May ’23
Reply to Frames out of order using AVAssetWriter
Your original.mov has got crazy values in the "ctts" atom. HEVC and H.264 has got a frame type called B that can reference previous and future frames, so they are stored out of order. This means the presentation timestamp (pts) and the decode timestamp (dts) are different, and the offset between the two is stored in the mov/mp4 ctts atom. Some players ignore this atom and uses the info stored in the video bitstream, so they might not display the issue. I would check the pts/dts of the sample buffers you are passing to AVAssetWriter.
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to Gatekeeper and binaries rejected by spctl
The alert is shown only if there is a quarantine flag set on the app/executable. Homebrew doesn't add such flag.
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to XCode 14.1 always crash
Does it happens in Xcode 14.3?
Replies
Boosts
Views
Activity
Apr ’23
Reply to Cannot get Metal Performance HUD To Toggle On/Off
Is that a space before "MetalHUDEnabled" or it's just Xcode indenting things in a weird way?
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to Need confirmation on Apple's percentage from in-app purchases revenue in free apps
My understanding is that Apple takes 30% of every digital good sold inside your app. But check the App Store rules for confirmation.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to NSStackView.distribution runtime question
Either crash or throw an exception probably. Did you ever test on 10.10?
Replies
Boosts
Views
Activity
Apr ’23
Reply to What exactly does CVBufferSetAttachment do?
I guess it depend where are you using those buffers. If you are encoding them with VideoToolbox or AVFoundation it will probably convert them to the appropriate colourspace set in the encoder, or maybe it will completely ignore it. Try and see.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to App update was rejected with "Command-Q is not considered a sufficient means of quitting for a stand-alone application."
Is there a quit menu item in the menu extra?
Replies
Boosts
Views
Activity
Mar ’23
Reply to Using real device on Xcode 14.2 'failed to prepare device for development'.
Xcode 14.3 has already been released yesterday.
Replies
Boosts
Views
Activity
Mar ’23
Reply to AVAssertExportSession non deterministic for m4a files
The mp4 file format has got a creation data and modified date field that are set to the date of when it was created, so those will be different. You should check if the actual audio data is the same. Or you can use some app like l-smash to dump the structure of the mp4 file and compare the actual differences.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Codesigned and notorized app won't open unless dragged to another folder. Why?
Because when not dragged/moved the app runs from a randomised location, maybe this breaks something inside your app. Some info on https://developer.apple.com/forums/thread/724969
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Don't show "Backgound Item Added" notification
I don't think so, that would make the entire feature pointless. It was made to shown users that something added a login or background item, so it being always shown is by design.
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to CVPixelBuffer auto release does not work if released in another thread
Try to wrap the content of the procQueue.async closure in an autoreleasepool. The queue has got it's own autoreleasepool that don't always drain after each closure is executed probably.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to objective-c call to MTLCreateSystemDefaultDevice() returns null, swift call does not: why?
The documentation says: In macOS, in order for the system to provide a default Metal device object, you must link to the Core Graphics framework. You usually need to do this explicitly if you’re writing apps that don’t use graphics by default, such as command line tools.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to VideoDecompressionSession for H.265 (hevc)
VTDecompressionSession can decode a large number of formats, including HEVC. You can also list the available decoders to be sure what are the supported format on a particular device.
Topic: Media Technologies SubTopic: Video Tags:
Replies
Boosts
Views
Activity
Feb ’23