-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Add AV1 decoder in release builds #5644
Conversation
Due to a typo (a space was missing before the second '-L'), the resulting LDFLAGS value was broken: "-L/opt/homebrew/opt/zlib/lib-L/opt/homebrew/opt/libiconv/lib" This proves that the flag was useless. Remove it. Refs #5517 comment <#5517 (comment)> PR #5644 <#5644>
Scrcpy supports AV1, but no decoder was provided in binary releases. Include dav1d: - <https://www.videolan.org/projects/dav1d.html> - <https://code.videolan.org/videolan/dav1d> Fixes #4744 <#4744> PR #5644 <#5644>
Both
So it looks like this build relies on |
FWIW, I don't have a new Android so I couldn't test the encoder change. |
Thank you for your test 👍 I was able to test on Windows, it also works. 🚀 |
Nokia 6.1 (2018) - https://www.gsmarena.com/nokia_6_1-8972.php - with crDroid 11 (Android 15) Beta:
|
@LeeBinder both with 3.0.2 and these new binaries? (it does not seem related to the change) And with (Does your device have an AV1 encoder? |
|
4090 win 11 dont work |
@HaYToKoRaZ What do you mean? What's the error? |
your equanimity and patience with his "bug report" is admirable |
After using AV1, I feel that the bandwidth and system resource occupation have been reduced, and it is a little smoother, which is good |
Recent devices have an AV1 encoder (and it works quite well).
On Linux, when building using system libraries, it was already working. But no AV1 decoder was included in release builds.
This PR adds dav1d support to decode AV1 streams.
With my Pixel 8, I can run:
I only tested on Linux. Please test on Windows and macOS.
Fixes #4744
Note: @muvaf, could you please check the first commit
Remove broken macOS flags
related to #5517 (comment).Binaries:
scrcpy-linux-x86_64-dav1d.tar.gz
SHA-256: aaf74723c8a93705937c0461d1cc4fbf6af411ac9f40502c0ddeea00f5a4403
scrcpy-win64-dav1d.zip
SHA-256: c413db1271e29695561168ee43723ac082369043f85e8dc0b3ce6e4c6fd12d5
scrcpy-macos-aarch64-dav1d.tar.gz
SHA-256: 103f95ce4c6e01f51b5135a668334215d8182569b1c1022c2892e523dff8005
scrcpy-macos-x86_64-dav1d.tar.gz
SHA-256: 56b86436afed29a2786c1d4d238830209b691fce69a95ffaeb89c316426a191