Build Requirements
Build Instructions
Build\windows
build.bat <2019|2017|2015>
[This will generate the .sln files and build the project]Binaries Location
<repo dir>/Bin/Release
or <repo dir>/Bin/Debug
, depending on whether Debug or Release were selected in the build mode.Installation
For the binaries to operate properly on your system, the following conditions have to be met:
SvtAv1EncApp.exe
and library SvtAv1Enc.dll
are in the same folder.SvtAV1EncApp.exe -i [in.yuv] -w [width] -h [height] -b [out.ivf]
ffmpeg -i [input.mp4] -nostdin -f rawvideo -pix_fmt yuv420p - | SvtAv1EncApp.exe -i stdin -n [number_of_frames_to_encode] -w [width] -h [height]
Note - a Dockerfile is provided to build the encoder into a tiny Alpine Linux Docker image.
Build Requirements
Build Instructions
cd Build/linux
./build.sh <release | debug>
Sample Binaries location
Bin/Release
and/or Bin/Debug
Clang usage
sudo apt install clang-11
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main"
sudo apt install clang-11
export CC="clang-11"
export CXX="clang++-11"
./build.sh <release | debug>
Installation
For the binaries to operate properly on your system, the following conditions have to be met:
SvtAV1EncApp
executable by running the command: chmod +x SvtAv1EncApp
./SvtAv1EncApp -i [in.yuv] -w [width] -h [height] -b [out.ivf]
ffmpeg -i [input.mp4] -nostdin -f rawvideo -pix_fmt yuv420p - | ./SvtAv1EncApp -i stdin -n [number_of_frames_to_encode] -w [width] -h [height]
git clone --depth=1 https://gitlab.com/AOMediaCodec/SVT-AV1.git
cd SVT-AV1
cd Build
cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
make -j $(nproc)
sudo make install
NOTE: If you wish to use an FFmpeg tag or release before 4.4, please go here and consult that page to properly patch ffmpeg for use with SVT-AV1.
git clone --depth=1 https://github.com/FFmpeg/FFmpeg ffmpeg
cd ffmpeg
export LD_LIBRARY_PATH+=":/usr/local/lib"
export PKG_CONFIG_PATH+=":/usr/local/lib/pkgconfig"
./configure --enable-libsvtav1
make -j $(nproc)
./ffmpeg -i input.mp4 -c:v libsvtav1 -y test.mp4
Refer to the guide here.
SvtAV1EncApp.exe -nch 2 -c firstchannel.cfg secondchannel.cfg
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )