Professional Video Applications

RSS for tag

Exchange data with Final Cut Pro X and create effects plugins for Final Cut Pro X and Motion using Professional Video Applications.

Posts under Professional Video Applications tag

47 Posts

Post

Replies

Boosts

Views

Activity

How does Final Cut Camera synchronize videos
I have an application that enables recording video from multiple iPhones through an iPad. It uses Multipeer Connectivity for all the device communication. When the user presses record on the iPad, it sends a command to each device in parallel and they start capturing video. But since network latency varies, I cannot guarantee that the recording start and stop times are consistent among all the iPhones. I need the frames to be exactly in sync. I tried using the system clock on each device for synchronizing the videos. If all the device system clocks were in sync within 3ms (30 frames per second), then it should be okay. But I tested and the clocks vary quite a bit, multiple seconds. So that won't work. I ultimately solved the problem by having a countdown timer on the iPad. The user puts the iPad in view of each phone with the countdown. Then later I use a python script to cut all the videos when the countdown timer goes to 0. But that's more work for the end user and requires manual work on our end. With a little ML text recognition, this could get better. Some people have suggested using a time server and syncing the clocks that way. I still haven't tried this out, and I'm not sure if it's even possible to run a NTP server on an iPad, and whether the NTP resolution will be below 3ms. I tried out Final Cut Camera and it has solved the synchronization problem. Each frame is in sync. The phones don't start and stop at exactly the same time, and they account for this by adding black frames to the front and/or back of videos to account for differences. I've searched online and other people have the same problem. I'd love to know how Apple was able to solve the synchronization issue when recording video from multiple iPhones from an iPad over what I assume is Multipeer Connectivity.
1
0
772
Jul ’24
Programmatically passing files to Final Cut via Apple Events
We have trying to programmatically send data to Final Cut Pro by using Apple Event as decribed in Sending Data Programmatically to Final Cut Pro : tell application "Final Cut Pro" activate open POSIX file "/Users/JohnDoe/Documents/UberMAM/MyEvents.fcpxml" end tell This works fine in Script Editor but we run into problems when trying to do the same in our macOS app. We found interesting information in Workflow Extensions SDK 1.0.2 Release Notes.pdf. A) Hardened runtime has "Apple Events Enabled" checked. B) Info.plist contains NSAppleEventsUsageDescription: <key>NSAppleEventsUsageDescription</key> <string>Test string</string> C) We added following entitlements: <key>com.apple.security.scripting-targets</key> <dict> <key>com.apple.FinalCut</key> <array> <string>com.apple.FinalCut.library.inspection</string> </array> <key>com.apple.FinalCutTrial</key> <array> <string>com.apple.FinalCut.library.inspection</string> </array> </dict> <key>com.apple.security.automation.apple-events</key> <true/> With this configuration in place, our app is able to call AppleScript to activate Final Cut Pro application but it is unable to open the file. Following error is returned: Error executing AppleScript: { NSAppleScriptErrorAppName = "Final Cut Pro Trial"; NSAppleScriptErrorBriefMessage = "A privilege violation occurred."; NSAppleScriptErrorMessage = "Final Cut Pro Trial got an error: A privilege violation occurred."; NSAppleScriptErrorNumber = "-10004"; NSAppleScriptErrorRange = "NSRange: {56, 64}"; } Also there is no prompt asking user to allow Automation from our app to Final Cut. I am not sure whether the prompt is to be expected when developing an application in Xcode. Our current workaround is to add (or even replace com.apple.security.scripting-targets with): com.apple.security.temporary-exception.apple-events entitlement like this <key>com.apple.security.temporary-exception.apple-events</key> <array> <key>com.apple.FinalCutTrial</key> </array> However while this approach might work in development we know this would probably prevent us from publishing the app to Mac App Store. I think we are missing something obvious. Could you help? :-)
10
0
1.8k
Jun ’24
Error 159 - Sandbox restriction when connecting to XPC service
Hello Apple Developer Community, I'm encountering an issue with my macOS application where I'm receiving the following error message: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.FxPlugTestXPC was invalidated: failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.FxPlugTestXPC was invalidated: failed at lookup with error 159 - Sandbox restriction.} This error occurs when my application tries to establish a connection to an XPC service named com.FxPlugTestXPC. It appears to be related to a sandbox restriction, but I'm unsure how to resolve it. I've checked the sandboxing entitlements and ensured that the necessary permissions are in place. However, the issue persists. Has anyone encountered a similar error before? If so, could you please provide guidance on how to troubleshoot and resolve this issue? Any help or insights would be greatly appreciated. Thank you. this is some photos about my entitlements :
16
0
5.2k
Apr ’24
LiDAR camera low FPS problem
When I use LiDAR, AVCaptureDeviceTypeBuiltInLiDARDepthCamera is used. As AVCaptureDeviceTypeBuiltInLiDARDepthCamera is A device that consists of two cameras, one LiDAR and one YUV. I found that the LiDAR data is 30fps, even making the YUV data 30 fps. But I really need the 240fps YUV data. Is there a way to utilize the 30fps LiDAR with 240fps YUV camera? Any reply would be appreciated.
1
0
913
Feb ’24
FxPlug resolution change w/o scaling - FCPX AI/ML Upscale Effect via Motion?
Namaste! I'm putting together a FCPX Effect that is supposed to increase the resolution with AI upscale, but the only way to add resolution is by scaling. The problem is that scaling causes the video to clip. I want to be able to give a 480 video this "Resolution Upscale" Effect and have it output a 720 or 1080 AI upscaled video, however both FxPlug and Motion Effects does not allow such a thing. The FxPlug is always getting 640x480 input (correct) but only 640x480 output. What is the FxPlug code or Motion Configuration/Cncept for upscaling the resolution without affecting the scale? Is there a way to do this in Motion/FxPlug? Scaling up by FxPlug effect, but then scaling down in a parent Motion Group doesn't do anything. Setting the Group 2D Fixed Resolution doesn't output different dimensions; the debug output from the FxPlug continues saying the input and output is 640x480, even when the group is set at fixed resolution 1920x1080. Doing a hierarchy of Groups with different settings for 2D Fixed Resolution and 3D Flatten do not work. In these instances, the debug output continues saying 640x480 for both input and output. So the plug in isn't aware of the Fixed Resolution change. Does there need to be a new FxPlug property, via [properties:...], like "kFxPropertyKey_ResolutionChange" and an API for changing the dest image resolution? (and without changing the dest rect size) How do we do this?
0
0
859
Feb ’24
Grabbing arbitrary images in FxPlug 4 API
Hi, We're updating our plugins to offer native arm64 support in Final Cut Pro X and thus porting our existing code over to the FxPlug4 API. Here's were we're running into issues: Out plugin features a custom parameter (essentially a push button) that opens a configuration window on the UI thread. This window is supposed to display the frame at the current timeline cursor position. Since the FxTemporalImageAPI which we had been using before for that purpose has been deprecated, how could something like that be implemented? We tried adding a hidden int slider parameter that gets incremented once our selector is hit in order to force a re-render and then grab the current frame in renderDestinationImage:... . However, the render pipeline seems to be stalled until our selector has exited so our force render mechanism seems to be ineffective. So how do we relieably filter out and grab the source image at the current time position in FxPlug 4 ? Thanks! Best, Ray
1
0
1.4k
Nov ’23
Final Cut Pro (Normal AND Trial) Crashing On Startup
Final Cut Pro and the trial version both crash on startup. For the normal version, it just crashes when it opens and the trial version crashed after I press buy or ok on the trial screen. I get this in the report: Translated Report (Full Report Below) ------------------------------------- Process: Final Cut Pro Trial [46603] Path: /Applications/Final Cut Pro Trial.app/Contents/MacOS/Final Cut Pro Trial Identifier: com.apple.FinalCutTrial Version: 10.6.8 (408083) Build Info: ProEditorTrial-40800083016000000~7 (20A1003b) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2023-09-12 17:01:33.0795 +1000 OS Version: macOS 14.0 (23A5337a) Report Version: 12 Anonymous UUID: 7D3ECE38-8830-9AAB-B57A-96802EB10356 Sleep/Wake UUID: E753240A-23A3-46D0-9AC3-21F067436E35 Time Awake Since Boot: 280000 seconds Time Since Wake: 28200 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Final Cut Pro Trial [46603] Application Specific Information: abort() called
0
0
750
Sep ’23
AVPlayer, AVAssetReader, AVAssetWriter - Using MXF files
Hi, I would like to read in .mxf files using AVPlayer and also AVAssetReader. I would like to write out to .mxf files using AVAssetWriter, Should this be possible ? Are there any examples of how to do this ? I found the VTRegisterProfessionalVideoWorkflowVideoDecoders() call but this did not seem to help. I would be grateful for any suggestions. Regards Tom
1
0
1.9k
Aug ’23
Video play never works
Hi Kivy-ios experts, I wrote a very simple video player as below: from kivy.app import App from kivy.uix.screenmanager import Screen from kivy.uix.videoplayer import VideoPlayer class VideoScreen(Screen):    def init(self, **kwargs):      super(VideoScreen, self).init(**kwargs)          self.video = VideoPlayer(source='test.mp4', state='play',options={'allow_stretch':True, 'eos': 'loop'})     self.add_widget(self.video) class MyApp(App):    def build(self):       return VideoScreen() if name == 'main':   MyApp().run() It works fine at my Mac machine. Then I packaged it using this command in kivy-ios: toolchain create video_test /Users/haipan/python/kivy/video_test/ Which generated Xcode project: video_test.xcodeproj in a folder video_test-ios/ Then I double click video_test.xcodeproj, then Xcode launched, then I click the arrow button, then Xcode shows Build Successfully, then its Simulator launched, my app is there, video player seems there too, but no video playing. The error message as below: Got dlopen error on Foundation: dlopen(/System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation, 0x0001): tried: '/Users/haipan/Library/Developer/Xcode/DerivedData/video_test-drwhokvsjnzjuqblihyyhobprqov/Build/Products/Debug-iphonesimulator/Foundation.framework/Versions/Current/Foundation' (no such file), ... I have tried audio files and pictures, they all loaded fine. But I could never load any video. Did anybody get video running by Kivy app? Does Kivy really support video playing? Thank you in advance for any help.
0
0
986
Mar ’23
Final Cut Pro Workflow Extension: Main ViewController not being presented
I'm trying to create a Workflow Extension for Final Cut Pro but I'm not able to do any more than install it. I've created a Mac app and added the Workflow Extension, the app builds and runs and shows up in FCP. When I launch the extension in FCP a window opens for the extension showing a label "Loading", the default extension icon (puzzle piece) and a progress indicator which does not animate. Nothing else happens, the default view included in the extension (that belonging to {ExtensionName}ViewController does not appear. The default view contains a TextField "FCP Workflow Extension" so I am expecting that to show. I have compared this behaviour with Ripple Training's workflow extension and this shows the same loading view before cross dissolving to their custom UI. When the Mac app is running from Xcode and the extension is running inside of FCP I can use Xcode's Attach to Process to attach to the extension but as the view of the {ExtensionName}ViewController does not load I can not use breakpoints or print statements to get any information and that is the only class included in the extension. What am I missing?
2
1
1.7k
Dec ’22
How to create an video on demand platform for the streaming business?
Looking for the best ott platform provider or solution to launch our own video on demand business with customized features and functionalities, revenue models. We are focusing on movie streaming content to broadcast across the web, IOS, Apple TV, Amazon fire tv and monetize over it. Need suggestion regarding this. Thanks, Advance
4
0
2.6k
Oct ’22
Ensuring own Framework continues to be loadable by other apps, which may be Hardened and/or Sandboxed
Hi,My software installs frameworks in the local domain (/Library/Frameworks) that are accessed from third-party apps. Some of these apps are simply code-signed, others are sandboxed. They are obviously signed by other companies, and so far there have been no problems on the part of DYLD in loading and executing code inside our frameworks. The loader is happy to continue looking for our framework outside the app container, in the case of sandboxed apps.What changes are necessary to ensure that our frameworks remain accessible from hardened apps? Hardened Runtime, to the best of my understanding, only allows executables to load code that has been code-signed by the same team, or by Apple. I also think that hardened runtime affects only executables, and yet when I enable the ENABLE_HARDENED_RUNTIME setting in Xcode on my framework targets (via xcconfig) it clearly influences the way they are signed, and suddenly these "hardened frameworks" fail to be loaded by third-party apps, even if these apps aren't yet hardened themselves. In what its perhaps the key to solving this issue, how can one mark non-app targets to enable the library-validation exception? Why would a non-hardened app fail to load code whose only difference may be a simple flag (kill,runtime) in its signature?Maybe I'm wrong to assume that non-app targets deserve any special treatment, but the fact remains that when I enable hardened runtime, our code simply stops being "seen" and loaded by DYLD, with all other variables remaining identical.Thank you!Gabe
11
0
4.4k
Sep ’22
This is not question, this is message to iPadOS team.
Great what you did in iPadOS 16, this is a giant step towards bigger major updates, what we want now in iPadOS 17 is the following: 1- We want a “terminal” system on the iPad with the ability to use it in programming and development, and allow applications to access it in order to create professional IDE copies for the iPad. 2- We hope to have a copy of one of the professional programs on Mac, such as F CUT PRO or XCODE. 3- Improving the stage manager further to become more effective and more real. 4- Take advantage of the empty top space that lies between the battery charge number and the watch, so that there are larger items that we can take advantage of such as a Mac, or even something better than a Mac. We want you to wow us with the iPadOS 17 update. Good luck..
0
0
1.1k
Jul ’22
I just bought Final Cut Pro, and every time I go to open it, it crashes. Can someone help? (CODE INCLUDED)
I just bought Final Cut Pro, and every time I go to open it, it crashes. Can someone help? Here is the code that I think is the problem Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: abort() called Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI. Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff811a2f00e __pthread_kill + 10
0
0
737
May ’22
FxPlug - Turning a command line imaging app to a generator or filter plugin, how to access an image’s absolute pixel values?
Hi, Am new to FxPlug development, and interested in turning a Rust command line image generating app, to either a generator or filter. Have been fiddling with creating different example filters, getting to know Swift, and have tested several working color filters... So far, these have been rather basic, e.g. using the FxBrightness template, adding custom code to edit pixel values 1:1 from source. Am trying to dive in a little deeper, and am finding figuring out the next steps a little overwhelming, challenging... First example: In my CL app, one of the result options evaluates a new pixel output value based on the absolute pixel position in an image. That means using the X and Y position of a pixel to determine what value to generate and render. However, in my tests so far, have been unable to figure out how to get the current image pixel position for use in the fragment shader in metal, as have only managed to get the tiled image’s position, and not the image’s absolute position. This results in seeing a rendered image with 4x the same tiled output images within it, rather than a single image with the desired output. How can I access the absolute image pixel position, and not the absolute tile’s position in the fragment shader in metal (since the image framework is depreciated in favor of tiled images)? In other words, if am looking at my HD output in Motion, and where the cursor points to a pixel at position x: 200, y: 200, am trying to get that value for use in metal, and not the value of the tiled image which returns something like x: -280, y: -70. Any ideas? Thank you for your suggestions. Note: Am not a professional developer, more an experienced digital artist, trying to make tools others may find interesting to use...
9
0
1.8k
May ’22
Problems with XPC endpoint connection
XPC connection keeps getting interrupted. I'm creating an xpc endpoint in FxPlug plugin for FCP X using xpc_endpoint_create. This endpoint is then passed to a helper mach service running in the background and stored there. Next, our main application is launched and retrieves the stored endpoint from the helper service. It creates the communication channel using xpc_connection_create_from_endpoint The main application communicates with FxPlug plugin using that endpoint. It all works well when I am debugging either our application or FxPlug. The moment I use the release build on both, the connection works fine for a while but is very quickly interrupted (usually 2-10 seconds), FxPlug plugin gets flagged as non-responsive and is unloaded by FCP X. This behavior is erratic and may cease after some time on some machines. We've been working on this and some other issues with FxPlug team for months and some changes have been made, but we're stuck with that one last bit. I want to stress the following: when I use a debug version of either plugin or our app, everything works fine, fxplug is never unloaded or marked as unresponsive, the connection is stable. When both components are using release builds, it all comes apart for no apparent reason. Both plugin and application can normally recover and reconnect after being unloaded and restored. Any thoughts on why an xpc connection would be interrupted in this way?
2
0
1.8k
Apr ’22
Access to Final Cut Pro files through extension
Hi, I am developing a Final Cut Pro workflow extension. I would like to upload a Final Cut Pro video with the extension. As far as I understand both the macOS app and the extension are sandboxed and the user doesn't have a direct access to the Final Cut Pro folders. Here there is a described way to receive media through a custom share destination. So far I have been able to parse the XML describing the video after dragging the video from FCP and dropping it in the extension. I have the URL of the video but no access to it - permissions denied. Can I programmatically acquire access to the folder/ file in question? Or have the user allow access at the beginning and use it later? Or should I use custom shared destination for that purpose? Thank you in advance!
0
0
941
Mar ’22
How does Final Cut Camera synchronize videos
I have an application that enables recording video from multiple iPhones through an iPad. It uses Multipeer Connectivity for all the device communication. When the user presses record on the iPad, it sends a command to each device in parallel and they start capturing video. But since network latency varies, I cannot guarantee that the recording start and stop times are consistent among all the iPhones. I need the frames to be exactly in sync. I tried using the system clock on each device for synchronizing the videos. If all the device system clocks were in sync within 3ms (30 frames per second), then it should be okay. But I tested and the clocks vary quite a bit, multiple seconds. So that won't work. I ultimately solved the problem by having a countdown timer on the iPad. The user puts the iPad in view of each phone with the countdown. Then later I use a python script to cut all the videos when the countdown timer goes to 0. But that's more work for the end user and requires manual work on our end. With a little ML text recognition, this could get better. Some people have suggested using a time server and syncing the clocks that way. I still haven't tried this out, and I'm not sure if it's even possible to run a NTP server on an iPad, and whether the NTP resolution will be below 3ms. I tried out Final Cut Camera and it has solved the synchronization problem. Each frame is in sync. The phones don't start and stop at exactly the same time, and they account for this by adding black frames to the front and/or back of videos to account for differences. I've searched online and other people have the same problem. I'd love to know how Apple was able to solve the synchronization issue when recording video from multiple iPhones from an iPad over what I assume is Multipeer Connectivity.
Replies
1
Boosts
0
Views
772
Activity
Jul ’24
Programmatically passing files to Final Cut via Apple Events
We have trying to programmatically send data to Final Cut Pro by using Apple Event as decribed in Sending Data Programmatically to Final Cut Pro : tell application "Final Cut Pro" activate open POSIX file "/Users/JohnDoe/Documents/UberMAM/MyEvents.fcpxml" end tell This works fine in Script Editor but we run into problems when trying to do the same in our macOS app. We found interesting information in Workflow Extensions SDK 1.0.2 Release Notes.pdf. A) Hardened runtime has "Apple Events Enabled" checked. B) Info.plist contains NSAppleEventsUsageDescription: <key>NSAppleEventsUsageDescription</key> <string>Test string</string> C) We added following entitlements: <key>com.apple.security.scripting-targets</key> <dict> <key>com.apple.FinalCut</key> <array> <string>com.apple.FinalCut.library.inspection</string> </array> <key>com.apple.FinalCutTrial</key> <array> <string>com.apple.FinalCut.library.inspection</string> </array> </dict> <key>com.apple.security.automation.apple-events</key> <true/> With this configuration in place, our app is able to call AppleScript to activate Final Cut Pro application but it is unable to open the file. Following error is returned: Error executing AppleScript: { NSAppleScriptErrorAppName = "Final Cut Pro Trial"; NSAppleScriptErrorBriefMessage = "A privilege violation occurred."; NSAppleScriptErrorMessage = "Final Cut Pro Trial got an error: A privilege violation occurred."; NSAppleScriptErrorNumber = "-10004"; NSAppleScriptErrorRange = "NSRange: {56, 64}"; } Also there is no prompt asking user to allow Automation from our app to Final Cut. I am not sure whether the prompt is to be expected when developing an application in Xcode. Our current workaround is to add (or even replace com.apple.security.scripting-targets with): com.apple.security.temporary-exception.apple-events entitlement like this <key>com.apple.security.temporary-exception.apple-events</key> <array> <key>com.apple.FinalCutTrial</key> </array> However while this approach might work in development we know this would probably prevent us from publishing the app to Mac App Store. I think we are missing something obvious. Could you help? :-)
Replies
10
Boosts
0
Views
1.8k
Activity
Jun ’24
Error 159 - Sandbox restriction when connecting to XPC service
Hello Apple Developer Community, I'm encountering an issue with my macOS application where I'm receiving the following error message: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.FxPlugTestXPC was invalidated: failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.FxPlugTestXPC was invalidated: failed at lookup with error 159 - Sandbox restriction.} This error occurs when my application tries to establish a connection to an XPC service named com.FxPlugTestXPC. It appears to be related to a sandbox restriction, but I'm unsure how to resolve it. I've checked the sandboxing entitlements and ensured that the necessary permissions are in place. However, the issue persists. Has anyone encountered a similar error before? If so, could you please provide guidance on how to troubleshoot and resolve this issue? Any help or insights would be greatly appreciated. Thank you. this is some photos about my entitlements :
Replies
16
Boosts
0
Views
5.2k
Activity
Apr ’24
LiDAR camera low FPS problem
When I use LiDAR, AVCaptureDeviceTypeBuiltInLiDARDepthCamera is used. As AVCaptureDeviceTypeBuiltInLiDARDepthCamera is A device that consists of two cameras, one LiDAR and one YUV. I found that the LiDAR data is 30fps, even making the YUV data 30 fps. But I really need the 240fps YUV data. Is there a way to utilize the 30fps LiDAR with 240fps YUV camera? Any reply would be appreciated.
Replies
1
Boosts
0
Views
913
Activity
Feb ’24
Accessing Audio of FxPlug?
Is there a way for an FXPlug to access the Source audio? Or do we need to make an AU plugin, apply it to a audio source [both video or audio track], and feed the info via shared memory to an FXPlug? Is there an AU plugin for external processes to "listen" to the audio?
Replies
0
Boosts
0
Views
846
Activity
Feb ’24
FxPlug resolution change w/o scaling - FCPX AI/ML Upscale Effect via Motion?
Namaste! I'm putting together a FCPX Effect that is supposed to increase the resolution with AI upscale, but the only way to add resolution is by scaling. The problem is that scaling causes the video to clip. I want to be able to give a 480 video this "Resolution Upscale" Effect and have it output a 720 or 1080 AI upscaled video, however both FxPlug and Motion Effects does not allow such a thing. The FxPlug is always getting 640x480 input (correct) but only 640x480 output. What is the FxPlug code or Motion Configuration/Cncept for upscaling the resolution without affecting the scale? Is there a way to do this in Motion/FxPlug? Scaling up by FxPlug effect, but then scaling down in a parent Motion Group doesn't do anything. Setting the Group 2D Fixed Resolution doesn't output different dimensions; the debug output from the FxPlug continues saying the input and output is 640x480, even when the group is set at fixed resolution 1920x1080. Doing a hierarchy of Groups with different settings for 2D Fixed Resolution and 3D Flatten do not work. In these instances, the debug output continues saying 640x480 for both input and output. So the plug in isn't aware of the Fixed Resolution change. Does there need to be a new FxPlug property, via [properties:...], like "kFxPropertyKey_ResolutionChange" and an API for changing the dest image resolution? (and without changing the dest rect size) How do we do this?
Replies
0
Boosts
0
Views
859
Activity
Feb ’24
Grabbing arbitrary images in FxPlug 4 API
Hi, We're updating our plugins to offer native arm64 support in Final Cut Pro X and thus porting our existing code over to the FxPlug4 API. Here's were we're running into issues: Out plugin features a custom parameter (essentially a push button) that opens a configuration window on the UI thread. This window is supposed to display the frame at the current timeline cursor position. Since the FxTemporalImageAPI which we had been using before for that purpose has been deprecated, how could something like that be implemented? We tried adding a hidden int slider parameter that gets incremented once our selector is hit in order to force a re-render and then grab the current frame in renderDestinationImage:... . However, the render pipeline seems to be stalled until our selector has exited so our force render mechanism seems to be ineffective. So how do we relieably filter out and grab the source image at the current time position in FxPlug 4 ? Thanks! Best, Ray
Replies
1
Boosts
0
Views
1.4k
Activity
Nov ’23
Final Cut Pro (Normal AND Trial) Crashing On Startup
Final Cut Pro and the trial version both crash on startup. For the normal version, it just crashes when it opens and the trial version crashed after I press buy or ok on the trial screen. I get this in the report: Translated Report (Full Report Below) ------------------------------------- Process: Final Cut Pro Trial [46603] Path: /Applications/Final Cut Pro Trial.app/Contents/MacOS/Final Cut Pro Trial Identifier: com.apple.FinalCutTrial Version: 10.6.8 (408083) Build Info: ProEditorTrial-40800083016000000~7 (20A1003b) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2023-09-12 17:01:33.0795 +1000 OS Version: macOS 14.0 (23A5337a) Report Version: 12 Anonymous UUID: 7D3ECE38-8830-9AAB-B57A-96802EB10356 Sleep/Wake UUID: E753240A-23A3-46D0-9AC3-21F067436E35 Time Awake Since Boot: 280000 seconds Time Since Wake: 28200 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Final Cut Pro Trial [46603] Application Specific Information: abort() called
Replies
0
Boosts
0
Views
750
Activity
Sep ’23
AVPlayer, AVAssetReader, AVAssetWriter - Using MXF files
Hi, I would like to read in .mxf files using AVPlayer and also AVAssetReader. I would like to write out to .mxf files using AVAssetWriter, Should this be possible ? Are there any examples of how to do this ? I found the VTRegisterProfessionalVideoWorkflowVideoDecoders() call but this did not seem to help. I would be grateful for any suggestions. Regards Tom
Replies
1
Boosts
0
Views
1.9k
Activity
Aug ’23
Video play never works
Hi Kivy-ios experts, I wrote a very simple video player as below: from kivy.app import App from kivy.uix.screenmanager import Screen from kivy.uix.videoplayer import VideoPlayer class VideoScreen(Screen):    def init(self, **kwargs):      super(VideoScreen, self).init(**kwargs)          self.video = VideoPlayer(source='test.mp4', state='play',options={'allow_stretch':True, 'eos': 'loop'})     self.add_widget(self.video) class MyApp(App):    def build(self):       return VideoScreen() if name == 'main':   MyApp().run() It works fine at my Mac machine. Then I packaged it using this command in kivy-ios: toolchain create video_test /Users/haipan/python/kivy/video_test/ Which generated Xcode project: video_test.xcodeproj in a folder video_test-ios/ Then I double click video_test.xcodeproj, then Xcode launched, then I click the arrow button, then Xcode shows Build Successfully, then its Simulator launched, my app is there, video player seems there too, but no video playing. The error message as below: Got dlopen error on Foundation: dlopen(/System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation, 0x0001): tried: '/Users/haipan/Library/Developer/Xcode/DerivedData/video_test-drwhokvsjnzjuqblihyyhobprqov/Build/Products/Debug-iphonesimulator/Foundation.framework/Versions/Current/Foundation' (no such file), ... I have tried audio files and pictures, they all loaded fine. But I could never load any video. Did anybody get video running by Kivy app? Does Kivy really support video playing? Thank you in advance for any help.
Replies
0
Boosts
0
Views
986
Activity
Mar ’23
Final Cut Pro Workflow Extension: Main ViewController not being presented
I'm trying to create a Workflow Extension for Final Cut Pro but I'm not able to do any more than install it. I've created a Mac app and added the Workflow Extension, the app builds and runs and shows up in FCP. When I launch the extension in FCP a window opens for the extension showing a label "Loading", the default extension icon (puzzle piece) and a progress indicator which does not animate. Nothing else happens, the default view included in the extension (that belonging to {ExtensionName}ViewController does not appear. The default view contains a TextField "FCP Workflow Extension" so I am expecting that to show. I have compared this behaviour with Ripple Training's workflow extension and this shows the same loading view before cross dissolving to their custom UI. When the Mac app is running from Xcode and the extension is running inside of FCP I can use Xcode's Attach to Process to attach to the extension but as the view of the {ExtensionName}ViewController does not load I can not use breakpoints or print statements to get any information and that is the only class included in the extension. What am I missing?
Replies
2
Boosts
1
Views
1.7k
Activity
Dec ’22
Final Cut Pro running on macOS Ventura 13.0 Beta
Crash issue. Clicking on Audio inspector of any clip. &amp;lt;--- instant crash.
Replies
5
Boosts
2
Views
3.4k
Activity
Nov ’22
How to create an video on demand platform for the streaming business?
Looking for the best ott platform provider or solution to launch our own video on demand business with customized features and functionalities, revenue models. We are focusing on movie streaming content to broadcast across the web, IOS, Apple TV, Amazon fire tv and monetize over it. Need suggestion regarding this. Thanks, Advance
Replies
4
Boosts
0
Views
2.6k
Activity
Oct ’22
Ensuring own Framework continues to be loadable by other apps, which may be Hardened and/or Sandboxed
Hi,My software installs frameworks in the local domain (/Library/Frameworks) that are accessed from third-party apps. Some of these apps are simply code-signed, others are sandboxed. They are obviously signed by other companies, and so far there have been no problems on the part of DYLD in loading and executing code inside our frameworks. The loader is happy to continue looking for our framework outside the app container, in the case of sandboxed apps.What changes are necessary to ensure that our frameworks remain accessible from hardened apps? Hardened Runtime, to the best of my understanding, only allows executables to load code that has been code-signed by the same team, or by Apple. I also think that hardened runtime affects only executables, and yet when I enable the ENABLE_HARDENED_RUNTIME setting in Xcode on my framework targets (via xcconfig) it clearly influences the way they are signed, and suddenly these "hardened frameworks" fail to be loaded by third-party apps, even if these apps aren't yet hardened themselves. In what its perhaps the key to solving this issue, how can one mark non-app targets to enable the library-validation exception? Why would a non-hardened app fail to load code whose only difference may be a simple flag (kill,runtime) in its signature?Maybe I'm wrong to assume that non-app targets deserve any special treatment, but the fact remains that when I enable hardened runtime, our code simply stops being "seen" and loaded by DYLD, with all other variables remaining identical.Thank you!Gabe
Replies
11
Boosts
0
Views
4.4k
Activity
Sep ’22
FCPX Red Frame Issue!
Anybody else experiencing weird red overlay on all clips? Only red overlays on content shot with Sony camera; all iPhone footage works. Updated to the new Ventura seed over the weekend. I'm thinking that's the issue and a fix will come soon?
Replies
0
Boosts
0
Views
914
Activity
Sep ’22
This is not question, this is message to iPadOS team.
Great what you did in iPadOS 16, this is a giant step towards bigger major updates, what we want now in iPadOS 17 is the following: 1- We want a “terminal” system on the iPad with the ability to use it in programming and development, and allow applications to access it in order to create professional IDE copies for the iPad. 2- We hope to have a copy of one of the professional programs on Mac, such as F CUT PRO or XCODE. 3- Improving the stage manager further to become more effective and more real. 4- Take advantage of the empty top space that lies between the battery charge number and the watch, so that there are larger items that we can take advantage of such as a Mac, or even something better than a Mac. We want you to wow us with the iPadOS 17 update. Good luck..
Replies
0
Boosts
0
Views
1.1k
Activity
Jul ’22
I just bought Final Cut Pro, and every time I go to open it, it crashes. Can someone help? (CODE INCLUDED)
I just bought Final Cut Pro, and every time I go to open it, it crashes. Can someone help? Here is the code that I think is the problem Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: abort() called Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI. Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff811a2f00e __pthread_kill + 10
Replies
0
Boosts
0
Views
737
Activity
May ’22
FxPlug - Turning a command line imaging app to a generator or filter plugin, how to access an image’s absolute pixel values?
Hi, Am new to FxPlug development, and interested in turning a Rust command line image generating app, to either a generator or filter. Have been fiddling with creating different example filters, getting to know Swift, and have tested several working color filters... So far, these have been rather basic, e.g. using the FxBrightness template, adding custom code to edit pixel values 1:1 from source. Am trying to dive in a little deeper, and am finding figuring out the next steps a little overwhelming, challenging... First example: In my CL app, one of the result options evaluates a new pixel output value based on the absolute pixel position in an image. That means using the X and Y position of a pixel to determine what value to generate and render. However, in my tests so far, have been unable to figure out how to get the current image pixel position for use in the fragment shader in metal, as have only managed to get the tiled image’s position, and not the image’s absolute position. This results in seeing a rendered image with 4x the same tiled output images within it, rather than a single image with the desired output. How can I access the absolute image pixel position, and not the absolute tile’s position in the fragment shader in metal (since the image framework is depreciated in favor of tiled images)? In other words, if am looking at my HD output in Motion, and where the cursor points to a pixel at position x: 200, y: 200, am trying to get that value for use in metal, and not the value of the tiled image which returns something like x: -280, y: -70. Any ideas? Thank you for your suggestions. Note: Am not a professional developer, more an experienced digital artist, trying to make tools others may find interesting to use...
Replies
9
Boosts
0
Views
1.8k
Activity
May ’22
Problems with XPC endpoint connection
XPC connection keeps getting interrupted. I'm creating an xpc endpoint in FxPlug plugin for FCP X using xpc_endpoint_create. This endpoint is then passed to a helper mach service running in the background and stored there. Next, our main application is launched and retrieves the stored endpoint from the helper service. It creates the communication channel using xpc_connection_create_from_endpoint The main application communicates with FxPlug plugin using that endpoint. It all works well when I am debugging either our application or FxPlug. The moment I use the release build on both, the connection works fine for a while but is very quickly interrupted (usually 2-10 seconds), FxPlug plugin gets flagged as non-responsive and is unloaded by FCP X. This behavior is erratic and may cease after some time on some machines. We've been working on this and some other issues with FxPlug team for months and some changes have been made, but we're stuck with that one last bit. I want to stress the following: when I use a debug version of either plugin or our app, everything works fine, fxplug is never unloaded or marked as unresponsive, the connection is stable. When both components are using release builds, it all comes apart for no apparent reason. Both plugin and application can normally recover and reconnect after being unloaded and restored. Any thoughts on why an xpc connection would be interrupted in this way?
Replies
2
Boosts
0
Views
1.8k
Activity
Apr ’22
Access to Final Cut Pro files through extension
Hi, I am developing a Final Cut Pro workflow extension. I would like to upload a Final Cut Pro video with the extension. As far as I understand both the macOS app and the extension are sandboxed and the user doesn't have a direct access to the Final Cut Pro folders. Here there is a described way to receive media through a custom share destination. So far I have been able to parse the XML describing the video after dragging the video from FCP and dropping it in the extension. I have the URL of the video but no access to it - permissions denied. Can I programmatically acquire access to the folder/ file in question? Or have the user allow access at the beginning and use it later? Or should I use custom shared destination for that purpose? Thank you in advance!
Replies
0
Boosts
0
Views
941
Activity
Mar ’22