Ffmpeg electron build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Ffmpeg electron build

Martin Barker
Hello, I am trying to make an electron app that uses ffmpeg, and I am
trying to release this electron program on the mac apple store, which means
the app needs to be sandboxed. I've been able to create a static ffmpeg
build, but my ffmpeg build stops working once I build it with my electron
mac-apple-store (mas) build, will throw this error: "illegal instruction 4"

I know this is a pretty niche project, but I know people have
successfully packaged ffmpeg into an electron app on the mac-apple-store
before, like lossless-cut (https://github.com/mifi/lossless-cut)

I documented all my steps in much greater detail here:
https://stackoverflow.com/questions/66286440/electron-ffmpeg-mas-build-illegal-instruction-4

Any help would be greatly appreciated, thank you.
Martin
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Ffmpeg electron build

Carl Eugen Hoyos-2
Am Sa., 27. Feb. 2021 um 19:28 Uhr schrieb Martin Barker
<[hidden email]>:
>
> Hello, I am trying to make an electron app that uses ffmpeg, and I am
> trying to release this electron program on the mac apple store, which
> means the app needs to be sandboxed.

I sincerely hope you are not planning to "release" a program based
on FFmpeg source code and built with "--enable-nonfree" as this
would violate the copyright of the FFmpeg developers.

In addition, I hope you understand that asking for help while
trying this makes it much worse.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Ffmpeg electron build

Martin Barker
Isn't ffmpeg Free Open Source Software? My electron app is also free, open
source, and will be released with the GPL license, it's just a free video
editor me (a hobbyist) made.
My issue isn't with ffmpeg it's with mac credential signing, so I will seek
help elsewhere. Thanks for the threat though Carl.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Ffmpeg electron build

Paul B Mahol
On Sat, Feb 27, 2021 at 10:45 PM Martin Barker <[hidden email]>
wrote:

> Isn't ffmpeg Free Open Source Software? My electron app is also free, open
> source, and will be released with the GPL license, it's just a free video
> editor me (a hobbyist) made.
> My issue isn't with ffmpeg it's with mac credential signing, so I will seek
> help elsewhere. Thanks for the threat though Carl.
>


You will be sued if you continue to share binaries built with -non-free
configure option.


> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Ffmpeg electron build

Carl Eugen Hoyos-2
In reply to this post by Martin Barker
Am Sa., 27. Feb. 2021 um 22:45 Uhr schrieb Martin Barker
<[hidden email]>:
>
> Isn't ffmpeg Free Open Source Software?

It is Free Open Source Software released (at your choice) under
the LGPL or the GPL. You cannot fulfill the requirements of
the (L)GPL if you compile FFmpeg with --enable-nonfree.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Ffmpeg electron build

Carl Zwanzig
In reply to this post by Paul B Mahol
On 2/27/2021 1:57 PM, Paul B Mahol wrote:
> You will be sued if you continue to share binaries built with -non-free
> configure option.

Are you a lawyer in his jurisdiction? If not, then the threats are
meaningless. And do you even know if he _has_ distributed ffmpeg w/
"non-free"?? If not, then there is no issue.

How about, instead, simply pointing out what "non-free" means in the context
of ffmpeg and why it's a bad idea.



Martin-
Unless you -really- need --enable-gpl and --enable-nonfree, I'd drop them
both.  (see https://ffmpeg.org/legal.html)

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Ffmpeg electron build

Paul B Mahol
On Sat, Feb 27, 2021 at 11:13 PM Carl Zwanzig <[hidden email]> wrote:

> On 2/27/2021 1:57 PM, Paul B Mahol wrote:
> > You will be sued if you continue to share binaries built with -non-free
> > configure option.
>
> Are you a lawyer in his jurisdiction? If not, then the threats are
> meaningless. And do you even know if he _has_ distributed ffmpeg w/
> "non-free"?? If not, then there is no issue.
>


Again. I'm not threatening, I'm just being kind to impolite person so
person does not get sued by bigger fish.



> How about, instead, simply pointing out what "non-free" means in the
> context
> of ffmpeg and why it's a bad idea.
>
>
>
> Martin-
> Unless you -really- need --enable-gpl and --enable-nonfree, I'd drop them
> both.  (see https://ffmpeg.org/legal.html)
>
> z!
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Ffmpeg electron build

Carl Zwanzig
On 2/27/2021 2:25 PM, Paul B Mahol wrote:
>> On 2/27/2021 1:57 PM, Paul B Mahol wrote:

>>> You will be sued if you continue to share binaries built with -non-free
>>> configure option.

> Again. I'm not threatening, I'm just being kind to impolite person so
> person does not get sued by bigger fish.

Other countries may be different, but in the US saying "you will be sued"
can be considered a threat of imminent suit; saying "you may be sued" is
only informational. Even better is usually to say "doing this will violate
the license terms" and leave it at that; most people really do want to
comply. Heck, probably half the people using the GPL and LGPL haven't really
read them anyway.

(I am not a licensed lawyer/solicitor but have spent a lot of time working
with them on software agreements, contracts, and IP matters.)

Later,

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Ffmpeg electron build

FFmpeg-users mailing list
 

    On Saturday, 27 February 2021, 22:41:36 GMT, Carl Zwanzig <[hidden email]> wrote:  
> Other countries may be different, but in the US saying "you will be sued"> can be considered a threat of imminent suit; saying "you may be sued" is> only informational. 
Quite.
Also, I suspect most people are probably very unlikely to be sued. Lots of threats, very little action. If people weren't allowed to distribute binaries, most people who use ffmpeg wouldn't be able to use it.
P  
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Ffmpeg electron build

Reindl Harald


Am 27.02.21 um 23:48 schrieb Phil Rhodes via ffmpeg-user:
> If people weren't allowed to distribute binaries, most people who use ffmpeg wouldn't be able to use it.

bullshit - you don't realize the difference between a ffmpeg binary and
one built with "--enable-nonfree"
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".