Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg: add webp support #1133

Merged
merged 4 commits into from
Jan 24, 2022
Merged

ffmpeg: add webp support #1133

merged 4 commits into from
Jan 24, 2022

Conversation

bradh
Copy link
Contributor

@bradh bradh commented Jan 23, 2022

Resolves #1099

@@ -1163,7 +1163,7 @@ EOF
make -j $MAKEJ
make install
cd ../libwebp-$WEBP_VERSION
$CMAKE -DCMAKE_C_FLAGS="$CFLAGS -fPIC" -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH $WEBP_CONFIG .
CFLAGS="-I$INSTALL_PATH/include/" CXXFLAGS="-I$INSTALL_PATH/include/" LDFLAGS="-L$INSTALL_PATH/lib/" $CMAKE -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH $WEBP_CONFIG -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_VERSION=1 -DCMAKE_SYSTEM_PROCESSOR=armv8 -DCMAKE_CXX_FLAGS="$CXXFLAGS -fPIC" -DCMAKE_C_FLAGS="$CFLAGS -fPIC" -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ .
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the CXX bits (in general, where this is just one specific case)? I don't think there is any C++ in libwebp.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not? These flags should eventually be all cleaned up and put into one place. No one just ever got to it, but for now, there's no point in having inconsistent flags all over the place.

ffmpeg/cppbuild.sh Outdated Show resolved Hide resolved
@saudet saudet merged commit 312233a into bytedeco:master Jan 24, 2022
@bradh bradh deleted the ffmpeg_webp_merge branch January 24, 2022 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable ffmpeg with libwebp
2 participants