-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #714 from FREEWING-JP/extra_script_ver_4_4_4
Update extra Script for WSL Ubuntu to More Easily build FFmpeg 4.4.4
- Loading branch information
Showing
7 changed files
with
96 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
# ffmpeg windows cross compile helper extra script, see github repo README | ||
# Copyright (C) 2023 FREE WING,Y.Sakamoto, the script is under the GPLv3, but output FFmpeg's executables aren't | ||
# set -x | ||
|
||
echo "Copy FFmpeg execute files to Windows C:\ffmpeg_tmp directory" | ||
|
||
ls -l ./sandbox/win64/ffmpeg_git_with_fdk_aac_n4.4.4/ff*.exe | ||
ls -l ./sandbox/win64/x264/x*.exe | ||
ls -l ./sandbox/win64/x265/8bit/x*.exe | ||
|
||
mkdir /mnt/c/ffmpeg_tmp/ | ||
cp ./sandbox/win64/ffmpeg_git_with_fdk_aac_n4.4.4/ff*.exe /mnt/c/ffmpeg_tmp/ | ||
cp ./sandbox/win64/x264/x*.exe /mnt/c/ffmpeg_tmp/ | ||
cp ./sandbox/win64/x265/8bit/x*.exe /mnt/c/ffmpeg_tmp/ | ||
rm /mnt/c/ffmpeg_tmp/ff*_g.exe | ||
|
||
ls -l /mnt/c/ffmpeg_tmp/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
# ffmpeg windows cross compile helper extra script, see github repo README | ||
# Copyright (C) 2023 FREE WING,Y.Sakamoto, the script is under the GPLv3, but output FFmpeg's executables aren't | ||
# set -x | ||
|
||
echo "This is Patch for WSL Ubuntu 2023/05/05" | ||
|
||
echo "2023/05/05 no member named 'compressed_ten_bit_format'" | ||
# libavcodec/libsvtav1.c:124:51: error: 'EbSvtAv1EncConfiguration' has no member named 'compressed_ten_bit_format' | ||
# 124 | (config->encoder_bit_depth > 8) && (config->compressed_ten_bit_format == 0) ? 1 : 0; | ||
# sed -i -e "s/SVT-AV1\.git$/SVT-AV1.git SVT-AV1_git v1.4.1/g" cross_compile_ffmpeg.sh | ||
|
||
# https://github.com/FFmpeg/FFmpeg/commit/031f1561cd286596cdb374da32f8aa816ce3b135 | ||
# avcodec/libsvtav1: remove compressed_ten_bit_format and simplify allo… | ||
# patch git cherry-pick 031f156 | ||
sed -i -e "s/ cd \$output_dir/ cd \$output_dir\n git cherry-pick 031f156/g" cross_compile_ffmpeg.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
# ffmpeg windows cross compile helper extra script, see github repo README | ||
# Copyright (C) 2023 FREE WING,Y.Sakamoto, the script is under the GPLv3, but output FFmpeg's executables aren't | ||
# set -x | ||
|
||
echo "This is Patch for WSL Ubuntu 2023/10/15" | ||
|
||
echo "2023/10/15 Disable libaribcaption --enable-libaribcaption" | ||
# Because FFmpeg 4.4.x doesn't have this option | ||
# #693 --enable-libaribcaption #694 | ||
# https://github.com/rdp/ffmpeg-windows-build-helpers/pull/694 | ||
# config_options+=" --enable-libaribcaption" # libaribcatption (MIT licensed) | ||
sed -i -e "s/--enable-libaribcaption//g" cross_compile_ffmpeg.sh | ||
sed -i -e "s/ build_libaribcaption/ # build_libaribcaption/g" cross_compile_ffmpeg.sh | ||
|
||
# echo "2023/10/15 Disable nvenc --enable-nvenc --enable-nvdec" | ||
# Because 2023/10/06 latest master as 75f032b n12.1.14.1 Cause ERROR: nvenc requested but not found | ||
# and I have no NVIDIA graphics card | ||
# config_options+=" --enable-nvenc --enable-nvdec" # don't work OS X | ||
# sed -i -e "s/--enable-nvenc --enable-nvdec//g" cross_compile_ffmpeg.sh | ||
|
||
echo "2023/10/15 nvenc nv-codec-headers n12.0.16.1" | ||
# https://github.com/FFmpeg/nv-codec-headers/releases/tag/n12.0.16.1 | ||
# Because 2023/10/06 latest master as 75f032b n12.1.14.1 Cause ERROR: nvenc requested but not found | ||
# https://github.com/FFmpeg/nv-codec-headers/commit/75f032b24263c2b684b9921755cafc1c08e41b9d | ||
# Because 2023/10/06 n12.1.14.0 Cause error: 'NV_ENC_PARAMS_RC_VBR_MINQP' undeclared here | ||
# https://github.com/FFmpeg/nv-codec-headers/releases/tag/n12.1.14.0 | ||
sed -i -e "s/nv-codec-headers\.git$/nv-codec-headers.git nv-codec-headers_git n12.0.16.1/g" cross_compile_ffmpeg.sh | ||
|