39 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2020-02-11 20:15:13 +01:00
2017-04-04 23:20:35 +02:00
# FFmpeg prebuilt for NW.js
2018-08-22 10:22:39 +02:00
2019-07-11 10:49:42 +02:00
FFmpeg prebuilt binaries with proprietary codecs and build instructions for Window, Linux and macOS.
2016-03-29 04:12:26 +02:00
2016-10-11 16:23:57 +02:00
2020-07-12 17:44:33 +02:00
### Downloads
2020-08-06 17:22:09 +02:00
Downloads can be found [here](https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases)
2019-04-18 13:39:00 +02:00
### Build
#### Usage:
2020-01-21 21:48:04 +01:00
node build[-h] [-c] [--version NW_VERSION] [--arch TARGET_ARCH]
or
npx nwjs-ffmpeg-prebuilt [-h] [-c] [-d] [--get-download-url] [--version NW_VERSION] [--arch TARGET_ARCH]
2019-04-18 13:39:00 +02:00
##### Arguments explanied:
2016-10-11 16:23:57 +02:00
- *-h, --help* : Show the help message and exit
- *-c, --clean* : Clean the workspace, removes downloaded source code
- *-v NW_VERSION, --version NW_VERSION* : Build ffmpeg for the specified Nw.js version (latest from http://nwjs.io/versions.json if not specified)
- *-a TARGET_ARCH, --arch TARGET_ARCH* : Target architecture, x86, x64, arm
- *-d, --download* : Download Prebuild binaries.
- *-p, --platform* : Download platform, darwin, win, linux
- *--get-download-url* : Get Download Url for Prebuild binaries
- *-o, --out* : Output Directory
2016-10-11 16:23:57 +02:00
2019-04-18 13:39:00 +02:00
#### Specific guides:
2016-03-29 04:12:26 +02:00
- [Windows guide](guides/build_windows.md)
- [Linux guide](guides/build_linux.md)
- [Mac guide](guides/build_mac.md)
2016-03-30 16:31:11 +02:00
You can get the FFmpeg source code from [here](https://chromium.googlesource.com/chromium/third_party/ffmpeg).
2017-04-04 23:20:35 +02:00
>### License and Patent Fee
2016-07-28 19:16:29 +02:00
> Using MP3 and H.264 codecs requires you to pay attention to the patent royalties and the license of the source code. Consult a lawyer if you do not understand the licensing constraints and using patented media formats in your application. For more information about the license of the source code, check [here](https://chromium.googlesource.com/chromium/third_party/ffmpeg.git/+/master/CREDITS.chromium).