Make ffmpeg process verbose
Some checks failed
Publish Docker image / Push docker image to registry (push) Failing after 5s
Publish release zip / build (push) Has been cancelled

This commit is contained in:
sim0n00ps 2025-05-04 18:05:48 +01:00
parent 16792527c1
commit 296226d1f7

View File

@ -38,20 +38,35 @@ jobs:
- name: Copy and patch extra files
run: |
echo "➤ Copying rules.json"
cp ./OF\ DL/rules.json outwin/
echo "➤ Making binary executable"
chmod +x ./outlin/OF\ DL
echo "➤ Running binary briefly"
cd outwin
# Run binary with hard timeout
timeout --preserve-status --kill-after=5s 30s ../outlin/OF\ DL --non-interactive || true
echo "➤ Binary finished"
echo "➤ Creating folder for CDM"
mkdir -p cdm/devices/chrome_1610
wget https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip
unzip -o -q ffmpeg-release-essentials.zip
echo "➤ Downloading ffmpeg"
wget https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip -O ffmpeg.zip
echo "➤ Download complete"
echo "➤ Unzipping ffmpeg"
unzip -o -q ffmpeg.zip || { echo "Unzip failed"; ls -al; exit 1; }
echo "➤ Unzip complete"
echo "➤ Moving ffmpeg.exe and LICENSE"
mv ffmpeg*/bin/ffmpeg.exe .
mv ffmpeg*/LICENSE LICENSE.ffmpeg
echo "➤ Zipping final release"
zip ../OFDLV${{ steps.version.outputs.version }}.zip OF\ DL.exe e_sqlite3.dll rules.json config.conf cdm ffmpeg.exe LICENSE.ffmpeg
echo "➤ Zip complete"
cd ..
- name: Create Gitea release