Code: Select all
/opt/vc/bin/raspivid -o vid.h264 -w 640 -h 480 -t 2000 --roi 0.5,0.0,1.0,1.0
PD: I don't understand how the parameter it's supposed to work. 0.5,0.0,1.0,1.0 from my understanding should be the same as 0.5,0.0,0.5,0.5 if we want to maintain the aspect ratio, that is, the upper right corner.