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

Would love to see an Apple Silicon version of cTiVo #443

Closed
stevehoek opened this issue Dec 9, 2020 · 13 comments
Closed

Would love to see an Apple Silicon version of cTiVo #443

stevehoek opened this issue Dec 9, 2020 · 13 comments

Comments

@stevehoek
Copy link

Any plans for this?

Thanks!

@mackworth
Copy link
Owner

cTiVo itself works with no problem. Handbrake has released a beta, which works great, but ffmpeg and the other apps have not been recompiled yet.So I have created a “FrankenTiVo”: half Intel code, half Apple Silicon. The rest should happen over the next couple months, and I'll do a new version then.

@mrfusiontm
Copy link

mrfusiontm commented Dec 10, 2020 via email

@ryanbreen
Copy link

FYI, libmp4v2 is now available for M1 via homebrew: https://homebrew.bintray.com/bottles/mp4v2-2.0.0.arm64_big_sur.bottle.1.tar.gz

Haven't tried out a build with it yet, so YMMV.

@mackworth
Copy link
Owner

mackworth commented Dec 28, 2020 via email

@ryanbreen
Copy link

Looks like the hangup on ffmpeg building in homebrew at the moment is openjdk of all things, but a plan for that should land any day now: Homebrew/homebrew-core#65670

@vtrandal
Copy link

vtrandal commented Dec 28, 2020 via email

@ryanbreen
Copy link

ffmpeg is good to go!

wrb@Ryans-Mac-mini ~ % file /opt/homebrew/bin/ffmpeg 
/opt/homebrew/bin/ffmpeg: Mach-O 64-bit executable arm64

@ryanbreen
Copy link

ryanbreen commented Jan 17, 2021

Blocker (for me, at least) at this point is in CocoPods, preventing me from getting dependencies installed: CocoaPods/CocoaPods#9907

(and the blocker there is ultimately traceable through the ethon gem (typhoeus/ethon#172) to ffi (ffi/ffi#864). man oh man is m1 a journey.)

@mackworth
Copy link
Owner

Sorry didn't see your comment back then. FWIW, you can run CocoaPods with Rosetta (arch x86_64 pod install) even though everything else is targeted to both architectures.

I have a further joy that I have to compile ffmpeg statically linked for older versions of the OS. Trying to do that with either homebrew or macports is a real pain.

@larsenv
Copy link

larsenv commented Jul 5, 2021

@mackworth hey, is there any updates about this?

I did try to send an email about this to the email listed on your GitHub profile, but I didn't get a response.

@mackworth
Copy link
Owner

Sorry for delays here.. Latest update:

It is. cTiVo compilation is automatic, but building the subprograms has been the issue. ccextractor and comskip were pretty easy, Handbrake provides their CLI, but ffmpeg was the delay. Building it in the straightforward way compiles easily, but is no faster than Intel emulated version. Building it in a way that incorporates the NEON changes, and is still built on dynamic libraries that are also used in comskip while still supporting older MacOS on Intel...has been a royal pain. I'm close to a beta version through now; AFAIK, just testing remains.

@mackworth
Copy link
Owner

Well, I'm still not seeing quite as good a performance of ffmpeg as for HandBrake, but it's far better than Rosetta, so I'll go ahead with the beta. If anyone wants to collaborate on the ffmpeg build process, that'd be great.

@mackworth
Copy link
Owner

Here's the beta: https://github.com/mackworth/cTiVo/releases/tag/3.5.0Beta

Any comments/discussion, see this thread

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

6 participants