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

Support ffmpeg stopping #20

Closed
kokorin opened this issue Jun 15, 2018 · 1 comment
Closed

Support ffmpeg stopping #20

kokorin opened this issue Jun 15, 2018 · 1 comment

Comments

@kokorin
Copy link
Owner

kokorin commented Jun 15, 2018

Currently it's only possible to stop ffmpeg by throwing an exception in ProgressListener.

@unix-junkie
Copy link

unix-junkie commented Oct 5, 2018

Would be particularly useful for screen grabbing purposes (x11grab and friends).

Additionally, an attempt to interrupt the thread which is running ffmpeg (this was my educated guess while trying to stop ffmpeg) merely results in

java.lang.InterruptedException: sleep interrupted
	at java.lang.Thread.sleep(Native Method)
	at com.github.kokorin.jaffree.process.ProcessHandler.execute(ProcessHandler.java:151)
	at com.github.kokorin.jaffree.ffmpeg.FFmpeg.execute(FFmpeg.java:138)

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