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

Graphics programming • Re: (M)JPEG Decoding through v4l2 API

$
0
0
I, also, want to use the V4l2 API to decode MJPEG (received from a USB Webcam).

I'm using a Raspberry-Pi5, running the latest Bookworm (64bit Lite). But, the /dev/video10 device is not available. According to lsmod the v4l2-mem2mem driver is loaded, but the device files don't show up.

I've been googling all over the place, but I can't find anything that addresses this problem. Any clues would be greatly appreciated
# lsmod | grep v4l2
v4l2_mem2mem 65536 1 rpi_hevc_dec
videobuf2_v4l2 49152 4 pisp_be,rpi_hevc_dec,uvcvideo,v4l2_mem2mem
videodev 344064 6 pisp_be,rpi_hevc_dec,videobuf2_v4l2,uvcvideo,v4l2_mem2mem
videobuf2_common 98304 8 videobuf2_vmalloc,pisp_be,rpi_hevc_dec,videobuf2_dma_contig,videobuf2_v4l2,uvcvideo,v4l2_mem2mem,videobuf2_memops
mc 81920 8 videodev,snd_usb_audio,pisp_be,rpi_hevc_dec,videobuf2_v4l2,uvcvideo,videobuf2_common,v4l2_mem2mem>
# v4l2-ctl --list-devices
pispbe (platform:1000880000.pisp_be):
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/video24
/dev/video25
/dev/video26
/dev/video27
/dev/video28
/dev/video29
/dev/video30
/dev/video31
/dev/video32
/dev/video33
/dev/video34
/dev/video35
/dev/media0
/dev/media1

rpi-hevc-dec (platform:rpi-hevc-dec):
/dev/video19
/dev/media2

OBSBOT Tiny SE: OBSBOT Tiny SE (usb-xhci-hcd.0-1):
/dev/video0
/dev/video1
/dev/media3

Statistics: Posted by DanTappan — Mon Aug 18, 2025 3:52 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles