Genymobile / Genymobile/scrcpy
Feature needed: Dynamic video crop
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.8k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem? Please describe.
I offen watch phone video and operate phone on my laptop, but when i watch video, the black borders on both sides of the video are too big , because most video is 16:9 ratio, but my phone screen is 19:9 ratio, so when i watch video, i will crop video to 640x360 (16:9), when i operate phone, i will use its original ratio 19:9. I do use AHK script finished this feature automaticly according the phone screen mode (landscape or portrait), it works ok , but not perfectly, becaure there is a 3~4 second interruption during this mode change (because scrcpy can't do a dynamic corp, so ,when changing screen mode ,i have to close scrcpy process and restart it).
Describe the solution you'd like
I think scrcpy can do a crop on PC side, not really crop video, just display the area needed and hide the area not needed.
Describe alternatives you've considered
Additional context
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name files, tests, or an entry point. Start by locating scrcpy’s PC-side display path and reviewing how it handles landscape and portrait changes. Done means the displayed area can change between the requested crop and the original ratio without restarting scrcpy or causing the reported interruption.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, c
- Domain
- desktop-dev, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100