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

Generate video #49

Closed
rustam-aitbekov opened this issue May 2, 2023 · 3 comments
Closed

Generate video #49

rustam-aitbekov opened this issue May 2, 2023 · 3 comments
Labels
question Further information is requested

Comments

@rustam-aitbekov
Copy link

Hi!

Is there way to save captured frames as video?
I didn't find anything related to this topic.
Maybe FlashCap has native tools to do that?

For now, I'm saving frames as .jpg files then compiling them into video through FFmpeg.

@yangjieshao
Copy link

Hi!

Is there way to save captured frames as video? I didn't find anything related to this topic. Maybe FlashCap has native tools to do that?

For now, I'm saving frames as .jpg files then compiling them into video through FFmpeg.

https://github.com/secile/OpenH264Lib.NET

you can try this

@kekyo kekyo added the question Further information is requested label May 3, 2023
@kekyo
Copy link
Owner

kekyo commented May 3, 2023

Thank you for using FlashCap!

Yes, FlashCap does not have the ability to output to video format streams (such as mp4 and others) built in. Output to a video stream is a fairly large topic, so I do not believe that it is out of scope to include it into FlashCap.

Since FlashCap can retrieve image data for each frame, it would be possible to further combine this with an external library to encode to a video stream. I have not tried OpenH264Lib.NET, but from a quick read through, it looks easy to implement and is a good option (although real-time may be tough...)

@rustam-aitbekov
Copy link
Author

Thank you for reply and for the lib you have created.
Yes it seems OpenH264Lib.NET suitable to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants