-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Device encoder crashes [OMX.Intel.hw_ve.h264] ERROR(0x80001001) #1810
Comments
Thank you for your report. Could you please list the codecs as reported by CheckVideoCodecs? (refs #55 (comment)) |
Yes i will get you the list soon, thanks for the quick answer. |
Hi @rom1v - attached the output EDIT: I've noticed that the device has both Intel and google encoders for h264 but from the logcat i can see the device is trying to use the Intel encoder.
|
OK, so there are two H.264 encoder, but the first one is not working. I guess I should add a command-line option to force a specific encoder… |
I've made a quick test by building the server on my own. So we can say for sure this feature of forcing encoder is needed and will solve the issue. |
Do you want to work on this feature? |
OK i will do it 👍 and submit a PR |
Some devices have more than one encoder, some encoders may cause issues or crash. With this option we can specify which encoder we want the device to use. PR #1827 <#1827> Fixes #1810 <#1810> Signed-off-by: Romain Vimont <[email protected]>
Some devices have more than one encoder, and some encoders may cause issues or crash. With this option we can specify which encoder we want the device to use. PR #1827 <#1827> Fixes #1810 <#1810> Signed-off-by: Romain Vimont <[email protected]>
Fixed by #1827. |
scrcpy v1.17 Changes since v1.16: - Fix errors on Android 11 (Genymobile#1468) - Add --encoder option (Genymobile#1810, Genymobile#1827) - Add --forward-all-clicks option (Genymobile#1302, Genymobile#1613) - Add --legacy-paste option (Genymobile#1750, Genymobile#1771) - Workaround screen off/on issue on exit (Genymobile#1670) - Rework console/noconsole versions on Windows (Genymobile#1875, Genymobile#1988) - Terminate server properly without killing it on close (Genymobile#1992) - List available shortcut keys on error (Genymobile#1681) - Upgrade platform-tools to 30.0.5 (adb) in Windows releases - Upgrade SDL to 2.0.14 in Windows releases
Environment
Describe the bug
Scrcpy starts and crashes after a few seconds.
adb shell screenrecord is working fine.
Tried using a smaller resolution with scrcpy -m600 or -m800, same issue.
Tried using a low bitrate of 2000000.
Attaching the logcat and media_codecs.xml that i pulled from the device.
logcat.log
media_codecs.xml -
The text was updated successfully, but these errors were encountered: