Best

Wednesday, July 22, 2020

CAST / MIRROR / Record Android to PC with only one file!! [PART 2]

CAST / MIRROR / Record Android to PC with only one file: Hello, people. Hope you all are doing fine. Now, if you have come to this article from my previous post then here I will tell you how you can create an executable file with few simple steps that you can use to cast your device to PC instantaneously.


If you are not here from my previous post then you might wanna check that out first from here.

Okay, so the first step would be to open the "Mirror" folder that we created last time.

Now, Right-click and create a new text document or notepad file.


No need to rename it, just leave it as it is.

Open it and type all the commands below:
Here you will need to replace 'scrcpy' with the command that works for your device
cd c:\Mirror
adb devices
scrcpy
some alternatives of scrcpy are:
scrcpy -m 1280
scrcpy -m 1024
scrcpy -m 800  
like in my case also scrcpy didn't work but scrcpy -m 1280 did so, I will write:
cd c:\Mirror
adb devices
scrcpy -m 1280
I hope I am clear here, if you have a doubt, ask me in the comments.



Now, click on File and then hit Save As...
A pop-up window will open up.
Here you need to change the type of document to "All Files" and name your file "scrcpy.bat" and hit Save.




After this head over to your desktop and create another text document. No need to rename it.
open it and copy-paste these lines:
start /min C:\Mirror\scrcpy.bat


Now, just like before, click on File and then hit Save As...
A pop-up window will open up.
Here you need to change the type of document again to "All Files" and name your file "Mirror.bat" and hit Save.


Now once your screen has been mirrored, you can use any free application to record or stream your screen.

No comments:

Post a Comment

Popular Posts