File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ The builds are provided for several platforms:
1414Features
1515--------
1616
17- Currently FFmpeg 8.0. 1 is built with the following packages enabled for all platforms:
17+ Currently FFmpeg 8.1 is built with the following packages enabled for all platforms:
1818
1919- lame 3.100
2020- ogg 1.3.6
Original file line number Diff line number Diff line change @@ -31,4 +31,3 @@ index 8cc91625c7..481d63a39f 100644
3131+ #include <asm/unistd.h>
3232 #include <sys/syscall.h>
3333 #include <unistd.h>
34-
Original file line number Diff line number Diff line change @@ -210,8 +210,8 @@ def calculate_sha256(filename: str) -> str:
210210
211211ffmpeg_package = Package (
212212 name = "ffmpeg" ,
213- source_url = "https://ffmpeg.org/releases/ffmpeg-8.0. 1.tar.xz" ,
214- sha256 = "05ee0b03119b45c0bdb4df654b96802e909e0a752f72e4fe3794f487229e5a41 " ,
213+ source_url = "https://ffmpeg.org/releases/ffmpeg-8.1.tar.xz" ,
214+ sha256 = "b072aed6871998cce9b36e7774033105ca29e33632be5b6347f3206898e0756a " ,
215215)
216216
217217
@@ -401,11 +401,7 @@ def main():
401401
402402 if plat == "Windows" and is_arm :
403403 ffmpeg_package .build_arguments .extend (
404- [
405- "--cc=clang" ,
406- "--cxx=clang++" ,
407- "--arch=aarch64" ,
408- ]
404+ ["--cc=clang" , "--cxx=clang++" , "--arch=aarch64" ]
409405 )
410406
411407 ffmpeg_package .build_arguments .extend (
@@ -414,6 +410,7 @@ def main():
414410 "--disable-decoder=sonic" ,
415411 "--disable-libjack" ,
416412 "--disable-indev=jack" ,
413+ "--disable-filter=gfxcapture_winrt" , # Causes issues on Win Arm
417414 ]
418415 )
419416
Original file line number Diff line number Diff line change 44if sys .platform == "win32" :
55 include_dirs = ["C:\\ cibw\\ vendor\\ include" ]
66 library_dirs = ["C:\\ cibw\\ vendor\\ lib" ]
7+ extra_link_args = []
78else :
89 include_dirs = ["/tmp/vendor/include" ]
910 library_dirs = ["/tmp/vendor/lib" ]
11+ extra_link_args = ["-headerpad_max_install_names" ] if sys .platform == "darwin" else []
1012
1113setuptools .setup (
1214 name = "dummy" ,
1719 "dummy.binding" ,
1820 include_dirs = include_dirs ,
1921 library_dirs = library_dirs ,
22+ extra_link_args = extra_link_args ,
2023 libraries = [
2124 "avformat" ,
2225 "avcodec" ,
You can’t perform that action at this time.
0 commit comments