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

Pause / Resume for Bmdplay #98

Open
advera68 opened this issue Apr 12, 2018 · 3 comments
Open

Pause / Resume for Bmdplay #98

advera68 opened this issue Apr 12, 2018 · 3 comments

Comments

@advera68
Copy link

advera68 commented Apr 12, 2018

Dear Luca,

I have been using bmdplay / bmdcapture in Ubuntu environment with an excellent result so far. Thank you very much for these tools.

Recently I needed to Pause / Resume bmdplay. I tried to do it sending SIGSTOP (as pause) and SIGCONT (as resume) to bmdplay process but it didn't work very well. It seems to work if time elapsed between pause and resume is lees than bmdplay prebuffering (one or two seconds) but doesn't work for more time.

I also tried sending the same signals to "avconv" or "ffmpeg" which are the commands that pipe out to bmdplay but the result is much the same.

When SIGSTOP or SIGCONT is sent avconv or ffmpeg behave properly as can be observed looking their messages, meanwhile when bmdplay stops, the image frozes in SDI video monitor but when bmdplay resumes, video remains frozen and however audio returns to play correctly.

Could you tell me how to perform a Pause / Resume Bmdplay operation ?

Thanks.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@advera68
Copy link
Author

Hi Luca,

I have just noticed in Blackmagic_DeckLink_SDK_10.9.11/Linux/include/DeckLinkAPI*.h files exist sentences with "PauseStreams" words.

Do you think this may have something to do with Pause / Resume operation that I am looking for ?

@lu-zero
Copy link
Owner

lu-zero commented Apr 26, 2018

Pause/Resume using signals is not currently supported and actually was never tested.

Probably would be possible to add a pause-on-signal feature to bmdplay, but it would require some additional thinking.

@advera68
Copy link
Author

OK, is there any way to pause / resume without using signals ?

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

No branches or pull requests

2 participants