Best Intel NUC or another small computer for decoding mjpeg ... #20375
Replies: 2 comments 1 reply
-
For MJPEG cameras with Frigate, the Beelink EQ13 with an N100 CPU is the current recommended choice due to its efficient N100 CPU and dual NICs(1). The N100 provides good performance for video decoding while being power efficient(1). You're correct that MJPEG cameras require significantly more CPU resources. MJPEG cameras require encoding the video into h264 for recording and restream roles, which uses significantly more CPU than if cameras supported h264 feeds directly(2). The documentation recommends using the restream role to create an h264 restream and then use that as the source for ffmpeg(2): go2rtc:
streams:
mjpeg_cam: "ffmpeg:http://your_mjpeg_stream_url#video=h264#hardware"
cameras:
mjpeg_cam:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/mjpeg_cam
roles:
- detect
- record For hardware acceleration with Intel integrated graphics, use the ffmpeg:
hwaccel_args: preset-vaapi The hwaccel presets give Frigate hints about available hardware and allow optimizations using the GPU for encoding the birdseye restream or scaling streams(3). Modern CPUs with integrated GPUs (Intel Quick Sync, AMD VCN) can significantly offload video decoding from the main CPU(4). For your specific use case with MJPEG cameras, Intel processors with Quick Sync Video support would be ideal for hardware-accelerated transcoding from MJPEG to H264. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
You likely have something wrong. Decoding mjpeg is much simpler than h264. Your cpu usage is probably the encoding part, which is needed for recordings. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !
What Intel or AMD cpu with integrated GPU should I choose to get the best performance of decoding mjpeg streaming... Two cameras on mjpeg takes more CPU then six H264 ....
Thanks in advance ...
//Stefan
Beta Was this translation helpful? Give feedback.
All reactions