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

Dynamically determine smartwatch resolution for videos #27

Closed
rock3r opened this issue May 2, 2015 · 1 comment
Closed

Dynamically determine smartwatch resolution for videos #27

rock3r opened this issue May 2, 2015 · 1 comment

Comments

@rock3r
Copy link

rock3r commented May 2, 2015

I was reading the code of postprocessmovieforserial.sh and I've noticed that you're currently using an hardcoded resolution for the videos. I know the reason is that watches record raw streams instead of mp4s, but I was wondering if we could be a bit creative and sidestep the issue. We could get the resolution from some other source. One idea would be to look for that info in dumpsys output (see [here}(https://github.com/dtmilano/AndroidViewClient/issues/41), for example, or we could directly parse that out of dumpsys SurfaceFlinger output), or if that doesn't work, go on a hackier solution, which would be to grab a screenshot and see its dimensions, which will match the video.

Thoughts?

@mortenjust
Copy link
Owner

yes, thanks for pointing this out. In a recent commit I added screen resolution detection for both watches and phones

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

2 participants