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

Arm64 Native Builds For Windows #1475

Open
4 tasks done
intzaaa opened this issue Feb 17, 2023 · 6 comments
Open
4 tasks done

Arm64 Native Builds For Windows #1475

intzaaa opened this issue Feb 17, 2023 · 6 comments

Comments

@intzaaa
Copy link

intzaaa commented Feb 17, 2023

I have a lot of issues to go through, so in order to make it easier for me to help you, I ask that you please try these things first

Description

I am currently using a Windows PC with a Qualcomm Snapdragon processor.
I would like to be able to get a native build for arm64 in the release.
Thanks!

@mifi
Copy link
Owner

mifi commented Feb 17, 2023

maybe it would just work if enabling arm64 for windows in electron-builder under package.json:

lossless-cut/package.json

Lines 277 to 280 in dd1b44f

"target": [
"7z",
"appx"
],

similar to linux:

lossless-cut/package.json

Lines 409 to 429 in dd1b44f

"target": [
{
"arch": "x64",
"target": "tar.bz2"
},
{
"arch": "x64",
"target": "AppImage"
},
{
"arch": "x64",
"target": "snap"
},
{
"arch": "arm64",
"target": "tar.bz2"
},
{
"arch": "armv7l",
"target": "tar.bz2"
}

but i'm not sure how to get ffmpeg arm64 windows builds. maybe it would have to be a bring-your-own-ffmpeg, like we already do for linux arm.

https://www.electronjs.org/docs/latest/tutorial/windows-arm

@yutouyes
Copy link

yutouyes commented Aug 2, 2024

maybe it would just work if enabling arm64 for windows in electron-builder under package.json:

lossless-cut/package.json

Lines 277 to 280 in dd1b44f

"target": [
"7z",
"appx"
],

similar to linux:

lossless-cut/package.json

Lines 409 to 429 in dd1b44f

"target": [
{
"arch": "x64",
"target": "tar.bz2"
},
{
"arch": "x64",
"target": "AppImage"
},
{
"arch": "x64",
"target": "snap"
},
{
"arch": "arm64",
"target": "tar.bz2"
},
{
"arch": "armv7l",
"target": "tar.bz2"
}

but i'm not sure how to get ffmpeg arm64 windows builds. maybe it would have to be a bring-your-own-ffmpeg, like we already do for linux arm.

https://www.electronjs.org/docs/latest/tutorial/windows-arm

Hello is there any update? I found some arm64 ffmpeg libs. Hope they can help.
https://github.com/System233/ffmpeg-msvc-prebuilt/releases
https://github.com/tordona/ffmpeg-win-arm64/releases

@mifi
Copy link
Owner

mifi commented Aug 4, 2024

this hasn't been a very frequently requested feature (and there are no thumbs up on this issue), so I'm not sure of the value. If only a few people want it, it should still be possible to build it yourself by changing the code like i described here and then build it locally:

cd lossless-cut
yarn install
yarn build && npx electron-builder --win zip

@jullimullins
Copy link

jullimullins commented Nov 8, 2024

Windows arm versions are getting more popular, so I think that the need is increasing all the time. It also sound like there is a working solution available (This is just a hupotesis made by newbie).

@mifi
Copy link
Owner

mifi commented Nov 8, 2024

still only 2 👍 on the op though

@jullimullins
Copy link

jullimullins commented Nov 9, 2024

That's true. Question is that how many just use some other option instead of puting a request in and it's also possible to run losslesscut xin64 version on arm computer (win11) through emulation. Emulation is actually working quite well.

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

No branches or pull requests

4 participants