Open IgorWolkov opened 1 year ago
The current setup just wraps the command line tools 'libcamera-vid' and uses the basic functionality to save a picture or video to a file.
But you can easily exploit all the other features of libcamera-vid.
As explained here https://github.com/blakeblackshear/frigate/discussions/3097 you can use it (in combination with ffmpeg) to stream a video via udp.
I'm looking forward to merging your pull request ;-)
The current setup just wraps the command line tools 'libcamera-vid' and uses the basic functionality to save a picture or video to a file.
But you can easily exploit all the other features of libcamera-vid.
As explained here blakeblackshear/frigate#3097 you can use it (in combination with ffmpeg) to stream a video via udp.
I'm looking forward to merging your pull request ;-)
@DieterHolz, thank you.
Looks like some magic is done in picamera2
. I'll check if they call low level c/c++ libs. If so then it could be ported to Java without big effort.
What is the best setup (if it possible with Camera component) to stream live video over http (websockets)? It looks like the current approach in the example just saves the file. Thank you.