mirror of
https://github.com/HandBrake/HandBrake-snapshots.git
synced 2026-04-12 16:41:08 -05:00
Compare commits
101 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bcc660b7d8 | ||
|
|
e515e70585 | ||
|
|
d2e8daf227 | ||
|
|
c959b9bcdc | ||
|
|
a4b3a7573f | ||
|
|
a20758f72c | ||
|
|
a198a55d56 | ||
|
|
3b8b17bdfe | ||
|
|
310d77edc8 | ||
|
|
63facf1872 | ||
|
|
4c755a6bbf | ||
|
|
ed58b79153 | ||
|
|
d5f88c0126 | ||
|
|
06c944f9a6 | ||
|
|
124e6c50fd | ||
|
|
f5ae7363c5 | ||
|
|
c5e4a72af0 | ||
|
|
eb498fae7f | ||
|
|
cf237601f5 | ||
|
|
71a483b53c | ||
|
|
d22b1d5e01 | ||
|
|
6ac7dc59b2 | ||
|
|
9fd2edf130 | ||
|
|
7788589eef | ||
|
|
43890458e1 | ||
|
|
a96ebe842d | ||
|
|
df0094f7ee | ||
|
|
61a0870942 | ||
|
|
4e58f20127 | ||
|
|
a04a92d688 | ||
|
|
9ff085c3af | ||
|
|
e23ed38991 | ||
|
|
0a295e07c8 | ||
|
|
3191ab6a7a | ||
|
|
2c6d053282 | ||
|
|
6680c76d4d | ||
|
|
2b1568292e | ||
|
|
d558721d3a | ||
|
|
276a7ae114 | ||
|
|
e153283db3 | ||
|
|
b93fe15fc6 | ||
|
|
0bd656c713 | ||
|
|
3f4d77964b | ||
|
|
237b0a99bd | ||
|
|
6c4de2135d | ||
|
|
a58da15dd1 | ||
|
|
b13b405c68 | ||
|
|
54bd9509ff | ||
|
|
0261385e9c | ||
|
|
1ae528e88d | ||
|
|
a0bbda711f | ||
|
|
4454457ad0 | ||
|
|
b73ac8b559 | ||
|
|
7b99b06337 | ||
|
|
ae5245d6d9 | ||
|
|
bf63789d09 | ||
|
|
051039897f | ||
|
|
33c7661a26 | ||
|
|
2c771df884 | ||
|
|
eb5dcb25a2 | ||
|
|
a88e00a3db | ||
|
|
ef7765c582 | ||
|
|
f63ab895b4 | ||
|
|
cfc117d7e7 | ||
|
|
c097c294cf | ||
|
|
c15cf0cfbd | ||
|
|
47dfb79043 | ||
|
|
3cb753b4cd | ||
|
|
aff96768d5 | ||
|
|
b7b5c1e633 | ||
|
|
96f29ed0b6 | ||
|
|
414808abc2 | ||
|
|
bb690fe487 | ||
|
|
f35df4d044 | ||
|
|
2437c7930d | ||
|
|
1b27fa1ded | ||
|
|
5fd0d253f6 | ||
|
|
62648ca1b5 | ||
|
|
9096d44c96 | ||
|
|
f5287c7c4c | ||
|
|
c11a94a903 | ||
|
|
b75bbb8e28 | ||
|
|
b19b531f76 | ||
|
|
b129c9a419 | ||
|
|
ee20c37c75 | ||
|
|
60ae7806df | ||
|
|
38e24c7a48 | ||
|
|
6c3eca828a | ||
|
|
44bf0291c0 | ||
|
|
1a67c15db0 | ||
|
|
99b7191947 | ||
|
|
76d94398af | ||
|
|
3b75dd6382 | ||
|
|
89e3f26614 | ||
|
|
e255c2a0c4 | ||
|
|
67ca4e24c1 | ||
|
|
0721ff0176 | ||
|
|
31b41a6a15 | ||
|
|
d158be0f24 | ||
|
|
957a304648 | ||
|
|
9806689035 |
8
.github/dependabot.yml
vendored
Normal file
8
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions" # See documentation for possible values
|
||||
directory: "/" # Location of package manifests
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
20
.github/workflows/lin_rel_body.md
vendored
Normal file
20
.github/workflows/lin_rel_body.md
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
Snapshot builds are based on the latest development code which means they may or may not be stable and probably won't be documented. As such, your mileage may vary.
|
||||
These builds are better suited for more experienced users and developers although everyone is welcome to give them a shot and provide feedback.
|
||||
|
||||
### Bugs
|
||||
|
||||
If you find issues with these builds then post a thorough bug report on our [Issue Tracker!](https://github.com/HandBrake/HandBrake/issues)
|
||||
Please don't assume we know about your bug or issue. If you see something that isn't working or doesn't make sense, do tell us!
|
||||
|
||||
### Changes
|
||||
|
||||
You can see all the latest changes on our GitHub Timeline.
|
||||
|
||||
### Notices
|
||||
|
||||
* Snapshots are published twice weekly if there are changes on our main repository.
|
||||
|
||||
### File Information
|
||||
|
||||
| SHA256 | Filename |
|
||||
|----------|--------|
|
||||
7
.github/workflows/mac_rel_body.md
vendored
7
.github/workflows/mac_rel_body.md
vendored
@@ -12,4 +12,9 @@ You can see all the latest changes on our GitHub Timeline.
|
||||
|
||||
### Notices
|
||||
|
||||
* Snapshots are published periodically and every few weeks. This means that the builds can sometimes lag behind the git master.
|
||||
* Snapshots are published twice weekly if there are changes on our main repository.
|
||||
|
||||
### File Information
|
||||
|
||||
| SHA256 | Filename |
|
||||
|----------|--------|
|
||||
|
||||
115
.github/workflows/nightly-linux.yml
vendored
Normal file
115
.github/workflows/nightly-linux.yml
vendored
Normal file
@@ -0,0 +1,115 @@
|
||||
name: Flatpak Build
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 7 * * 1,5'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build on Linux
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Cargo-C Toolchain Cache
|
||||
id: linux-cargo-c-toolchain
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/bin/cargo-capi
|
||||
~/.cargo/bin/cargo-cbuild
|
||||
~/.cargo/bin/cargo-cinstall
|
||||
key: linux-cargo-c-toolchain
|
||||
|
||||
- name: Setup Environment
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y autoconf automake autopoint appstream build-essential cmake git libass-dev libbz2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev libjansson-dev liblzma-dev libmp3lame-dev libnuma-dev libogg-dev libopus-dev libsamplerate-dev libspeex-dev -y
|
||||
sudo apt-get install -y libtheora-dev libtool libtool-bin libturbojpeg0-dev libvorbis-dev libx264-dev libxml2-dev libvpx-dev m4 make meson nasm ninja-build patch pkg-config tar zlib1g-dev
|
||||
sudo apt-get install -y libva-dev libdrm-dev intltool libglib2.0-dev libunwind-dev libgtk-4-dev libgudev-1.0-dev libssl-dev rename
|
||||
sudo python -m pip install meson
|
||||
sudo apt-get install flatpak flatpak-builder
|
||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
sudo flatpak install -y flathub org.freedesktop.Sdk//24.08
|
||||
sudo flatpak install -y flathub org.freedesktop.Platform//24.08
|
||||
sudo flatpak install -y flathub org.gnome.Platform//49
|
||||
sudo flatpak install -y flathub org.gnome.Sdk//49
|
||||
sudo flatpak install -y org.freedesktop.Sdk.Extension.llvm21//25.08
|
||||
sudo flatpak install -y org.freedesktop.Sdk.Extension.rust-stable//25.08
|
||||
sudo apt-get upgrade -y
|
||||
|
||||
- name: Setup Cargo-C Toolchain
|
||||
if: steps.linux-cargo-c-toolchain.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cargo install cargo-c
|
||||
|
||||
- name: Download the Source Code
|
||||
run: |
|
||||
git clone https://github.com/HandBrake/HandBrake.git
|
||||
|
||||
- name: Build HandBrake
|
||||
run: |
|
||||
cd HandBrake
|
||||
./configure --launch-jobs=1 --flatpak --enable-qsv --enable-vce --enable-nvenc --enable-nvdec
|
||||
cd build
|
||||
nice make pkg.create.flatpak --jobs=1
|
||||
cd pkg
|
||||
cd flatpak
|
||||
rename 's/fr.handbrake.ghb/HandBrake/' *.flatpak
|
||||
rename 's/fr.handbrake.ghb.Plugin/Plugin.HandBrake/' *.flatpak
|
||||
rename 's/-master//' *.flatpak
|
||||
|
||||
- name: Upload Assets
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: HandBrake-Flatpak
|
||||
path: ./HandBrake/build/pkg/flatpak/*.flatpak
|
||||
|
||||
|
||||
deploy_nightly:
|
||||
name: Deploy Nightly Build
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Download Artifacts - Flatpak Binaries
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: HandBrake-Flatpak
|
||||
path: lin/
|
||||
|
||||
# Generate Hashes
|
||||
- name: Generate SHA265 Hashes
|
||||
run: |
|
||||
cd lin
|
||||
sha256sum * > sha256.txt
|
||||
cp sha256.txt ../.github/workflows/
|
||||
cd ..
|
||||
cd .github/workflows/
|
||||
sed -e 's/ / | /' -i sha256.txt
|
||||
sed -e 's/^/| /' -i sha256.txt
|
||||
sed -e 's/$/ |/' -i sha256.txt
|
||||
cat sha256.txt >> lin_rel_body.md
|
||||
|
||||
# Publishing the Release
|
||||
- name: Remove the old Release
|
||||
uses: dev-drprasad/delete-older-releases@v0.3.4
|
||||
with:
|
||||
keep_latest: 0
|
||||
delete_tag_pattern: "lin"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "lin/*.*"
|
||||
name: "Snapshots for Linux"
|
||||
bodyFile: .github/workflows/lin_rel_body.md
|
||||
prerelease: true
|
||||
replacesArtifacts: false
|
||||
allowUpdates: false
|
||||
tag: lin
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
61
.github/workflows/nightly-mac.yml
vendored
61
.github/workflows/nightly-mac.yml
vendored
@@ -1,32 +1,58 @@
|
||||
name: macOS build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '30 7 * * 1,5'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build on macOS
|
||||
runs-on: macos-latest
|
||||
runs-on: macos-26
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.13.7'
|
||||
|
||||
- name: Toolchain Cache
|
||||
id: mac-toolchain
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: /usr/local
|
||||
key: mac-toolchain
|
||||
|
||||
path: ~/mac-toolchain
|
||||
key: ${{ runner.os }}-${{ runner.arch }}-toolchain
|
||||
|
||||
- name: Cargo-C Toolchain Cache
|
||||
id: mac-cargo-c-toolchain
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/bin/cargo-capi
|
||||
~/.cargo/bin/cargo-cbuild
|
||||
~/.cargo/bin/cargo-cinstall
|
||||
key: ${{ runner.os }}-${{ runner.arch }}-cargo-c-toolchain-2
|
||||
|
||||
- name: Download the Source Code
|
||||
run: |
|
||||
git clone https://github.com/HandBrake/HandBrake.git
|
||||
cd HandBrake
|
||||
git submodule update --init --recursive
|
||||
|
||||
- name: Setup Environment
|
||||
run: |
|
||||
echo ~/mac-toolchain/bin >> $GITHUB_PATH
|
||||
rustup target add x86_64-apple-darwin
|
||||
xcodebuild -downloadComponent MetalToolchain
|
||||
|
||||
- name: Setup Toolchain
|
||||
if: steps.mac-toolchain.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
HandBrake/scripts/mac-toolchain-build /usr/local
|
||||
pip install setuptools
|
||||
HandBrake/scripts/mac-toolchain-build ~/mac-toolchain
|
||||
|
||||
- name: Setup Cargo-C Toolchain
|
||||
if: steps.mac-cargo-c-toolchain.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cargo install cargo-c
|
||||
|
||||
- name: Build HandBrake
|
||||
run: |
|
||||
@@ -36,7 +62,7 @@ jobs:
|
||||
make ub && make pkg.create
|
||||
|
||||
- name: Upload Assets
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: HandBrake-macos
|
||||
path: ./HandBrake/build/pkg/*.dmg
|
||||
@@ -47,10 +73,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Download Artifacts - Universal Binaries
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: HandBrake-macos
|
||||
path: mac/
|
||||
@@ -60,10 +86,17 @@ jobs:
|
||||
run: |
|
||||
cd mac
|
||||
sha256sum * > sha256.txt
|
||||
cp sha256.txt ../.github/workflows/
|
||||
cd ..
|
||||
cd .github/workflows/
|
||||
sed -e 's/ / | /' -i sha256.txt
|
||||
sed -e 's/^/| /' -i sha256.txt
|
||||
sed -e 's/$/ |/' -i sha256.txt
|
||||
cat sha256.txt >> mac_rel_body.md
|
||||
|
||||
# Publishing the Release
|
||||
- name: Remove the old Release
|
||||
uses: dev-drprasad/delete-older-releases@v0.2.0
|
||||
uses: dev-drprasad/delete-older-releases@v0.3.4
|
||||
with:
|
||||
keep_latest: 0
|
||||
delete_tag_pattern: "mac"
|
||||
|
||||
196
.github/workflows/nightly-win.yml
vendored
196
.github/workflows/nightly-win.yml
vendored
@@ -1,43 +1,50 @@
|
||||
name: Windows Build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
schedule:
|
||||
- cron: '30 7 * * 1,5'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_mingw_arm:
|
||||
name: CLI / LibHB (ARM)
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Environment Setup
|
||||
- name: Setup Environment
|
||||
run: |
|
||||
sudo apt-get purge cmake -y
|
||||
sudo apt-get install automake autoconf build-essential intltool libtool libtool-bin make nasm patch tar yasm zlib1g-dev ninja-build gzip pax cmake
|
||||
sudo pip3 install meson
|
||||
|
||||
sudo apt-get install automake autoconf build-essential intltool libtool libtool-bin make meson nasm patch tar yasm zlib1g-dev ninja-build gzip pax cmake
|
||||
rustup target add aarch64-pc-windows-gnullvm
|
||||
|
||||
- name: Setup Toolchain
|
||||
run: |
|
||||
wget https://github.com/HandBrake/HandBrake-toolchains/releases/download/1.0/llvm-mingw-msvcrt.tar.gz
|
||||
SHA=$(sha1sum llvm-mingw-msvcrt.tar.gz)
|
||||
EXPECTED="ea5eaf2f67c4e0ca40a6d6889de51bb4ce9ca3c6 llvm-mingw-msvcrt.tar.gz"
|
||||
wget https://github.com/HandBrake/HandBrake-toolchains/releases/download/1.0/llvm-mingw-20250319-msvcrt-ubuntu-20.04-x86_64.tar.xz
|
||||
SHA=$(sha1sum llvm-mingw-20250319-msvcrt-ubuntu-20.04-x86_64.tar.xz)
|
||||
EXPECTED="3a9b127c62220c7bf4beec1638d5608d350dc452 llvm-mingw-20250319-msvcrt-ubuntu-20.04-x86_64.tar.xz"
|
||||
if [ "$SHA" == "$EXPECTED" ];
|
||||
then
|
||||
echo "Toolchain Verified. Extracting ..."
|
||||
mkdir toolchains
|
||||
mv llvm-mingw-msvcrt.tar.gz toolchains
|
||||
mv llvm-mingw-20250319-msvcrt-ubuntu-20.04-x86_64.tar.xz toolchains
|
||||
cd toolchains
|
||||
tar xvf llvm-mingw-msvcrt.tar.gz
|
||||
tar xvf llvm-mingw-20250319-msvcrt-ubuntu-20.04-x86_64.tar.xz
|
||||
else
|
||||
echo "Toolchain Verification FAILED. Exiting!"
|
||||
return -1
|
||||
fi
|
||||
|
||||
|
||||
- name: Setup Cargo-C Toolchain
|
||||
if: steps.windows-cargo-c-toolchain.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cargo install cargo-c
|
||||
|
||||
- name: Build CLI and LibHB
|
||||
run: |
|
||||
CWDIR=$(pwd)
|
||||
export PATH="$CWDIR/toolchains/llvm-mingw-msvcrt/bin:${PATH}"
|
||||
export PATH="$CWDIR/toolchains/llvm-mingw-20250319-msvcrt-ubuntu-20.04-x86_64/bin:${PATH}"
|
||||
export PATH=/usr/bin:$PATH
|
||||
git clone https://github.com/HandBrake/HandBrake.git
|
||||
cd HandBrake
|
||||
@@ -46,29 +53,30 @@ jobs:
|
||||
make pkg.create.zip
|
||||
|
||||
- name: Upload HandBrakeCLI
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: HandBrakeCLI_ARM64
|
||||
path: ./HandBrake/build/pkg/*.zip
|
||||
|
||||
- name: Upload LibHB
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: LibHandBrake_ARM64
|
||||
path: ./HandBrake/build/libhb/hb.dll
|
||||
|
||||
build_gui_arm64:
|
||||
name: Windows UI (ARM)
|
||||
runs-on: windows-latest
|
||||
runs-on: windows-2022
|
||||
needs: build_mingw_arm
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Build Windows GUI
|
||||
- name: Clone and Setup
|
||||
run: |
|
||||
git clone https://github.com/HandBrake/HandBrake.git
|
||||
cd HandBrake
|
||||
git rev-parse --short HEAD > gitHash.txt
|
||||
git show -s --format=%cs > hb_date.txt
|
||||
|
||||
- name: NuGet Restore
|
||||
run: |
|
||||
@@ -77,7 +85,7 @@ jobs:
|
||||
nuget restore HandBrake.sln
|
||||
|
||||
- name: Download LibHandBrake ARM 64
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: LibHandBrake_ARM64
|
||||
path: HandBrake/win/CS/HandBrakeWPF/bin/publish
|
||||
@@ -85,24 +93,24 @@ jobs:
|
||||
- name: Build Windows GUI
|
||||
run: |
|
||||
cd HandBrake
|
||||
$env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin"
|
||||
$env:Path += ";C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin"
|
||||
msbuild win\cs\build.xml /t:arm64
|
||||
|
||||
- name: Prepare Package
|
||||
run: |
|
||||
echo "Setting up context"
|
||||
set /p gitHash=<HandBrake/gitHash.txt
|
||||
set FILENAME=HandBrake-%gitHash%-arm64-Win_GUI.exe
|
||||
set FILENAME_MSI=HandBrake-%gitHash%-arm64-Win_GUI.msi
|
||||
set FILENAMEZIP=HandBrake-%gitHash%-arm64-Win_GUI.zip
|
||||
set /p HBDATE=<HandBrake/hb_date.txt
|
||||
set HBDATE=%HBDATE:-=%
|
||||
set HBDATE=%HBDATE:~0,8%
|
||||
set FILENAME=HandBrake-%HBDATE%-%gitHash%-arm64-Win_GUI.exe
|
||||
set FILENAMEZIP=HandBrake-%HBDATE%-%gitHash%-arm64-Win_GUI.zip
|
||||
echo %FILENAME%
|
||||
echo %FILENAME_MSI%
|
||||
echo %FILENAMEZIP%
|
||||
echo "Renaming Windows Installer file"
|
||||
cd HandBrake/win/CS/HandBrakeWPF/bin/publish/
|
||||
dir
|
||||
move HandBrake-*-Win_GUI.exe %FILENAME%
|
||||
move HandBrake-*-Win_GUI.msi %FILENAME_MSI%
|
||||
dir
|
||||
cd ..
|
||||
echo "Creating Portable Zip"
|
||||
@@ -110,96 +118,105 @@ jobs:
|
||||
rmdir /q /s Debug
|
||||
move publish HandBrake
|
||||
dir
|
||||
7z a %FILENAMEZIP% * -x!HandBrake\%FILENAME% -x!HandBrake\*.nsi -x!HandBrake\*.config -x!*HandBrake\*.xml -x!*HandBrake\*.pdb -x!*HandBrake\*.bmp -x!HandBrake\*.zip -x!HandBrake\*.bz2 -x!HandBrake\*.msi -mx9
|
||||
7z a %FILENAMEZIP% * -x!Release\ -x!HandBrake\%FILENAME% -x!HandBrake\*.nsi -x!HandBrake\*.config -x!*HandBrake\*.xml -x!*HandBrake\*.pdb -x!*HandBrake\*.bmp -x!HandBrake\*.zip -x!HandBrake\*.bz2 -x!HandBrake\*.msi -mx9
|
||||
dir
|
||||
shell: cmd
|
||||
|
||||
- name: Upload HandBrake exe Installer
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: HandBrake-arm64-WinExe
|
||||
path: HandBrake/win/CS/HandBrakeWPF/bin/HandBrake/*Win_GUI.exe
|
||||
|
||||
- name: Upload HandBrake msi Installer
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: HandBrake-arm64-WinMSI
|
||||
path: HandBrake/win/CS/HandBrakeWPF/bin/HandBrake/*Win_GUI.msi
|
||||
|
||||
- name: Upload HandBrake Portable
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: HandBrake-arm64-WinPortable
|
||||
path: HandBrake/win/CS/HandBrakeWPF/bin/*-Win_GUI.zip
|
||||
|
||||
build_mingw_x64:
|
||||
name: CLI / LibHB
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Environment Setup
|
||||
- name: Cargo-C Toolchain Cache
|
||||
id: windows-cargo-c-toolchain
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/bin/cargo-capi
|
||||
~/.cargo/bin/cargo-cbuild
|
||||
~/.cargo/bin/cargo-cinstall
|
||||
key: ${{ runner.os }}-${{ runner.arch }}-windows-cargo-c-toolchain
|
||||
|
||||
- name: Setup Environment
|
||||
run: |
|
||||
sudo apt-get purge cmake -y
|
||||
sudo apt-get install automake autoconf build-essential intltool libtool libtool-bin make nasm patch tar yasm zlib1g-dev ninja-build gzip pax cmake
|
||||
sudo pip3 install meson
|
||||
sudo apt-get install automake autoconf build-essential intltool libtool libtool-bin make meson nasm patch tar yasm zlib1g-dev ninja-build gzip pax cmake
|
||||
rustup target add x86_64-pc-windows-gnu
|
||||
|
||||
- name: Setup Toolchain
|
||||
run: |
|
||||
wget https://github.com/bradleysepos/mingw-w64-build/releases/download/9.2.0/mingw-w64-toolchain-9.2.0-linux-x86_64.tar.gz
|
||||
SHA=$(sha1sum mingw-w64-toolchain-9.2.0-linux-x86_64.tar.gz)
|
||||
EXPECTED="560ceb85cdf2783c68226d3761f865c42101c3f6 mingw-w64-toolchain-9.2.0-linux-x86_64.tar.gz"
|
||||
wget https://github.com/HandBrake/HandBrake-toolchains/releases/download/1.0/mingw-w64-toolchain-10.0.0-msvcrt-linux-x86_64.tar.gz
|
||||
SHA=$(sha1sum mingw-w64-toolchain-10.0.0-msvcrt-linux-x86_64.tar.gz)
|
||||
EXPECTED="f7250d140a72bdfdda2d4cd01d84e9a3938132b1 mingw-w64-toolchain-10.0.0-msvcrt-linux-x86_64.tar.gz"
|
||||
if [ "$SHA" == "$EXPECTED" ];
|
||||
then
|
||||
echo "Toolchain Verified. Extracting ..."
|
||||
mkdir toolchains
|
||||
mv mingw-w64-toolchain-9.2.0-linux-x86_64.tar.gz toolchains
|
||||
mv mingw-w64-toolchain-10.0.0-msvcrt-linux-x86_64.tar.gz toolchains
|
||||
cd toolchains
|
||||
tar xvf mingw-w64-toolchain-9.2.0-linux-x86_64.tar.gz
|
||||
cd mingw-w64-toolchain-9.2.0-linux-x86_64/mingw-w64-x86_64/
|
||||
tar xvf mingw-w64-toolchain-10.0.0-msvcrt-linux-x86_64.tar.gz
|
||||
cd mingw-w64-toolchain-10.0.0-msvcrt-linux-x86_64/mingw-w64-x86_64/
|
||||
pwd
|
||||
else
|
||||
echo "Toolchain Verification FAILED. Exiting!"
|
||||
return -1
|
||||
fi
|
||||
|
||||
- name: Setup Cargo-C Toolchain
|
||||
if: steps.windows-cargo-c-toolchain.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cargo install cargo-c
|
||||
|
||||
- name: Build CLI and LibHB
|
||||
run: |
|
||||
CWDIR=$(pwd)
|
||||
export PATH="$CWDIR/toolchains/mingw-w64-toolchain-9.2.0-linux-x86_64/mingw-w64-x86_64/bin:${PATH}"
|
||||
export PATH="$CWDIR/toolchains/mingw-w64-toolchain-10.0.0-msvcrt-linux-x86_64/mingw-w64-x86_64/bin:${PATH}"
|
||||
export PATH=/usr/bin:$PATH
|
||||
git clone https://github.com/HandBrake/HandBrake.git
|
||||
cd HandBrake
|
||||
./configure --cross=x86_64-w64-mingw32 --enable-qsv --enable-vce --enable-nvenc --launch-jobs=0 --launch
|
||||
./configure --cross=x86_64-w64-mingw32 --enable-qsv --enable-vce --enable-nvenc --enable-nvdec --launch-jobs=0 --launch
|
||||
cd build
|
||||
make pkg.create.zip
|
||||
|
||||
- name: Upload HandBrakeCLI
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: HandBrakeCLI
|
||||
path: ./HandBrake/build/pkg/*.zip
|
||||
|
||||
- name: Upload LibHB
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: LibHandBrake
|
||||
path: ./HandBrake/build/libhb/hb.dll
|
||||
|
||||
build_gui_x64:
|
||||
name: Windows UI
|
||||
runs-on: windows-latest
|
||||
runs-on: windows-2022
|
||||
needs: build_mingw_x64
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Build Windows GUI
|
||||
- name: Clone and Setup
|
||||
run: |
|
||||
git clone https://github.com/HandBrake/HandBrake.git
|
||||
cd HandBrake
|
||||
git rev-parse --short HEAD > gitHash.txt
|
||||
|
||||
git show -s --format=%cs > hb_date.txt
|
||||
|
||||
- name: NuGet Restore
|
||||
run: |
|
||||
choco install nuget.commandline
|
||||
@@ -207,7 +224,7 @@ jobs:
|
||||
nuget restore HandBrake.sln
|
||||
|
||||
- name: Download LibHandBrake
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: LibHandBrake
|
||||
path: HandBrake/win/CS/HandBrakeWPF/bin/publish
|
||||
@@ -215,47 +232,41 @@ jobs:
|
||||
- name: Build Windows GUI
|
||||
run: |
|
||||
cd HandBrake
|
||||
$env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin"
|
||||
$env:Path += ";C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin"
|
||||
msbuild win\cs\build.xml /t:x64
|
||||
|
||||
- name: Prepare Package
|
||||
run: |
|
||||
echo "Setting up context"
|
||||
set /p gitHash=<HandBrake/gitHash.txt
|
||||
set FILENAME=HandBrake-%gitHash%-x86_64-Win_GUI.exe
|
||||
set FILENAME_MSI=HandBrake-%gitHash%-x86_64-Win_GUI.msi
|
||||
set FILENAMEZIP=HandBrake-%gitHash%-x86_64-Win_GUI.zip
|
||||
set /p HBDATE=<HandBrake/hb_date.txt
|
||||
set HBDATE=%HBDATE:-=%
|
||||
set HBDATE=%HBDATE:~0,8%
|
||||
set FILENAME=HandBrake-%HBDATE%-%gitHash%-x86_64-Win_GUI.exe
|
||||
set FILENAMEZIP=HandBrake-%HBDATE%-%gitHash%-x86_64-Win_GUI.zip
|
||||
echo %FILENAME%
|
||||
echo %FILENAME_MSI%
|
||||
echo %FILENAMEZIP%
|
||||
echo "Renaming Windows Installer file"
|
||||
cd HandBrake/win/CS/HandBrakeWPF/bin/publish/
|
||||
dir
|
||||
move HandBrake-*-Win_GUI.exe %FILENAME%
|
||||
move HandBrake-*-Win_GUI.msi %FILENAME_MSI%
|
||||
dir
|
||||
cd ..
|
||||
dir
|
||||
echo "Creating Portable Zip"
|
||||
rmdir /q /s Debug
|
||||
move publish HandBrake
|
||||
7z a %FILENAMEZIP% * -x!HandBrake\%FILENAME% -x!HandBrake\*.nsi -x!HandBrake\*.config -x!*HandBrake\*.xml -x!*HandBrake\*.pdb -x!*HandBrake\*.bmp -x!HandBrake\*.zip -x!HandBrake\*.bz2 -x!HandBrake\*.msi -mx9
|
||||
7z a %FILENAMEZIP% * -x!Release\ -x!HandBrake\%FILENAME% -x!HandBrake\*.nsi -x!HandBrake\*.config -x!*HandBrake\*.xml -x!*HandBrake\*.pdb -x!*HandBrake\*.bmp -x!HandBrake\*.zip -x!HandBrake\*.bz2 -x!HandBrake\*.msi -mx9
|
||||
shell: cmd
|
||||
|
||||
- name: Upload HandBrake exe Installer
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: HandBrake-x86_64-WinExe
|
||||
path: HandBrake/win/CS/HandBrakeWPF/bin/HandBrake/*-Win_GUI.exe
|
||||
|
||||
- name: Upload HandBrake msi Installer
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: HandBrake-x86_64-WinMSI
|
||||
path: HandBrake/win/CS/HandBrakeWPF/bin/HandBrake/*-Win_GUI.msi
|
||||
|
||||
|
||||
- name: Upload HandBrake Portable
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: HandBrake-x86_64-WinPortable
|
||||
path: HandBrake/win/CS/HandBrakeWPF/bin/*-Win_GUI.zip
|
||||
@@ -265,54 +276,42 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build_gui_x64, build_gui_arm64]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
# X64 Devices
|
||||
- name: Download Artifacts - CLI x64
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: HandBrakeCLI
|
||||
path: win/
|
||||
|
||||
- name: Download Artifacts - GUI x64 MSI
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: HandBrake-x86_64-WinMSI
|
||||
path: win/
|
||||
|
||||
|
||||
- name: Download Artifacts - GUI x64 EXE
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: HandBrake-x86_64-WinExe
|
||||
path: win/
|
||||
|
||||
- name: Download Artifacts - GUI x64 Portable
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: HandBrake-x86_64-WinPortable
|
||||
path: win/
|
||||
|
||||
# ARM DEVICES
|
||||
- name: Download Artifacts - CLI ARM64
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: HandBrakeCLI_ARM64
|
||||
path: win/
|
||||
|
||||
- name: Download Artifacts - GUI ARM64 MSI
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: HandBrake-arm64-WinMSI
|
||||
path: win/
|
||||
|
||||
- name: Download Artifacts - GUI ARM64 EXE
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: HandBrake-arm64-WinExe
|
||||
path: win/
|
||||
|
||||
- name: Download Artifacts - GUI ARM64 Portable
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: HandBrake-arm64-WinPortable
|
||||
path: win/
|
||||
@@ -322,10 +321,17 @@ jobs:
|
||||
run: |
|
||||
cd win
|
||||
sha256sum * > sha256.txt
|
||||
cp sha256.txt ../.github/workflows/
|
||||
cd ..
|
||||
cd .github/workflows/
|
||||
sed -e 's/ / | /' -i sha256.txt
|
||||
sed -e 's/^/| /' -i sha256.txt
|
||||
sed -e 's/$/ |/' -i sha256.txt
|
||||
cat sha256.txt >> win_rel_body.md
|
||||
|
||||
# Publishing the Release
|
||||
- name: Remove the old Release
|
||||
uses: dev-drprasad/delete-older-releases@v0.2.0
|
||||
uses: dev-drprasad/delete-older-releases@v0.3.4
|
||||
with:
|
||||
keep_latest: 0
|
||||
delete_tag_pattern: "win"
|
||||
|
||||
14
.github/workflows/win_rel_body.md
vendored
14
.github/workflows/win_rel_body.md
vendored
@@ -12,6 +12,14 @@ You can see all the latest changes on our GitHub Timeline.
|
||||
|
||||
### Notices
|
||||
|
||||
* "Safe Mode" builds have the hardware encoders disabled. (NvENC, VCE and QuickSync) For use if the application fails to start with the normal build.
|
||||
* Snapshots are published periodically and every few weeks. This means that the builds can sometimes lag behind the git master.
|
||||
* The Windows MSI installer is considered Experimental. Please uninstall fully any previous version before installing.
|
||||
* Snapshots are published twice weekly if there are changes on our main repository.
|
||||
|
||||
### x86_64 and ARM64 Builds
|
||||
|
||||
* Builds with "aarch64" or "arm64" are for ARM based devices.
|
||||
* Builds with "x86_64" in the name are for x64 Intel or AMD based devices.
|
||||
|
||||
### File Information
|
||||
|
||||
| SHA256 | Filename |
|
||||
|----------|--------|
|
||||
|
||||
@@ -2,8 +2,9 @@
|
||||
|
||||
HandBrake is an open-source video transcoder available for Linux, Mac, and Windows, licensed under the [GNU General Public License (GPL) Version 2](LICENSE).
|
||||
|
||||
This repository contains pre-release builds of our main branch which means they may or may not be stable and probably won't be documented. As such, your mileage may vary.
|
||||
This, these development builds are better suited for more experienced users and developers wishing to test the latest code. That said, everyone is welcome to give them a shot and provide feedback.
|
||||
This repository contains pre-release builds of our main development branch which means they may or may not be stable and probably won't be documented. As such, your mileage may vary.
|
||||
|
||||
These development builds are better suited for more experienced users and developers wishing to test the latest code. That said, everyone is welcome to give them a shot and provide feedback.
|
||||
|
||||
Please note, these builds are not digitally signed and are built on a public build platform. Use at your own risk!
|
||||
|
||||
@@ -19,9 +20,9 @@ Please don't assume we know about your bug or issue. If you see something that i
|
||||
| ----------------- | --------------- | ------------- |
|
||||
| Windows | [Download](https://github.com/HandBrake/handbrake-snapshots/releases/tag/win) | [](https://github.com/HandBrake/handbrake-snapshots/actions/workflows/nightly-win.yml) |
|
||||
| macOS | [Download](https://github.com/HandBrake/handbrake-snapshots/releases/tag/mac) | [](https://github.com/HandBrake/handbrake-snapshots/actions/workflows/nightly-mac.yml) |
|
||||
| Linux (Flatpak) | [Download](https://github.com/HandBrake/handbrake-snapshots/releases/tag/lin) | Coming Soon! |
|
||||
| Linux (Flatpak) | [Download](https://github.com/HandBrake/handbrake-snapshots/releases/tag/lin) | [](https://github.com/HandBrake/HandBrake-snapshots/actions/workflows/nightly-linux.yml) |
|
||||
|
||||
*1 Note, if a build is marked as failed, previous builds may be available for download!
|
||||
*1 Please note that if a build is marked as failed, previous builds may still be available for download!
|
||||
|
||||
### Update Frequency
|
||||
|
||||
|
||||
Reference in New Issue
Block a user