I'm really interested in streaming video with digital zoom ability. I digged in RaspiVid code and some mmal code.
There are some options brought out in RaspiVid.c
Code: Select all
format->es->video.crop.x = 0; format->es->video.crop.y = 0; format->es->video.crop.width = state->width; format->es->video.crop.height = state->height;
The objective is to have full 2592x1944 video as input, specify cropping area and crop it to 640x400 before encoder stage on order not to lose in performance.
Is there any reasonable options to perform video crop?
Thanks in advance,