Skip to content
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

shortcut to save the current frame as JPG/PNG #765

Closed
dedosmedia opened this issue Aug 29, 2019 · 6 comments
Closed

shortcut to save the current frame as JPG/PNG #765

dedosmedia opened this issue Aug 29, 2019 · 6 comments

Comments

@dedosmedia
Copy link
Contributor

It would be nice to have a shortcut to save the current frame as a JPG/PNG on local computer.
Is it possible?

@srevinsaju
Copy link

+1

@rom1v
Copy link
Collaborator

rom1v commented Aug 29, 2019

Duplicate of #684

@rom1v rom1v marked this as a duplicate of #684 Aug 29, 2019
@rom1v rom1v closed this as completed Aug 29, 2019
@dedosmedia
Copy link
Contributor Author

I know there exists adb exec-out screencap -p > file.png

But I am starting scrcpy with --crop option, and I need just to save exactly what I watching in scrcpy window... screencap will save the entire screen.

@rom1v
Copy link
Collaborator

rom1v commented Aug 29, 2019

I need just to save exactly what I watching in scrcpy window

If you save what you are watching directly (a frame from the video stream), you'll get a compressed frame (with artifacts from H.264). On the other hand, it would be instantaneous and would really capture the current visible frame. (As a workaround, currently, you could record the video and extract screenshots afterwards, e.g. with VLC, but it's not as convenient.)

Another possibility is to request a lossless screenshot on the device (possibly cropped). But it seems there is no acceptable technical solution for now (#684).

@dedosmedia
Copy link
Contributor Author

Thanks so much... I understand.
Thanks so much for your time and effort! What a great tool.

@ghost
Copy link

ghost commented May 17, 2021

Can you help me to solve this? I'd be grateful for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants