Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5997

Camera board • Re: Not enough buffers for FFMPEG

$
0
0
I have a similar issue to you.
I'm running a raspberry Pi 5 bookworm 12 with the RPi HQ camera.

If I use the command

Code:

ffmpeg -f v4l2 -i /dev/video0
then I get the following:

Code:

[video4linux2,v4l2 @ 0x5556020b1a20] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device[video4linux2,v4l2 @ 0x5556020b1a20] Time per frame unknown[video4linux2,v4l2 @ 0x5556020b1a20] ioctl(VIDIOC_STREAMON): Invalid argument/dev/video0: Invalid argument
The Pi cameras are not simple V4L2 devices, which is why libcamera exists.
You can try "libcamerify ffmpeg -f v4l2 -i /dev/video0" to use the libcamera V4L2 compatibility layer, look at piping the output from one of the rpicam apps into ffmpeg, or the rpicam apps also have integration with libav (the backend to ffmpeg) anyway. It all depends on what you're trying to do with the images.

Statistics: Posted by 6by9 — Wed Mar 20, 2024 8:22 am



Viewing all articles
Browse latest Browse all 5997

Latest Images

Trending Articles



Latest Images