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

Capture jpg every x seconds to prevent freeze (bmdplay) #83

Open
dv9 opened this issue Jan 16, 2017 · 5 comments
Open

Capture jpg every x seconds to prevent freeze (bmdplay) #83

dv9 opened this issue Jan 16, 2017 · 5 comments

Comments

@dv9
Copy link

dv9 commented Jan 16, 2017

Hi, i need capture the output from a decklink mini monitor to know if the image is freeze and restart avconv or bmdplay. Im using this in a 24/7 service and need get the picture (jpg, bmp, png) of the output every x seconds to compare and take an action.
That is posible? I dont know so much from C, but im java and objective C programmer.

Device: Decklink Mini Monitor
Program: avconv whit bmdplay

Best regards

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41016418-capture-jpg-every-x-seconds-to-prevent-freeze-bmdplay?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github).
@lu-zero
Copy link
Owner

lu-zero commented Jan 16, 2017

You can use the image2 output format and the select filter to get the result you'd like.

@dv9
Copy link
Author

dv9 commented Jan 16, 2017

Is a great idea, have you an example that how send 2 outputs with avconv? one to a bmdplay and other to a jpg image?

And another question when the audio and video freeze happen, can avconv send a good signal and bmdplay has the freeze? Is posible the freeze in bmdplay program?

Thanks in advance lu-zero

You make a great work with this tools

@lu-zero
Copy link
Owner

lu-zero commented Jan 16, 2017

I'm not sure what you mean with freeze:

avconv can have multiple inputs and output (more on it in the documentation I linked, I'm going to sleep soon so sorry if I'm terse for now):

avconv -i input -f something theoutput other parameters for the next output -f something otheroutput

@dv9
Copy link
Author

dv9 commented Jan 25, 2017

Hi!, I call it when the image freezes and remains still without audio ... is there any log that can be put to the bmdplay program to detect any problem that the image remains still in the output?

@dv9
Copy link
Author

dv9 commented Feb 5, 2017

Hi lu-zero, Already solved the problem by taking a captured signal and comparing it to see if it was frozen, thank you, it will be pending to see if at some point you can take the capture from the sdi output of the black magic board, also not relevant for now, A greeting, thank you!

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