oguime wrote: ↑
Sat Oct 13, 2018 4:24 pm
6by9 wrote: ↑
Sat Oct 13, 2018 4:16 pm
You're still software decoding mjpeg on the cpu. I can't recall if the mmal_dec codec can do mjpeg or not, which should be hardware accelerated for decode.
What resolution are you getting from your ip camera?
640 x 480
VGA should be no hassle software decoding on anything other that a Pi Zero or 1.
I've checked and the MMAL decoder plugin doesn't support mjpeg. It's just possible that ffmpeg is having to do a software format conversion which would have a performance hit, but overall it should work quite happily.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.