News:

--

Main Menu

Apple Silicon (ARM) support

Started by mondego, January 14, 2021, 02:44:42 PM

Previous topic - Next topic

mondego

Any plans to support ARM for the next release?

eumagga0x2a

Avidemux runs natively on ARM/Linux, albeit with limitations due to assembly in Avidemux itself (not in bundled libraries) being x86-only. There are no official builds, that's all. However, it is very uncertain whether any development will happen targeting ARM/macOS.

Barbarossa

Would love to see ARM support on the Mac.
I tried to compile it but failed, I've replaced the built in ffmpeg with the one bundled with Homebrew, and then figured out how to use Homebrew's libav, but then had some more issues with the build using x86 instead of ARM (seems to be hardcoded somewhere) - and gave up on it, was too time consuming.

eumagga0x2a

Quote from: Barbarossa on February 23, 2021, 02:11:53 PMI tried to compile it but failed

What was the exact error message? Did you change MACOSX_DEPLOYMENT_TARGET, currently hardcoded in bootStrapOsx_Catalina.bash to Catalina (10.15) to the default value as reported by

xcrun --sdk macosx --show-sdk-version?

Quote from: Barbarossa on February 23, 2021, 02:11:53 PMI've replaced the built in ffmpeg with the one bundled with Homebrew

I really wonder how you accomplished that as Avidemux relies on a patched version to access some useful private functions.

Who

#4
Since this topic has not been updated in several months let me ask, has there been any progress on creating an official build for Apple Silicon?  I ask because the Mac I have been using might be starting to have hardware issues (all I know for sure is that it has been freezing up and crashing a lot lately), and I have no idea how to compile Avidemux or anything else on a Mac.  So basically what I am taking away from this thread is that if I were to get a new Mac with Apple Silicon I would no longer be able to use Avidemux, unless something has changed since February.  Is that correct, or am I missing something here? How about running a current Apple version of Avidemux using Rosetta, does that work well or are there issues with that?

eumagga0x2a

Quote from: Who on June 19, 2021, 07:48:40 PMhas there been any progress on creating an official build for Apple Silicon?

I would claim with a high degree of certainty that official native builds for Apple Silicon are technically impossible, at least for now.

The only Apple hardware I own is a 2016 MBP which has proven pretty useful during the pandemic for Zoom meetings. It is also my only device to test Avidemux on Windows 10. As long as it works, it works. No strategy exists for the case of a hardware failure yet, I personally don't depend on any software which is macOS-only.

Quote from: Who on June 19, 2021, 07:48:40 PMHow about running a current Apple version of Avidemux using Rosetta

I hope very much that it will work, at least in some basic way (not sure that OpenGL will work, the same for VideoToolbox).

Quote from: Who on June 19, 2021, 07:48:40 PMdoes that work well or are there issues with that?

I'm entirely dependent on feedback from Avidemux users who have Apple Silicon hardware. There hasn't been any so far.

lemongrab

Quote from: eumagga0x2a on June 19, 2021, 10:59:10 PM
Quote from: Who on June 19, 2021, 07:48:40 PMhas there been any progress on creating an official build for Apple Silicon?

I would claim with a high degree of certainty that official native builds for Apple Silicon are technically impossible, at least for now.

The only Apple hardware I own is a 2016 MBP which has proven pretty useful during the pandemic for Zoom meetings. It is also my only device to test Avidemux on Windows 10. As long as it works, it works. No strategy exists for the case of a hardware failure yet, I personally don't depend on any software which is macOS-only.

Quote from: Who on June 19, 2021, 07:48:40 PMHow about running a current Apple version of Avidemux using Rosetta

I hope very much that it will work, at least in some basic way (not sure that OpenGL will work, the same for VideoToolbox).

Quote from: Who on June 19, 2021, 07:48:40 PMdoes that work well or are there issues with that?

I'm entirely dependent on feedback from Avidemux users who have Apple Silicon hardware. There hasn't been any so far.


Silicon user here (cheapest Macbook Air). Found this thread today while searching about compatibility.

Installed it and it seems to be working fine for me. But, I'm a very simplistic user, so YMMV.

Thanks for a great program!

eumagga0x2a

Could you please check that OpenGL (video display: "QtGl") and the hardware accelerated video decoding ("VideoToolbox") for H.264 / HEVC video tracks work?

Whiskydrinker

Quote from: eumagga0x2a on June 27, 2021, 07:54:53 AMCould you please check that OpenGL (video display: "QtGl") and the hardware accelerated video decoding ("VideoToolbox") for H.264 / HEVC video tracks work?
I recently also upgraded my Mac to Apple Silicon. Rosetta2 actually works pretty well. So to answer you question, I set:

Display
-> Video display: OpenGL
-> Guid Rendering Options: Checked Enable openGl support

HW Accel:
-> Checked Decode video using VideoToolbox

Everything works fine with a sample MP4 file.

trigger2k23

Hello,
i like avidemux, is there any updates regarding native apple silicon support?

Thanks

eumagga0x2a

#10
I didn't check that it still builds for a while, but in principle, you should be able to compile and run it as long as you don't try to create a self-contained app bundle (pass --nopkg as option to bootStrapMacOS_Monterey.arm64.sh).

No work has been put into solving the issue of inability to run self-contained app bundle due to invalidated signatures of fixed up Homebrew libraries, thus no proper packaging and no distribution possible.

The performance of a native build on a M1 Mac Mini was formidable last time I checked.

eumagga0x2a

Just to save you a big head-scratching moment when trying to compile Avidemux on macOS/arm64: Avidemux source and build directories must be located on a case-sensitive filesystem. By default, Apple creates APFS volumes in case-insensitive mode. You will need to create a new, case-sensitive one, e.g. as a subvolume and only then clone the source etc.

trigger2k23

#12
Hello Folks,
since they have been successfull builds, can we have a compiled version for uns normal mortals ?  ;D

Nice Weekend,
Thanks trigger2k3

eumagga0x2a

Quote from: trigger2k23 on August 05, 2023, 11:59:41 AMsince they have been successfull builds

Actually, build has turned out to be broken on Ventura with the current MacOS SDK so that it is necessary to request an older one as far as such a SDK is present on the system. Again, creation of an app bundle is not possible (yet).

Quote from: trigger2k23 on August 05, 2023, 11:59:41 AMcan we have a compiled version for uns normal mortals ?

No app bundles – no compiled distributable versions no matter whether normal or abnormal mortals.

trigger2k23

Hi eumagga0x2a,
any updates if a build is possible ? BTW, when i choose
HW Accel:
-> Checked Decode video using VideoToolbox
then runs at least the decoding part native ?

Cheers