Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live video streaming using Camera component. #61

Open
IgorWolkov opened this issue Oct 29, 2023 · 2 comments
Open

Live video streaming using Camera component. #61

IgorWolkov opened this issue Oct 29, 2023 · 2 comments

Comments

@IgorWolkov
Copy link

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.

@DieterHolz
Copy link
Collaborator

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 ;-)

@IgorWolkov
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants