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

Web streaming along with video capture #16

Open
gabeale opened this issue Sep 2, 2021 · 11 comments
Open

Web streaming along with video capture #16

gabeale opened this issue Sep 2, 2021 · 11 comments
Labels
question Further information is requested

Comments

@gabeale
Copy link

gabeale commented Sep 2, 2021

Dear Esser,
thank you very much for the example you have provided (30cf7bf). I'm very happy to say that I got it working inside a container!
Now I'm trying to add the video recording feature using the "trigger_video_capture.py" example.
At the moment I'm not understanding a couple of things as follows:

  1. json_config file is not available in the container: shall I add it?
  2. If so, can I take the example configuration?
  3. "stream_id" in python is set to "stream1" but i don't see if it is recalled somewhere else in the code.
  4. shall I add one instance to picameleon or it is sufficient to concatenate the web_streaming.py with trigger_video_capture.py codes?

thx in advance for your support.
cheers

@gabeale
Copy link
Author

gabeale commented Sep 2, 2021

I have tried to assign the "question" label to this issue without success. Maybe it is reserved to the repository owner.
thx

@Esser50K Esser50K added the question Further information is requested label Sep 3, 2021
@gabeale
Copy link
Author

gabeale commented Sep 8, 2021

Dear Esser,
Any news so far?
Thx!

@Esser50K
Copy link
Owner

Sorry for the late reply.
Yeah the config setup is not too great in this project, will probably do some changes.
Yes you can add the json yourself, you can even write it yourself and build the container again. just make sure you set the correct $CONFIG_FILE env variable to point to the right location.
The streamID thing is a mistake I think 🤔

The you can pretty much just add the trigger code to yours. You can check the configuration in the example, when you trigger it it will only record X amount of seconds that you configured there.
Also the video will stay in the container unless you bind a folder from the host to the destination directory

@gabeale
Copy link
Author

gabeale commented Sep 16, 2021

Thanks for suggestions.

Is it possible to have the full example for the combination of web streaming and video capture?

Moreover, are API available for Picameleon?

@Esser50K
Copy link
Owner

but I don't know what you want to record, so I cannot give you an example there.. it is as simple as calling the trigger with the example code and config. You just call when you want

I don't know what you mean with the last question

@gabeale
Copy link
Author

gabeale commented Sep 18, 2021

Thanks for the reply.
I mean the rest API (application programming interface),
Ciao

@gabeale
Copy link
Author

gabeale commented Sep 23, 2021

Dear Esser,
your project is cool and I'm vary interested to it. Unfortunately I'm not able to use it as you have thought, are you available for a call (by discord, teams, Skype or whatever)?
Have a good day!
Cheers

@Esser50K
Copy link
Owner

Esser50K commented Oct 8, 2021

just explain the use case please. I think it is pefectly possible to use it as you intend. PiCameleon is just a way to control the raspberry pi camera remotely

@gabeale
Copy link
Author

gabeale commented Oct 8, 2021

need to web stream continuously and simultaneously copying the circular buffer to a file (e.g. h264 format) every time is requested by an external trigger

@Esser50K
Copy link
Owner

you can do this with the 'record_to_file' thing but the files stay on the raspberrypi. You'll have to configure where you save them and maybe find a way to download them

@gabeale
Copy link
Author

gabeale commented Oct 11, 2021

Thanks Esser but It doesn't work.

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

No branches or pull requests

2 participants