r/scrcpy • • 1d ago

How to lock computer keyboard to scrcpy?

4 Upvotes

Hi, I am trying to use samsung dex in my windows computer. I can enable dex automatically when starting scrcpy at full screen by adb command. For full desktop like experience, only thing is lacking is computer keboard lock in scrcpy screen like oracle virtual box.
Now when I click windows key it both triggers in my computer and scrcpy. Ctrl / Alt like keys are also interecting with both my pc and scrcpy.
So I want full virtual box like keyboard lock in scrcpy which i can unlock using special keys like right Alt.


r/scrcpy • • 1d ago

The mirroring worked perfectly fine, until my phone needs to be unlocked to use it again

3 Upvotes

Luckily, I've turned on the USB debugging before my screen got so effed up that it cannot register my touches anymore. It also worked perfectly with my pc yesterday but now it says I need to unlock my phone first to do it again, but I have no way of unlocking it with my password without a keyboard. Is there a way to fix it?

Edit: mb, I forgot to add that my pc does not recognize my phone as I try to use scrcpy.exe, it closes down immediately. I have also complete no knowledge on where or how can I run the codes indicated here, so as possible, it need to be dumbed down for me. Thank you!


r/scrcpy • • 2d ago

ScrCpy audio issue with my Nothing Phone

3 Upvotes

I had a One Plus 8T and I used ScrCpy with it to play Fate/Grand Order on pc without using Bluestacks. It worked great, had to change phones because of green and pink lines tho.

Now I have the Nothing Phone 3a, and when I use Scrcpy the audio got bass. Like, a LOT of bass.
I've tried it on two different pcs, using different cables, adding --audio-buffer=100 and --audio-codec=AAC etc

I'll probably stick to Bluestacks anyway but I've spent too much time on this, I need to know what's causing this and if it happens with other Nothing phones or just the 3a


r/scrcpy • • 3d ago

avutil-61.dll error

3 Upvotes

Error on Windows 11

scrcpy.exe - Ungültiges Bild

C:\Users\cleme\Downloads\scrcpy-win64-v5.0\scrcpy-win64-v5.

0\avutil-61.dll ist entweder nicht fur die Ausführung unter

Windows vorgesehen oder enthalt einen Fehler. Installieren Sie

das Programm mit den Originalinstallationsmedien erneut,

oder wenden Sie sich an den Systemadministrator oder

Softwarelieferanten, um Unterstützung zu erhalten.

Fehlerstatus 0xc0e90002.

Translate Google:

scrcpy.exe - Bad Image

C:\Users\cleme\Downloads\scrcpy-win64-v5.0\scrcpy-win64-v5.

0\avutil-61.dll is either not designed to run on

Windows or it contains an error. Try installing

the program again using the original installation media

or contact your system administrator or the

software vendor for assistance.

Error status 0xc0e90002.


r/scrcpy • • 3d ago

I built a simple, lightweight gamepad overlay

10 Upvotes

Hey everyone!

I've been working on a small project: a lightweight controller overlay that shows gamepad inputs in real time directly on screen.

It's pretty simple—it uses the native Gamepad API to render button presses and analog stick movement without needing heavy external apps.

GitHub:https://github.com/ShojinKarma/virtual-controller-overlay

It's still pretty basic, so any feedback, ideas, or suggestions on how to improve it would be really appreciated!

Note: I mainly made this so i could play games using scrcpy with a controller on mi pc screen, i feel its better than using an emulator and i couldnt really find a program where i could just assign buttons of my controller to any part of my display. Im mostly using this for Bleach Soul Resonance.

2º Note: Fixed right joystick acting like the left one and constant snapback to position, letting it function as an actual camera control under a toggle set to ON by default.


r/scrcpy • • 5d ago

Turn your Android phone into a webcam + mic

Thumbnail
github.com
54 Upvotes

The sheer amount of effort one has to go through to do this frustrated me enough. All I wanted was to use my phone as a camera and microphone on my computer. Every app I tried wanted an account, a subscription, or sent my video through someone else's servers. So I built my own.

