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

Video size! #25

Open
toshibochan opened this issue Apr 5, 2016 · 4 comments
Open

Video size! #25

toshibochan opened this issue Apr 5, 2016 · 4 comments
Assignees

Comments

@toshibochan
Copy link

Request :-) You can add to change the size off video on linphone.

Thanks for make great thinks!

@lelandg
Copy link
Owner

lelandg commented Apr 6, 2016

Partially implemented, but only for saved images and videos. But this is a good idea! Thanks again! :) I will look into it and let you know.

For now, if you look in the source code (security_camera.py) at lines 72-72 (or thereabouts--this number is from the current dev version of the script, on my machine) you will see two constants, RESOLUTION and VIDEORESOLUTION. They allow you to set the output resolution for the pictures captured, and the video of what is recorded.

I understand you want it for the videophone features. So looking into it. ;)

@lelandg lelandg self-assigned this Apr 6, 2016
@lelandg
Copy link
Owner

lelandg commented Apr 6, 2016

FYI, I believe this is possible. However, we can only set the size of the outgoing video. In this case, we don't care. (Until I support video on a TFT screen, which I'd love to get working! But that's a long ways down the road, I'm afraid.)

@lelandg
Copy link
Owner

lelandg commented Apr 14, 2016

I think I have this working, it should be in the next commit. (Possibly today, but soon for sure.)

@lelandg
Copy link
Owner

lelandg commented Apr 17, 2016

TODO: Implement using VIDEOPHONE_RESOLUTION_BY_NAME to configure video call resolution.

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

No branches or pull requests

2 participants