File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,17 @@ jobs:
4545 with :
4646 python-version : ' 3.10'
4747
48- - name : Install FFmpeg
48+ - name : Install latest FFmpeg (static build)
4949 run : |
50- sudo add-apt-repository ppa:ubuntuhandbook1/ffmpeg
50+ set -e
5151 sudo apt-get update
52- sudo apt-get install ffmpeg
52+ sudo apt-get install -y xz-utils ca-certificates
53+ curl -L -o ffmpeg.tar.xz https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
54+ tar -xJf ffmpeg.tar.xz
55+ FF_DIR=$(find . -maxdepth 1 -type d -name "ffmpeg-*-amd64-static" | head -n1)
56+ sudo mv "$FF_DIR/ffmpeg" "$FF_DIR/ffprobe" /usr/local/bin/
5357 ffmpeg -version
58+ ffprobe -version
5459
5560 - name : Clone HwCodecDetect
5661 run : git clone -b main --single-branch https://github.com/whyb/HwCodecDetect.git
You can’t perform that action at this time.
0 commit comments