-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Screenshot/Record Screen #21
Comments
As a workaround for now: Screenshots: Works on every application: ... or use the Windows Snipping tool. Video recoring: |
Or: Screenshot:
Video recording:
|
I think it is best to leave this kind of feature to other program. |
Just to give a bit more details. The server streams to the client a raw H.264 video stream. This stream does not contain any time information (no timestamps), which is not a problem because it's live. But for recording, we would need to mux the raw stream into a container, with timestamps (especially with a variable-framerate stream). Ideally, the timestamps would be provided by the server (to be accurate), but this would mean an additional layer to mux on the server + demux on the client, which involves copies, and could increase the lag a bit Alternatively, the client might mux the stream adding the timestamps according to the date it receives the frames. It could work, but would probably require some dependencies. I'm not sure it's worth it, since |
adb shell screenrecord /sdcard/file.mp4 does only for 180 seconds. I would like to record more than 1 hr. Any idea how can we use scrcpy to get this recording? |
@shahtapan Just use OBS Studio and capture the window. |
@shahtapan Some work have been done to support recording in scrcpy, so hopefully it will be supported in a future version: #292. |
Does the OBS Studio solution record the audio outputting from the device? If not then I think if this feature needs to be implemented into the strcpy with consideration to implement audio recording too 😄 |
It would be great! I'm trying to use QuickTime player, but it is quite hassling to start, select area, be quick to remove mouse pointer, and don't forget to stop recording without passing mouse pointer through the recorded area. |
This is implemented in v1.5:
🎉 |
@rom1v and screenshot? |
|
Thanks:smiley: |
And do you know how to stop screen recording? |
Screen recording works great, but |
@wchargin Capturing a lossless frame is a totally different process on the server-side. And it would take several seconds.
For now, Android 12 removed this possibility for screen recording too: #2129. |
Hey. I use It create an png like Screenshot_20210815_202000.png in the scrcpy.exe folder. |
"adb exec-out" not work in Windows. How to do? |
Screenshot using scrcpy could be useful in cases where you want to bypass screenshot protection of some apps. The "adb exec-out" command does not work in such cases |
Having a keyboard command to take a screenshot and one to start/stop recording the screen into a video would be an extremely useful feature for scrcpy.
scrcpy seems to already be using ffmpeg on the computer side, so saving the input stream to a file/screenshotting the input stream should be very do-able.
The text was updated successfully, but these errors were encountered: