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

Kill ffmpeg process when outputs stream closes #77

Merged
merged 2 commits into from
Oct 4, 2012

Conversation

cjbest
Copy link
Contributor

@cjbest cjbest commented Oct 4, 2012

Notice if you use the express-stream sample & you kill the stream part way (say, close the browser tab mid video) the ffmpeg process keeps running until its done, or the timeout is hit.

This change proactively kills the ffmpeg proc when the output stream fires "close".

cjbest added 2 commits October 3, 2012 19:16
This is handy for cases like streaming through express, where the process might go on for a long time and the output connection can be killed.
schaermu added a commit that referenced this pull request Oct 4, 2012
Kill ffmpeg process when outputs stream closes
@schaermu schaermu merged commit a59f23f into fluent-ffmpeg:master Oct 4, 2012
@schaermu
Copy link
Contributor

schaermu commented Oct 4, 2012

Good stuff, thanks!

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

Successfully merging this pull request may close these issues.

2 participants