Hi folks,
While experimenting with my outdoor camera's, I needed a node to encode and decode the jpeg images arriving from my MJPEG camera streams.
Therefore I have now implemented the node-red-contrib-libjpeg-turbo node
Version 1.0.1 is now available in the palette.
In the following demo you can see - althought it is pretty dark at the moment in Europe - the node being used for both decoding and afterwards encoding of an mjpeg stream of 15 images per second (arriving via my multipart-stream-decoder node) on my poor Raspberry Pi 4:
Of course this is a pure theoretical demo, but it shows a bit of how it can be used...
Note that there will be quite a lot of CPU consumption involved, even though this node is based on the highly optimized libjpeg-turbo/ C library...
Have fun with it!!
Bart