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

Is it possible to pipe ffmpeg in? #28

Open
Qwertie- opened this issue Dec 4, 2020 · 1 comment
Open

Is it possible to pipe ffmpeg in? #28

Qwertie- opened this issue Dec 4, 2020 · 1 comment

Comments

@Qwertie-
Copy link

Qwertie- commented Dec 4, 2020

The readme instructions involve dumping all frames on to the hard drive before running the tool over them. With other tools I have seen its possible to have ffmpeg piped in so the frames do not have to be stored which is pretty useful since they can easily take up hundreds of GB. Is there a way to do that here?

@takase1121
Copy link

@Qwertie- I have an idea, but it may or may not work - instead of extracting all frames at once, maybe you can try extracting certain frames within a range, let's say 1 second. Run that through dain-ncnn-vulkan, save the output into a video somehow, and then concatenate multiple video clips into your real output. With the same parameters for each of your clips, it should be doable to just concatenate the video without re-encoding. If your video has audio, I guess it will be major pain to re-sync it, but I never worked with that before so I might be wrong.

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

No branches or pull requests

2 participants