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

Advanced users • Did raspicam's /dev/video0 just lose MJPEG format?

$
0
0
Hello everyone,

we use Raspberry Pi for teaching operating system fundamentals, and one of the first thing that we show to students is unix's "everything is a file" paradigm. In that sense students were using (for years) the trick to

Code:

dd if=/dev/video0 of=image.jpg bs=4M count=1
to capture JPEG image from the

Code:

/dev/video0
device which corresponded to raspberry Pi camera (technically, it was a sequence of MJPG frames, but most jpeg viewers were fine with it, showing the first one). Suddenly this does not work anymore and

Code:

 v42l-ctl -D /dev/video0 --list-formats
does not even suggest that MJPG format or h.264 are supported.

What happened and when?

Note: I am not seeking for ways to capture JPEG from raspicam, thanks. I am asking this here, because internet is awash with suggestions to use ffmpeg, etc... I am asking if there is possibility to capture JPEG (or h264) directly from /dev/video0 anymore. I remember that this DID work for years.

Janez.

Statistics: Posted by jpers — Mon Mar 25, 2024 6:11 pm



Viewing all articles
Browse latest Browse all 5044

Trending Articles