Skip to content

Commit 8e0c899

Browse files
committed
Upgrade FFmpeg (5.1.2) for Windows 64-bit
Use the latest version of FFmpeg in Windows 64-bit releases.
1 parent 725a922 commit 8e0c899

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

app/prebuilt-deps/prepare-ffmpeg-win64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ cd "$DIR"
66
mkdir -p "$PREBUILT_DATA_DIR"
77
cd "$PREBUILT_DATA_DIR"
88

9-
VERSION=5.0.1
9+
VERSION=5.1.2
1010
DEP_DIR=ffmpeg-win64-$VERSION
1111

1212
FILENAME=ffmpeg-$VERSION-full_build-shared.7z
13-
SHA256SUM=ded28435b6f04b74f5ef5a6a13761233bce9e8e9f8ecb0eabe936fd36a778b0c
13+
SHA256SUM=d9eb97b72d7cfdae4d0f7eaea59ccffb8c364d67d88018ea715d5e2e193f00e9
1414

1515
if [[ -d "$DEP_DIR" ]]
1616
then

cross_win64.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ endian = 'little'
1919
ffmpeg_avcodec = 'avcodec-59'
2020
ffmpeg_avformat = 'avformat-59'
2121
ffmpeg_avutil = 'avutil-57'
22-
prebuilt_ffmpeg = 'ffmpeg-win64-5.0.1'
22+
prebuilt_ffmpeg = 'ffmpeg-win64-5.1.2'
2323
prebuilt_sdl2 = 'SDL2-2.26.1/x86_64-w64-mingw32'
2424
prebuilt_libusb_root = 'libusb-1.0.26'
2525
prebuilt_libusb = 'libusb-1.0.26/MinGW-x64'

release.mk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ dist-win64: build-server build-win64
119119
cp app/data/scrcpy-noconsole.vbs "$(DIST)/$(WIN64_TARGET_DIR)"
120120
cp app/data/icon.png "$(DIST)/$(WIN64_TARGET_DIR)"
121121
cp app/data/open_a_terminal_here.bat "$(DIST)/$(WIN64_TARGET_DIR)"
122-
cp app/prebuilt-deps/data/ffmpeg-win64-5.0.1/bin/avutil-57.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
123-
cp app/prebuilt-deps/data/ffmpeg-win64-5.0.1/bin/avcodec-59.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
124-
cp app/prebuilt-deps/data/ffmpeg-win64-5.0.1/bin/avformat-59.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
125-
cp app/prebuilt-deps/data/ffmpeg-win64-5.0.1/bin/swresample-4.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
126-
cp app/prebuilt-deps/data/ffmpeg-win64-5.0.1/bin/swscale-6.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
122+
cp app/prebuilt-deps/data/ffmpeg-win64-5.1.2/bin/avutil-57.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
123+
cp app/prebuilt-deps/data/ffmpeg-win64-5.1.2/bin/avcodec-59.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
124+
cp app/prebuilt-deps/data/ffmpeg-win64-5.1.2/bin/avformat-59.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
125+
cp app/prebuilt-deps/data/ffmpeg-win64-5.1.2/bin/swresample-4.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
126+
cp app/prebuilt-deps/data/ffmpeg-win64-5.1.2/bin/swscale-6.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
127127
cp app/prebuilt-deps/data/platform-tools-33.0.3/adb.exe "$(DIST)/$(WIN64_TARGET_DIR)/"
128128
cp app/prebuilt-deps/data/platform-tools-33.0.3/AdbWinApi.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
129129
cp app/prebuilt-deps/data/platform-tools-33.0.3/AdbWinUsbApi.dll "$(DIST)/$(WIN64_TARGET_DIR)/"

0 commit comments

Comments
 (0)