I am using Raspberry pi 4B's v3 camera to record teacher's teaching in classroom. I am using following two command to record h264 images and wav voice:

libcamera-vid -t 7200000 -o picture.h264
arecord -d 7200 -D hw:0,0 -f S32_LE -r 16000 -c 2 voice.wav

After that, I merge them into mp4 file by ffmpeg command:

ffmpeg -i picture.h264 -i voice.wav -c:v copy -c:a aac -strict experimental teacher.mp4

I made the screen shot of the video it looks like below:

enter image description here

How to make the whiteboard in the picture to occupy whole screen by autofocus-window and lens-position parameters?

  • does the lens have a zoom function?
    – jsotola
    Commented Sep 5, 2023 at 15:50
  • I am using Rasberry Pi Camera Module 3. I do not know the camera has zoom or not. I suppose it has. Since starting from v3, it shall zoom out and zoom in. And this is the reason we select v3, not v2.
    – user84592
    Commented Sep 6, 2023 at 14:59


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.