Make ffmpeg process verbose
This commit is contained in:
parent
16792527c1
commit
296226d1f7
@ -38,20 +38,35 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy and patch extra files
|
- name: Copy and patch extra files
|
||||||
run: |
|
run: |
|
||||||
|
echo "➤ Copying rules.json"
|
||||||
cp ./OF\ DL/rules.json outwin/
|
cp ./OF\ DL/rules.json outwin/
|
||||||
|
|
||||||
|
echo "➤ Making binary executable"
|
||||||
chmod +x ./outlin/OF\ DL
|
chmod +x ./outlin/OF\ DL
|
||||||
|
|
||||||
|
echo "➤ Running binary briefly"
|
||||||
cd outwin
|
cd outwin
|
||||||
|
|
||||||
# Run binary with hard timeout
|
|
||||||
timeout --preserve-status --kill-after=5s 30s ../outlin/OF\ DL --non-interactive || true
|
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
|
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*/bin/ffmpeg.exe .
|
||||||
mv ffmpeg*/LICENSE LICENSE.ffmpeg
|
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
|
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 ..
|
cd ..
|
||||||
|
|
||||||
- name: Create Gitea release
|
- name: Create Gitea release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user