Skip to content

Commit e501f14

Browse files
committed
Set x265 compilation option HIGH_BIT_DEPTH to ON to support 10 bit encoding
Signed-off-by: Xiaoxia Liang <xiaoxia.liang@intel.com>
1 parent 45c0a21 commit e501f14

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The x264/x265 libraries can be installed via apt on Ubuntu OS or built and insta
3838

3939
`wget -O - https://github.com/videolan/x265/archive/3.4.tar.gz | tar xz` \
4040
`cd x265-3.4/build/linux` \
41-
`cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/local -DLIB_INSTALL_DIR=/usr/local/lib ../../source` \
41+
`cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/local -DLIB_INSTALL_DIR=/usr/local/lib -DHIGH_BIT_DEPTH=ON ../../source` \
4242
`make -j$(nproc)` \
4343
`sudo make install`
4444

scripts/02_install_prerequisites.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ cd -
4747
# build and install x265
4848
tar xzf ./3.4.tar.gz
4949
cd x265-3.4/build/linux && \
50-
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/local -DLIB_INSTALL_DIR=/usr/local/lib ../../source && \
50+
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/local -DLIB_INSTALL_DIR=/usr/local/lib -DHIGH_BIT_DEPTH=ON ../../source && \
5151
make -j $(nproc) && \
5252
sudo make install
5353
cd -

0 commit comments

Comments
 (0)