Skip to content
Discussion options

You must be logged in to vote

@suurj - the code snippet will terminate the FFmpeg process if it's not dead when Python process exits the context. If FFmpeg process has not been terminated (i.e., all frames were read) it calls Popen.kill() on the FFmpeg process. If it is not behaving as such, I need to investigate into in (need more info).

You can inspect how the stream closes here:

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@suurj
Comment options

@tikuma-lsuhsc
Comment options

Answer selected by suurj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants