-
Notifications
You must be signed in to change notification settings - Fork 5
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
AV1 encoder and decoder #9
Comments
Will try to take a look but it might be a couple of weeks. |
I would be very grateful to you! |
do_git_checkout $dav1d_git $dav1d_version dav1d
pushd dav1d || exit
meson setup build --cross-file=package/crossfiles/x86_64-w64-mingw32.meson --default-library=static --prefix=$prefix
cd ./build || exit
ninja
ninja install
popd || exit
|
I'll check dav1d today later. Thanks!
|
This is more or less what I had, but it wouldn't link due to a missing cpuinfo dependency which I need to investigate. Hopefully that can either be disable or added to the script as well. |
dav1d as AV1 decoder works fine now. Many thanks! Hope that you'll find a solution for libsvtav1 |
I think I got libsvtav1 working this morning - will try to get it cleaned up and into the PR this evening. May I ask what the reason is to prefer libstvav1 vs. libaom? |
Glad you had success with libsvtav1! I'll wait for the script. |
Okay, just pushed an update to that PR which I think gets libsvtav1 working. I needed to build cpuinfo as well. do_git_checkout $libsvtav1_git $libsvtav1_version libsvtav1
pushd libsvtav1 || exit
cd Build/linux || exit
./build.sh -t "$config_dir/toolchain-x86_64-w64-mingw32.cmake" -p $prefix --static install
popd || exit Just running a full E2E test before I check it in to main. |
Great! I just checked and libsvtav1 encoder works fine. |
There are a lot of build options for it that I didn't look at related to CPU optimizations - I'm hoping the default build is reasonable. |
I'll compare a speed with BtbN FFmpeg build tomorrow. |
I compared your FFmpeg build with libsvtav1 and BtbN build on Intel CPU 7-gen. Your version encodes slower than BtbN (69s vs 59s). I checked BtbN script for options in libsvtav1:
Probably this option is important: -DENABLE_AVX512=ON How we can try the same option in your script? |
Very straightforward. #19 adds this, as well as Link Time Optimization. I'm just waiting for the build to succeed before checking it in. |
I'll try it after the weekend. Thank you for your great support and responsiveness! |
Hi,
Please can you add example for downloading/compiling dav1d and libsvtav1 libs?
The text was updated successfully, but these errors were encountered: