Comments (8)
I believe this is an issue that needs to be created for the frei0r project. It looks like they recently added the kaleid0sc0pe filter with v2.3.1, which seems to be breaking complilation when building for Windows via mingw.
I submitted a ticket to them: dyne/frei0r#178
from ffmpeg-windows-build-helpers.
As a side note, I made the following edit to the build_frei0r()
function in the cross_compile_ffmpeg.sh script and was able to successfully move on past the frei0r issue. This simply downloads the previous v2.3.0 build instead of latest:
build_frei0r() {
#do_git_checkout https://github.com/dyne/frei0r.git
#cd frei0r_git
download_and_unpack_file https://github.com/dyne/frei0r/archive/refs/tags/v2.3.0.tar.gz frei0r-2.3.0
cd frei0r-2.3.0
sed -i.bak 's/-arch i386//' CMakeLists.txt # OS X https://github.com/dyne/frei0r/issues/64
do_cmake_and_install "-DWITHOUT_OPENCV=1" # XXX could look at this more...
mkdir -p $cur_dir/redist # Strip and pack shared libraries.
if [ $bits_target = 32 ]; then
local arch=x86
else
local arch=x86_64
fi
archive="$cur_dir/redist/frei0r-plugins-${arch}-$(git describe --tags).7z"
if [[ ! -f "$archive.done" ]]; then
for sharedlib in $mingw_w64_x86_64_prefix/lib/frei0r-1/*.dll; do
${cross_prefix}strip $sharedlib
done
for doc in AUTHORS ChangeLog COPYING README.md; do
sed "s/$/\r/" $doc > $mingw_w64_x86_64_prefix/lib/frei0r-1/$doc.txt
done
7z a -mx=9 $archive $mingw_w64_x86_64_prefix/lib/frei0r-1 && rm -f $mingw_w64_x86_64_prefix/lib/frei0r-1/*.txt
touch "$archive.done" # for those with no 7z so it won't restrip every time
fi
cd ..
}
from ffmpeg-windows-build-helpers.
reverting to the old version works but its still pretty easy to use master and just disable the module with sed or any other string manipulation. Each is independent so I don't think it causes any issues.
from ffmpeg-windows-build-helpers.
Does the script have the ability to "blacklist" known-incompatible lib versions, at least until the issue is resolved (as I understand, it's a mingw issue with using win32 threads and no futures support)? Is it a thing?
from ffmpeg-windows-build-helpers.
The frei0r lib is a set of optional filters for ffmpeg that apply things like effects. The kaleid0sc0pe is an arbitrary effect recently added to frei0r. It does require a threads feature that mingw does not by default support (there may be a work around). The first of the frei0r lib however doesn't use those features so simply excluding this specific filter resolves the issue without locking this helper script to static in time frei0r lib.
from ffmpeg-windows-build-helpers.
From what I could see, they're adding some extra checks to verify actual support for those C++11 features, so hopefully this won't show up again in this particular library.
from ffmpeg-windows-build-helpers.
should be work arounded now, hopefully, till they merge the check on their end...
from ffmpeg-windows-build-helpers.
I see you're still installing these...
ffmpeg-windows-build-helpers/cross_compile_ffmpeg.sh
Lines 1423 to 1428 in 6e49997
...so why not use them?
sed -i.bak 's/<future>/"mingw.future.h"/' src/filter/kaleid0sc0pe/kaleid0sc0pe.cpp
This works for me.
from ffmpeg-windows-build-helpers.
Related Issues (20)
- Build flite failed HOT 5
- VAMP missing - All builds broken
- Request: Add libsvt_vp9 (Code Provided) HOT 2
- FFMPEG compilation is never easy
- Replace libmfx with libvpl (libmfx has security issues)
- FFMPEG 5.1.4 build issues HOT 1
- Error pathspec origin/master HOT 3
- Issue with enabling --enable-libbluray option during FFmpeg build
- Can't build n7.0 HOT 3
- Issue with x265 3.6 x86 asm optimization HOT 3
- How do i get this particular ffmpeg build with a specific filter to be compiled using this script? HOT 7
- configure: error: Xvid supports only 32/64 bit architectures HOT 2
- JPEG-XL
- "init_static_data" not a member of "AVCodec" HOT 1
- wsl 1 failures HOT 7
- qsv_av1 encoding support HOT 1
- vamp-plugin-sdk offline (with workaround) HOT 2
- harfbuzz configure error (with workaround) HOT 4
- what is name of amd h264 decoder
- eXtra-fast Essential Video Encoder (XEVE) support plan? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-windows-build-helpers.