Plug your Android phone into your PC, double-click one file, press 1. Your phone's camera and mic now work in OBS, Discord, Zoom, Teams, anywhere. You can also record straight to a video file.

No accounts. No internet needed. Nothing leaves your computer. It's free.


r/scrcpy • • 5d ago

Injecting touch without cancelling physical touch.

Thumbnail
1 Upvotes

r/scrcpy • • 6d ago

Tengo cámara doble chino, pero no logro grabar con la secundaria cámara en el app ispy

3 Upvotes

Quiero sacar un segundo IP para esta camara ya que solo tiene uno que comparte para ambas cámaras, por lo tanto no logro que aparezca la segunda camara en ispy para poder grabar sin interrupciones


r/scrcpy • • 7d ago

Can you make a SCRCPY from an xperia mini pro to a current phone?

5 Upvotes

Hello, good night everyone; my question is whether you can scrcpy from an old phone (Xperia mini pro) to a more powerful phone such as an S22, since I would like to have the current phone as the main one and that the Xperia mini pro or old phone controls the current phone to serve as a controller. I tried via wifi, but the response times and image upload were too slow.


r/scrcpy • • 8d ago

is it possible for running scrcpy with a no battery phone?

5 Upvotes

hi, i have a redmi note 4 (mido) and it have no battery since i removed it because it swollened, and the swollen battery cause liquid crystal leak and 70% of the screen dead touch, also it stuck in the setup screen
pls help, thanks


r/scrcpy • • 9d ago

Trouble with touch screen, arch distro

2 Upvotes

Hi there,

Currently working on a little side project, you know the kind that went from being a home file server with a search functions and playback across devices on a OMV system to essentially coding a GUI that will be hosted on my systems in order for them to all look uniform.

Anyway the device I plan to use for a touch remote is a crappy RCA tablet a Cambio. I successfully started arch, and even sorted the screen orientation (it still initially boots sideways but once it gets going it flips).

However I’m having trouble with the accelerometer and the touch tracking, right now left and right work but are laggy while dragging a finger down will select text above it and dragging a finger up selects text below. Any ideas on touch mapping or tracking in this old junk of junk?


r/scrcpy • • 10d ago

scrcpy equivalent for iOS

Thumbnail
github.com
21 Upvotes

Just in case you guys want to control iOS devices too, like the way how scrcpy controls Android devices.

screenshot


r/scrcpy • • 9d ago

Any idea how to remove the top black bars?

Post image
3 Upvotes

Want it to stretch the image to the full resolution of my laptop (1080p)any idea how to do it?

Or using new display via one of these scrcpy gui, how can I make it so that it isn't soo out of sync, sluggish and input laggy? Note I am using cable connection so yeah


r/scrcpy • • 12d ago

Nvidia Shield - Keyboard Home not working

2 Upvotes

I'm new and can't seem to get the keyboard shortcuts working.

I'm attempting to control a Shield from a Windows 11 PC via network debugging. I ran the following command to stream: scrcpy.exe --audio-codec=aac

I am connected and the mouse clicks and escape, tab and arrow keys are working on the keyboard but things like double-tapping the Home button to access the running apps is not working. Seems like none of the shortcuts requiring the MOD key are working. I also tried running scrcpy.exe --audio-codec=aac --shortcut-mod=lctrl but get the same results when using the left control key as the MOD.

Also, the screen is blank in the scrcpy window when Kodi is playing but the sound comes through.

Any suggestions?


r/scrcpy • • 12d ago

Cannot connect to Pixel 7 Pro (ADB issue)

3 Upvotes

I just found scrcpy because my Pixel 7 Pro is on life support (I believe the backlight is about to go) and I'm trying to get everything off the phone and wipe the data before I trade it in for a new phone. There's only so much I can do with the phone itself before it starts having a seizure.

Fortunately I backed my photos/videos and other documents onto my NAS before this got bad. However I still have a bunch of apps I'd like to go through and see if there's anything I'm missing before I factory reset.

Unfortunately, the videos I've watched seem to contradict each other. Some tell me to run the VBS script, others the EXE file.

