3 ms·
Ah, yes, I do agree on the quality – it certainly can't compete in any way with high-quality software or dedicated encoders. But arguably it doesn't have to; m
by lxgr 3y ago
Ah, yes, I do agree on the quality – it certainly can't compete in any way with high-quality software or dedicated encoders.
But arguably it doesn't have to; many real-time applications (e.g. surveillance cameras) have local bandwidth to spare and/or don't care too highly about quality, and compatibility with older viewing devices without re-encoding is a priority.
- franga2000 3y agoIf compatibility is a priority and bandwidth isn't an issue, MJPEG is still the way to go and is by far the most common encoding I see in security cameras.
- _flux 3y agoOn the other hand you could get cool stuff from the video encoding hardware, such as access to motion vectors on the cheap: https://github.com/osmaa/pinymotion https://github.com/osmaa/pinymotion I wonder though if the OpenGL ES3.1 compute could be used for this purpose on it.
- franga2000 3y agoOh wow, this is such a great hack!
- ilyt 3y ago[dead]
- garaetjjte 3y agoI think nobody used MJPEG in last 15 years.
- lxgr 3y agoWell, GP just shared that it's still widely used within security cameras? It's also the only compressed format supported by many popular webcams, e.g. Logitech's C900 series ever since they removed H.264. Digital cinema projectors apparently also use it (well, the JPEG2000 variant) exclusively since MPEG-2 was deprecated: https://en.wikipedia.org/wiki/Digital_Cinema_Package https://en.wikipedia.org/wiki/Digital_Cinema_Package
- its-summertime 3y agoIf bandwidth ain't much of an issue, can just dump frames to a separate device for encoding, aside, Can't imagine someone using a pi 5 just for camera usage (aside from projects needing cameras)
- InsomniacL 3y agoI was hoping to use RPI5 as an NVR with image detection for Home Automation. The Frigate add-on with Home Assistant can publish events based on image detection for automations and supports RPI3 / RPI4 hardware acceleration. https://docs.frigate.video/configuration/hardware_acceleration/ https://docs.frigate.video/configuration/hardware_accelerati...
- lxgr 3y agoMaybe not only for cameras, but also for cameras. And when doing other things simultaneously, a video encoder not hogging all processing power becomes even more important.