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

Recommendation: Release this to work with video file input and output #43

Open
richardpickett opened this issue Feb 11, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@richardpickett
Copy link

It'd be nice to feed an already-recorded video through this to remove the background.

@BenBE BenBE added the enhancement New feature or request label Feb 11, 2021
@BenBE
Copy link
Collaborator

BenBE commented Feb 11, 2021

While the current code structure is quite fixed on reading the video stream from the V4L video device it shouldn't be too hard, implementing a different processing mode for the input/output, once Something like #38 and #41 are implemented (amongst some other code structure changes).

@phlash
Copy link
Collaborator

phlash commented Feb 12, 2021

This is a similar need to the one I had for animated backgrounds, the separated input module I have (https://github.com/phlash/deepbacksub/blob/65c7f4a8f0f5ddd1cfc6305fef825690fc1a1931/capture.cc#L59) allows local files to be used as source material for either input stream. This supports @BenBE's statement that it's not too hard, and for me points towards doing one thing well (segmentation and mask generation), with other features (background substitution, offline processing, etc.) perhaps delegated to existing machinery (eg: ffmpeg, obs)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants