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

Command to Capture Pre-Trigger (buffering) Video #610

Open
Coppertop12 opened this issue Apr 12, 2021 · 4 comments
Open

Command to Capture Pre-Trigger (buffering) Video #610

Coppertop12 opened this issue Apr 12, 2021 · 4 comments
Labels
question Discussion about functionality stale streams Related to streams (media-stream-library-js package)

Comments

@Coppertop12
Copy link

Hello,

I am trying to modify a custom program to include buffered video from before an event trigger. I know this is possible because the event trigger on an axis camera can record before an event, however I am not sure what command or structure to use.

I cannot provide example code without permission from the original author, working on that to include in my question.

@Coppertop12 Coppertop12 added the question Discussion about functionality label Apr 12, 2021
@rikteg
Copy link
Collaborator

rikteg commented Apr 13, 2021

Hi
As far as I am aware, it is not possible to request a stream using that mechanic. That buffer is only internal in the cameras. Or at least I have never heard of anyone doing this by only using the api's.
You could try to just read the documentation, https://www.axis.com/vapix-library/. If there is something you could use, it should be documented there, probably under "Network video > Video streaming"

@Coppertop12
Copy link
Author

Thanks for the comment! Definitely pointing me in the right direction. That page is a wealth of information. I am currently seeking answers to all my questions there. Current questions:

Taking a very new tack here. Any ideas on how to trigger a virtual input (using a batch file right now) Without opening a chrome/explorer window?

Command: http:///axis-cgi/virtualinput/activate.cgi?=&=

I have tried several -commands for chrome to run minimized, but I think it is not logging into the administrative level of the camera as is necessary to trigger the virtual input.

Or, if there is a simple command I can run from a script to trigger the input using AxAXISMEDIACONTROLLib that would be great.

@rikteg
Copy link
Collaborator

rikteg commented Apr 16, 2021

You could have a look at curl: http://curl.haxx.se. That is a very versatile command-line tool for working with requests

@lekoaf lekoaf added the streams Related to streams (media-stream-library-js package) label Jan 25, 2023
@github-actions
Copy link

This issue is stale because it has been open for 90 days with no activity.

@github-actions github-actions bot added the stale label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Discussion about functionality stale streams Related to streams (media-stream-library-js package)
Projects
None yet
Development

No branches or pull requests

3 participants