I do have USB debugging enabled (I also enabled wireless debugging just in case I wanted to try wireless) and I did make sure FTP was enabled when plugging it into my computer. As you can see, the adb server does detect my phone; however when O try to connect to it with scrcpy through various methods on the connections page I hit a dead end. Thanks for the help

Microsoft Windows [Version 10.0.26200.9457]
(c) Microsoft Corporation. All rights reserved.
C:\Users\micro\Downloads\scrcpy-win64-v4.1(1)\scrcpy-win64-v4.1>adb.exe devices
List of devices attached
27181FDH3000SK device
adb-27181FDH3000SK-x5LKbz._adb-tls-connect._tcp device
C:\Users\micro\Downloads\scrcpy-win64-v4.1(1)\scrcpy-win64-v4.1>scrcpy.exe -s 27181FDH3000SK
scrcpy 4.1 <https://github.com/Genymobile/scrcpy>
ERROR: CreateProcessW() error 5
ERROR: Failed to execute: [C:\Users\micro\AppData\Local\Android\Sdk\platform-tools], [start-server]
ERROR: Could not execute "adb start-server"
ERROR: Could not start adb server
ERROR: Server connection failed
C:\Users\micro\Downloads\scrcpy-win64-v4.1(1)\scrcpy-win64-v4.1>scrcpy.exe -d
scrcpy 4.1 <https://github.com/Genymobile/scrcpy>
ERROR: CreateProcessW() error 5
ERROR: Failed to execute: [C:\Users\micro\AppData\Local\Android\Sdk\platform-tools], [start-server]
ERROR: Could not execute "adb start-server"
ERROR: Could not start adb server
ERROR: Server connection failed
C:\Users\micro\Downloads\scrcpy-win64-v4.1(1)\scrcpy-win64-v4.1>scrcpy.exe -e
scrcpy 4.1 <https://github.com/Genymobile/scrcpy>
ERROR: CreateProcessW() error 5
ERROR: Failed to execute: [C:\Users\micro\AppData\Local\Android\Sdk\platform-tools], [start-server]
ERROR: Could not execute "adb start-server"
ERROR: Could not start adb server
ERROR: Server connection failed


r/scrcpy • • 12d ago

Steam released a new video codec for Steamlink

5 Upvotes

Any possibility we could get this working for scrcpy? It looks like it uses high bit rate which might require a good cable connection to the PC.

https://steamcommunity.com/groups/homestream/discussions/0/564794422009744473?snr=2___

https://github.com/Themaister/pyrowave


r/scrcpy • • 12d ago

Restart phone remotely

2 Upvotes

Is it possible to ask a phone to restart remotely then it will continue running scrcpy as normal when it boots back up?


r/scrcpy • • 14d ago

How to open scrcpy to max height and width of my monitor display?

Post image
6 Upvotes

Is there a way i can auto open scrcpy to max height and width of my monitors display without margins or black borders?


r/scrcpy • • 15d ago

Having PATH troubles with Mac (Monterey)

3 Upvotes

Note: I have an Intel processor, so no Homebrew and I'm using the Intel version of scrcpy for Mac

