Skip to content

Commit b1b923d

Browse files
authored
ffmpeg(*): Switch to GitHub releases as download mirror (#7734)
1 parent e49e6a1 commit b1b923d

File tree

3 files changed

+39
-17
lines changed

3 files changed

+39
-17
lines changed

bucket/ffmpeg-essentials.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"version": "8.0.1",
3+
"description": "A complete, cross-platform solution to record, convert and stream audio and video.",
4+
"homepage": "https://ffmpeg.org",
5+
"license": "GPL-3.0-or-later",
6+
"architecture": {
7+
"64bit": {
8+
"url": "https://github.com/GyanD/codexffmpeg/releases/download/8.0.1/ffmpeg-8.0.1-essentials_build.7z",
9+
"hash": "a0c715acca3839bfd203e600a7775b83cfe3ff928a4eceb9ca54f2982365901c",
10+
"extract_dir": "ffmpeg-8.0.1-essentials_build"
11+
}
12+
},
13+
"bin": [
14+
"bin\\ffmpeg.exe",
15+
"bin\\ffplay.exe",
16+
"bin\\ffprobe.exe"
17+
],
18+
"persist": "fonts",
19+
"checkver": {
20+
"github": "https://github.com/GyanD/codexffmpeg"
21+
},
22+
"autoupdate": {
23+
"architecture": {
24+
"64bit": {
25+
"url": "https://github.com/GyanD/codexffmpeg/releases/download/$version/ffmpeg-$version-essentials_build.7z",
26+
"extract_dir": "ffmpeg-$version-essentials_build"
27+
}
28+
}
29+
}
30+
}

bucket/ffmpeg-shared.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,23 @@
55
"license": "GPL-3.0-or-later",
66
"architecture": {
77
"64bit": {
8-
"url": "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-8.0.1-full_build-shared.7z",
8+
"url": "https://github.com/GyanD/codexffmpeg/releases/download/8.0.1/ffmpeg-8.0.1-full_build-shared.7z",
99
"hash": "8030dc469fbde247b84cfc21a5c421f3965ffe779bc35de08d78966e0c4a272c",
1010
"extract_dir": "ffmpeg-8.0.1-full_build-shared"
1111
}
1212
},
13-
"persist": "fonts",
13+
"env_add_path": "bin",
1414
"env_set": {
1515
"FFMPEG_DIR": "$dir"
1616
},
17-
"env_add_path": "bin",
17+
"persist": "fonts",
1818
"checkver": {
19-
"url": "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z.ver",
20-
"regex": "([\\d.]+)"
19+
"github": "https://github.com/GyanD/codexffmpeg"
2120
},
2221
"autoupdate": {
2322
"architecture": {
2423
"64bit": {
25-
"url": "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-$version-full_build-shared.7z",
26-
"hash": {
27-
"url": "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-$version-full_build-shared.7z.sha256"
28-
},
24+
"url": "https://github.com/GyanD/codexffmpeg/releases/download/$version/ffmpeg-$version-full_build-shared.7z",
2925
"extract_dir": "ffmpeg-$version-full_build-shared"
3026
}
3127
}

bucket/ffmpeg.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,24 @@
55
"license": "GPL-3.0-or-later",
66
"architecture": {
77
"64bit": {
8-
"url": "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-8.0.1-full_build.7z",
8+
"url": "https://github.com/GyanD/codexffmpeg/releases/download/8.0.1/ffmpeg-8.0.1-full_build.7z",
99
"hash": "42edab4b9241ff1184b26d5f4545322227589713a7e56cf4459c4c4e30ccaaac",
1010
"extract_dir": "ffmpeg-8.0.1-full_build"
1111
}
1212
},
13-
"persist": "fonts",
1413
"bin": [
1514
"bin\\ffmpeg.exe",
1615
"bin\\ffplay.exe",
1716
"bin\\ffprobe.exe"
1817
],
18+
"persist": "fonts",
1919
"checkver": {
20-
"url": "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z.ver",
21-
"regex": "([\\d.]+)"
20+
"github": "https://github.com/GyanD/codexffmpeg"
2221
},
2322
"autoupdate": {
2423
"architecture": {
2524
"64bit": {
26-
"url": "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-$version-full_build.7z",
27-
"hash": {
28-
"url": "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-$version-full_build.7z.sha256"
29-
},
25+
"url": "https://github.com/GyanD/codexffmpeg/releases/download/$version/ffmpeg-$version-full_build.7z",
3026
"extract_dir": "ffmpeg-$version-full_build"
3127
}
3228
}

0 commit comments

Comments
 (0)