Skip to content

Commit f3312e5

Browse files
Remove high-bitdepth option
The high-bitdepth option is no longer used with x265 now building all bitdepths
1 parent a085c49 commit f3312e5

File tree

4 files changed

+4
-20
lines changed

4 files changed

+4
-20
lines changed

cross_compile_ffmpeg.sh

+2-8
Original file line numberDiff line numberDiff line change
@@ -2086,9 +2086,6 @@ build_ffmpeg() {
20862086
if [[ "$non_free" = "y" ]]; then
20872087
output_dir+="_with_fdk_aac"
20882088
fi
2089-
if [[ $high_bitdepth == "y" ]]; then
2090-
output_dir+="_x26x_high_bitdepth"
2091-
fi
20922089
if [[ $build_intel_qsv == "n" ]]; then
20932090
output_dir+="_xp_compat"
20942091
fi
@@ -2536,7 +2533,6 @@ while true; do
25362533
--git-get-latest=y [do a git pull for latest code from repositories like FFmpeg--can force a rebuild if changes are detected]
25372534
--build-x264-with-libav=n build x264.exe with bundled/included "libav" ffmpeg libraries within it
25382535
--prefer-stable=y build a few libraries from releases instead of git master
2539-
--high-bitdepth=n Enable high bit depth for x264 (10 bits) and x265 (10 and 12 bits, x64 build. Not officially supported on x86 (win32), but enabled by disabling its assembly).
25402536
--debug Make this script print out each line as it executes
25412537
--enable-gpl=[y] set to n to do an lgpl build
25422538
--build-dependencies=y [builds the ffmpeg dependencies. Disable it when the dependencies was built once and can greatly reduce build time. ]
@@ -2562,9 +2558,8 @@ while true; do
25622558
--disable-nonfree=* ) disable_nonfree="${1#*=}"; shift ;;
25632559
# this doesn't actually "build all", like doesn't build 10 high-bit LGPL ffmpeg, but it does exercise the "non default" type build options...
25642560
-a ) compiler_flavors="multi"; build_mplayer=n; build_libmxf=y; build_mp4box=y; build_vlc=y; build_lsw=y;
2565-
high_bitdepth=y; build_ffmpeg_static=y; build_ffmpeg_shared=y; build_lws=y;
2566-
disable_nonfree=n; git_get_latest=y; sandbox_ok=y; build_amd_amf=y; build_intel_qsv=y;
2567-
build_dvbtee=y; build_x264_with_libav=y; shift ;;
2561+
build_ffmpeg_static=y; build_ffmpeg_shared=y; build_lws=y; disable_nonfree=n; git_get_latest=y;
2562+
sandbox_ok=y; build_amd_amf=y; build_intel_qsv=y; build_dvbtee=y; build_x264_with_libav=y; shift ;;
25682563
-d ) gcc_cpu_count=$cpu_count; disable_nonfree="y"; sandbox_ok="y"; compiler_flavors="win64"; git_get_latest="n"; shift ;;
25692564
--compiler-flavors=* )
25702565
compiler_flavors="${1#*=}";
@@ -2577,7 +2572,6 @@ while true; do
25772572
--build-ffmpeg-shared=* ) build_ffmpeg_shared="${1#*=}"; shift ;;
25782573
--prefer-stable=* ) prefer_stable="${1#*=}"; shift ;;
25792574
--enable-gpl=* ) enable_gpl="${1#*=}"; shift ;;
2580-
--high-bitdepth=* ) high_bitdepth="${1#*=}"; shift ;;
25812575
--build-dependencies=* ) build_dependencies="${1#*=}"; shift ;;
25822576
--debug ) set -x; shift ;;
25832577
-- ) shift; break ;;

docker/docker-entry.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66

77
OUTPUTDIR=/output
88

9-
./cross_compile_ffmpeg.sh --build-ffmpeg-shared=y --build-ffmpeg-static=y --disable-nonfree=n --build-intel-qsv=y --compiler-flavors=win64 --enable-gpl=y --high-bitdepth=n
9+
./cross_compile_ffmpeg.sh --build-ffmpeg-shared=y --build-ffmpeg-static=y --disable-nonfree=n --build-intel-qsv=y --compiler-flavors=win64 --enable-gpl=y
1010

1111
mkdir -p $OUTPUTDIR/static/bin
1212
cp -R -f ./sandbox/win64/ffmpeg_git_with_fdk_aac/ffmpeg.exe $OUTPUTDIR/static/bin

patches/all_build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ done
2626
./cross_compile_ffmpeg.sh --compiler-flavors=multi --disable-nonfree=y --git-get-latest=n --build-ffmpeg-shared=y --build-ffmpeg-static=y $desired_ffmpeg_ver
2727
./cross_compile_ffmpeg.sh --compiler-flavors=multi --disable-nonfree=y --git-get-latest=n --build-ffmpeg-shared=y --build-ffmpeg-static=y --enable-gpl=n $desired_ffmpeg_ver # lgpl
2828
./cross_compile_ffmpeg.sh --compiler-flavors=multi --disable-nonfree=y --git-get-latest=n --build-intel-qsv=n --build-ffmpeg-shared=y --build-ffmpeg-static=y $desired_ffmpeg_ver # windows xp :|
29-
./cross_compile_ffmpeg.sh --compiler-flavors=multi --disable-nonfree=y --git-get-latest=n --build-ffmpeg-static=y --build-ffmpeg-shared=n --high-bitdepth=y $desired_ffmpeg_ver # high bitdepth
29+
./cross_compile_ffmpeg.sh --compiler-flavors=multi --disable-nonfree=y --git-get-latest=n --build-ffmpeg-static=y --build-ffmpeg-shared=n $desired_ffmpeg_ver # intel-qsv
3030

3131
rm -rf sandbox/distros # free up space from any previous distros
3232
if [[ $1 != "" ]]; then

patches/all_zip_distros.sh

-10
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,6 @@ create_zip() {
6464
zip -qr $1 $2 # without -q for quiet it was kind of screen chatty
6565
}
6666

67-
do_high_bitdepth_and_zip() {
68-
copy_ffmpeg_binaries ./sandbox/win32/ffmpeg_git_x26x_high_bitdepth "$root/32-bit/ffmpeg-static-x26x-high-bitdepth"
69-
copy_ffmpeg_binaries ./sandbox/x86_64/ffmpeg_git_x26x_high_bitdepth "$root/64-bit/ffmpeg-static-x26x-high-bitdepth"
70-
cd sandbox/distros
71-
create_zip ffmpeg.static.$date.32-bit.x26x-high-bitdepth.zip "$date_version/32-bit/ffmpeg-static-x26x-high-bitdepth/*"
72-
create_zip ffmpeg.static.$date.64-bit.x26x-high-bitdepth.zip "$date_version/64-bit/ffmpeg-static-x26x-high-bitdepth/*"
73-
cd ../..
74-
}
75-
7667
do_xp_compat_and_zip() {
7768
copy_ffmpeg_binaries ./sandbox/win32/ffmpeg_git_xp_compat "$root/32-bit/ffmpeg-static-xp-compatible"
7869
copy_ffmpeg_binaries ./sandbox/x86_64/ffmpeg_git_xp_compat "$root/64-bit/ffmpeg-static-xp-compatible"
@@ -92,7 +83,6 @@ do_statics() {
9283
}
9384

9485
do_statics
95-
do_high_bitdepth_and_zip
9686
do_xp_compat_and_zip
9787
do_shareds
9888

0 commit comments

Comments
 (0)