lelandg / Raspberry-Pi-Security-Camera

This project requires custom hardware. Schematics are included as a Fritzing file. Uses ePIR to detect motion. Emails a list of people when detected. Also is a Linphone server, so you can simultaneously connect to the camera for a live picture! (Right now is one-way on the Pi.)
MIT License
25 stars 5 forks source link

Video size! #25

Open toshibochan opened 8 years ago

toshibochan commented 8 years ago

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

Thanks for make great thinks!

lelandg commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

lelandg commented 8 years ago

TODO: Implement using VIDEOPHONE_RESOLUTION_BY_NAME to configure video call resolution.