bmdtools icon indicating copy to clipboard operation
bmdtools copied to clipboard

Capture jpg every x seconds to prevent freeze (bmdplay)

Open dv9 opened this issue 7 years ago • 5 comments

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

dv9 avatar Jan 16 '17 18:01 dv9

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

lu-zero avatar Jan 16 '17 19:01 lu-zero

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

dv9 avatar Jan 16 '17 19:01 dv9

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

lu-zero avatar Jan 16 '17 19:01 lu-zero

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 avatar Jan 25 '17 10:01 dv9

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!

dv9 avatar Feb 05 '17 01:02 dv9