Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Composition example not working on intel mac simulator #347

Open
3 tasks done
JackYoustra opened this issue Jan 13, 2023 · 1 comment
Open
3 tasks done

Video Composition example not working on intel mac simulator #347

JackYoustra opened this issue Jan 13, 2023 · 1 comment

Comments

@JackYoustra
Copy link

JackYoustra commented Jan 13, 2023

On the intel mac's iOS simulator, the video composition feature is broken.

Checklist

Environment

Info Value
MetalPetal Version 1.25.1 (master, latest)
Integration Method The examples repository
Platform & Version iOS 16.1 / macOS Ventura (2019 intel + M1 apple silicon)
Device MacBook Pro 16' (2019 and apple silicon) + iPhone X

Steps to Reproduce

  1. Launch MetalPetal examples in iOS simulator on an (intel mac / apple silicon mac) or a real device
  2. Go to video processing example
  3. Choose video

Expected behavior

Describe what you expect to happen.
(as is true on everything except the intel iOS simulator): expected behavior of filtered playback + export

Actual behavior

Screen.Recording.2023-01-12.at.4.15.15.PM.mov
@YuAo
Copy link
Member

YuAo commented Feb 14, 2023

Works on my Intel MacBookPro. Can you add a breakpoint at line 57 and see if there's any error reported.

public func finish(_ result: Result<CVPixelBuffer, Error>) {
switch result {
case .failure(let error):
self.finish(with: error)
case .success(let pixelBuffer):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants