Post

Replies

Boosts

Views

Activity

Reply to drawRect broken in Xcode 15/Sonoma
Probably it's not a bug, just the new behaviour. When linking to the macOS 14 SDK, the clipsToBounds property of NSView is set to false. Either update your drawing code, or set it back to true. See the macOS 14 AppKit release notes for some info.
Topic: UI Frameworks SubTopic: AppKit Tags:
Sep ’23
Reply to Quicktime Interactivity?
That part of the QuickTime format has been deprecated, and doesn't work anymore with modern QuickTime (version 10 and later). Actually browser plug-ins have been deprecated and removed too. The good news is that HTML and javascript have all the tools needed to created such thing nowadays.
Topic: Media Technologies SubTopic: General Tags:
Aug ’23
Reply to What is NSTextView "compatibility" mode in MacOS 10.12+
Apple rewrote the whole layout and text framework used by Cocoa views. The rewrite was incremental, so some features were not yet available on some previous macOS versions, and some behaviours may differ. Anyway, setting a layout manager makes it use the old layout and text framework, so you will have the same behaviour as in older macOS versions. You can either try to find a way to get the wanted behaviour with the new framework, or keep using the old one for now I guess. I think there is some info on the AppKit release notes and in various WWDC sessions.
Topic: UI Frameworks SubTopic: AppKit 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:
May ’23