I want to connect at least one webcamera to RPi3 and record smooth 1080p 30fps video. RPi camera is capable of that even on RPi Zero. But everything I tried on RPi 3 gives maximum 8 fps on 720p. Is there way to achieve same performance as with original RP camera? Heres is the command I use for recording - ffmpeg -f alsa -i plughw:CARD=HD3000,DEV=0 -f v4l2 -framerate 25 -video_size 1280x720 -input_format mjpeg -i /dev/video0 -preset faster -pix_fmt yuv420p /dev/shm/out.mkv. As I understand OpenCV is out of question - it is even slower. How could I achieve better performace with webcamera? Is RPi camera somehow special so it gives better performace?

  • Well, the Raspberry Pi camera uses a special slot that connects directly to the GPU on the Pi. (I think) The bottleneck of a USB camera would probably be the USB 2 bus speed. If you have an RPi 4 and a USB 3 webcam, that might be better. – Unsigned_Arduino Oct 15 '20 at 22:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.