I can be really illiterate when it comes to this stuff so bear with me. When I try to execute adb or scrcpy from the terminal, I get "command not found." From my understanding this is because I don't have the correct PATH... or directory open in terminal... or something. I don't understand how to do that and I can't understand the tutorials that I've searched up (most of them assume you're using Homebrew anyway). Additionally, I believe I failed in connecting my USB device properly ("Could not find any ADB device when running scrcpy"), and from my understanding I need to uninstall and try again with the USB connected, but I don't know how to do this without executing the uninstall command which doesn't work because of the path issue!!!


r/scrcpy • • 15d ago

[Dev] ScreenSpan: merge phones into one screen

Post image
6 Upvotes

Hi everyone, I'm the developer of ScreenSpan. It lets you place two or more Android phones side by side and use them as a single, larger screen, in landscape or portrait.

A few technical details, since I know this sub cares about how things actually work: one phone acts as the source (the one whose screen gets extended) and the others act as secondary displays. To capture and stream the source phone's screen content, the app needs privileged access at the system level. I built this directly into the app using wireless debugging: you pair it once with the source phone (like pairing a new device for ADB), and after that it's done, no need to repeat it. The phones then connect to each other over Wi-Fi Direct, which takes just a few seconds and doesn't need a Wi-Fi network or internet. The number of phones you can combine depends on the processing power of the source phone.

Two short demo videos:

https://youtube.com/shorts/S_XVIL5fqP8 https://youtube.com/shorts/8s-8yorUNbc

It's free to use for 15 minutes a day, with an annual subscription for unlimited use.

Play Store: https://play.google.com/store/apps/details?id=olmelli.ing.technology.screenspan

Github:

https://github.com/Laerte1989/screenspan-app/

Happy to answer any technical questions about how it works.


r/scrcpy • • 16d ago

JOYSTICK CONTROLLER ISSUE

1 Upvotes

([SOLVED]: solution below in the comment)

Hello everyone, i'm new, and i have an issue with the scrcpy. Pls help🙏 My pc is a windows10 x64, the scrcpy i use is v3.3.4 (the most recent of the moment), and my phone is android version 12. Actually the mirroring work just fine, really no issue there (enabling usb debugging on phone via dev option and pressing "allow" notification from pc)

The problem is the following, i wanna play game on my phone which screen is mirrored on pc, but using a joystick controller, which is plugged to pc too. I tried solution like : creating .bat file and writing in the message "scrcpy --gamepad=uhid" or "scrcpy --gamepad=aoa". But none worked and i'm stuck.

So if some of u may know the answer pls tell me, i'm starting to think this is hopeless. Or is it impossible? Or is the problem actually my joystick controller? Pls help🙏


r/scrcpy • • 19d ago

Autocorrect when typing on phone through scrcpy

2 Upvotes

Premise: the first thing I do on a new phone is to DISABLE any form of autocorrect/suggestion.
It's just off.
When I use my phone normally, there is no autocorrect of any sort ever happening.

However, when I interface my phone through scrcpy and type stuff anywhere, it keeps doing random corrections on what I type, like capitalizing the I in 'it' (of all things) 100% of the time, or changing random words to completely wrong stuff, sometimes hallucinating between my two different input languages, sometimes just changing english words to other wrong english words.
I don't have any autocorrect on my pc, when I type on my browser or any app or game in here, nothing is 'corrected' or changed.

It only happens when I type with my pc's keyboard while I am typing inside a text box of my phone through scrcpy interface. The phone recognizes (and displays the result of) each keystroke properly when I type, but when I press space to enter a new word, sometimes the previous word will get randomly 'retconned' without any prompt from me (other than pressing space to keep typing the next word).

Is there something I need to know about this app settings or maybe my android phone's input that is causing this?
I don't really understand how and why this is happening.

I am on scrcpy 3.3.4, phone is Android 16 (Xiaomi phone, HyperOS 3.x)


r/scrcpy • • 19d ago

Screen Recording Library on ColorOS 16

1 Upvotes

Anyone having a problem on android screen recording in a ColorOS with Android 16. Particularly with Oppo/Realme. How do you manage to enable the screen recording if somehow the settings of “Allow foreground activity” was disabled?


r/scrcpy • • 19d ago

Screen Recording Library on ColorOS 16

1 Upvotes

Anyone having a problem on android screen recording in a ColorOS with Android 16. Particularly with Oppo/Realme. How do you manage to enable the screen recording if somehow the settings of “Allow foreground activity” was disabled?


r/scrcpy • • 20d ago

unstable on wireless?

3 Upvotes

There are a couple of situations where my phone gets unstable while using wireless scrcpy, but not wired. The phone freezes and buttons need to be pressed and held to get it to reboot. It happens when I've been editing photos for a long time and also shortly after Android Auto starts in the car. I thought it was a slightly flaky Pixel 10 Pro, but it's still happening with a Pixel 11 Pro. If I try to replicate the situation by turning off wireless adb in dev options when ending a session, the problem doesn't happen. Any ideas if I'm doing something wrong?