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

Can I save camera input to video files? #76

Open
laoniu2020 opened this issue Apr 3, 2018 · 2 comments
Open

Can I save camera input to video files? #76

laoniu2020 opened this issue Apr 3, 2018 · 2 comments

Comments

@laoniu2020
Copy link

Can I save camera input to video files?

@xmedeko
Copy link
Collaborator

xmedeko commented Apr 3, 2018

No, it's not possible easily. You can save a screenshot, see the Wiki Basic Examples. So you can save a sequence of JPEG images, aka MPEG video (not optimal format, though). E.g. see this SO thread.

Maybe you can go to the DirectX level to make better solution, but I am weak in the DirectX stuff, so cannot make you better advice, just use Google. E.g. see File Writer Filter, or this blog and you find others.

@jluisestrada
Copy link

Yes, it is possible if you modify the code (specially the directshow graph) and insert the GMF Filter http://www.gdcl.co.uk/gmfbridge/ so you can save to a file in parallel without skipping frames. I should have a sample somewhere. Let me upload it

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

3 participants