Open TheKidRock opened 1 year ago
The default encoder does not work on your device, so you have to explicitly pass the encoder as you did.
You can do it in a script, see at the end of https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run
The default encoder does not work on your device, so you have to explicitly pass the encoder as you did.
You can do it in a script, see at the end of https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run
Thanks for the advice. Checked the above link, but since I am not a technical person, I could not figure out what to do. Is there any video tutorial that I can watch to use the script?
Update: I figured it out. Created a bat file with the command and it worked. Thanks once again.
BTW, do I need to install codec/encoder on my PC so that scrcpy works without having to use the additional script bat file? If yes, where do I download from?
I installed latest version of Scrcpy (scrcpy-win64-v2.1.1.zip) on my Windows 11 PC. I am trying to connect my Android TV (Android 9).
The problem I am facing is that when I use the command
C:\Scrcpy>scrcpy.exe
, I get errors.But when I use the command
C:\Scrcpy>scrcpy --video-encoder 'OMX.google.h264.encoder'
, scrcpy works and my Android TV is mirrored on my PC.Here is the screenshot of the commands.
How can I solve this issue? Please help.