We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation .
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
Environment
so my issue is that lately it has not been able to open my mysccrpy file, and it seems like there is 2 abd devices trying to connect, and I dont know if its possible disable tcpip by default, because it is searching for usb and tcpip both
also it seems that I have to end adb process on laptop when it cant connect sometimes.
third is, i have used c2.avc encoder for long but it doesnt work currently, I dont know why, whenever I take it away, it works (with quite bad quality), and it shows to be available on list atleast,
if anyone can assist little, here is from console:
C:\Users\35844\Desktop\scrcpy-win64-v2.4>scrcpy --list-encoders scrcpy 2.4 https://github.com/Genymobile/scrcpy
C:\Users\35844\Desktop\scrcpy-win64-v2.4>scrcpy -s 2UPN --no-audio --record=file.mp4 -m 888 -b 8M --max-fps 60 --render-driver=opengl --encoder 'c2.android.hevc.encoder' scrcpy 2.4 https://github.com/Genymobile/scrcpy ERROR: --encoder has been removed, use --video-encoder or --audio-encoder.
C:\Users\35844\Desktop\scrcpy-win64-v2.4>scrcpy -s 2UPN --no-audio --d --record=file.mp4 -m 888 -b 8M --max-fps 60 --render-driver=direct3d --encoder 'c2.android.hevc.encoder' scrcpy 2.4 https://github.com/Genymobile/scrcpy scrcpy: ambiguous option -- d
C:\Users\35844\Desktop\scrcpy-win64-v2.4>scrcpy -s 2UPN --no-audio --record=file.mp4 -m 888 -b 8M --max-fps 60 --render-driver=direct3d --encoder 'c2.android.hevc.encoder' scrcpy 2.4 https://github.com/Genymobile/scrcpy ERROR: --encoder has been removed, use --video-encoder or --audio-encoder.
C:\Users\35844\Desktop\scrcpy-win64-v2.4>scrcpy -s 2UPN --no-audio --record=file.mp4 -m 888 -b 8M --max-fps 60 --render-driver=opengl scrcpy 2.4 https://github.com/Genymobile/scrcpy INFO: ADB device found: INFO: --> (usb) (my device) device STK_LX1 INFO: (tcpip) emulator-5562 offline C:\Users\35844\Desktop\scrcpy-win64-v2.4\scrcpy-server: 1 file pushed, 0 skipped. 119.8 MB/s (69007 bytes in 0.001s) [server] INFO: Device: [HUAWEI] HONOR STK-LX1 (Android 10) INFO: Recording started to mp4 file: file.mp4 INFO: Renderer: opengl INFO: OpenGL version: 4.6.0 - Build 31.0.101.4255 INFO: Trilinear filtering enabled INFO: Texture: 408x888 INFO: Recording complete to mp4 file: file.mp4
C:\Users\35844\Desktop\scrcpy-win64-v2.4>scrcpy --video-codec=h265 -s 2UPN --no-audio --record=file.mp4 -m 888 -b 8M --max-fps 60 --render-driver=opengl --encoder 'c2.android.hevc.encoder' scrcpy 2.4 https://github.com/Genymobile/scrcpy ERROR: --encoder has been removed, use --video-encoder or --audio-encoder.
C:\Users\35844\Desktop\scrcpy-win64-v2.4>scrcpy --video-codec=h265 -s 2UPN --no-audio --record=file.mp4 -m 888 -b 8M --max-fps 60 --render-driver=opengl scrcpy 2.4 https://github.com/Genymobile/scrcpy INFO: ADB device found: INFO: --> (usb) 2UPNW20806003620 device STK_LX1 INFO: (tcpip) emulator-5562 offline C:\Users\35844\Desktop\scrcpy-win64-v2.4\scrcpy-server: 1 file pushed, 0 skipped. 9.0 MB/s (69007 bytes in 0.007s) [server] INFO: Device: [HUAWEI] HONOR STK-LX1 (Android 10) INFO: Recording started to mp4 file: file.mp4 INFO: Renderer: opengl INFO: OpenGL version: 4.6.0 - Build 31.0.101.4255 INFO: Trilinear filtering enabled INFO: Texture: 408x888 INFO: Recording complete to mp4 file: file.mp4
C:\Users\35844\Desktop\scrcpy-win64-v2.4>scrcpy --video-codec=h265 -s 2UPN --no-audio --record=file.mp4 -m 888 -b 8M --max-fps 60 --encoder 'c2.android.avc.encoder' scrcpy 2.4 https://github.com/Genymobile/scrcpy ERROR: --encoder has been removed, use --video-encoder or --audio-encoder.
C:\Users\35844\Desktop\scrcpy-win64-v2.4>scrcpy --video-codec=h265 -s 2UPN --no-audio --record=file.mp4 -m 888 -b 8M --max-fps 60 --encoder 'c2.android.avc.encoder'
The text was updated successfully, but these errors were encountered:
ERROR: --encoder has been removed, use --video-encoder or --audio-encoder.
Replace --encoder by --video-encoder . This has changed in scrcpy 2.0 when audio was introduced.
--encoder
--video-encoder
scrcpy: ambiguous option -- d
It's -d , not --d .
-d
--d
Sorry, something went wrong.
ERROR: --encoder has been removed, use --video-encoder or --audio-encoder. Replace --encoder by --video-encoder . This has changed in scrcpy 2.0 when audio was introduced. scrcpy: ambiguous option -- d It's -d , not --d .
Oh damn, thanks alot! Seems also it works when I removed -s and serial number (doesn't flash ane close the scrcpy quick anymore) I dont understand why tho, had it to do something at registering as it shows my device twice on google authorized devices as well(because I think some of honor lite phones has a similar firmware or something?) or I just dummily had both activated, works good now thanks :). And encoder works well, thanks!
No branches or pull requests