You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
Is your feature request related to a problem? Please describe.
The program could be faster by outputting the frames directly to ffmpeg, via a pipe, instead of saving PNG files and then reading them again. In my machine, doing this got me a 4x speedup for a 640x800 video.
I already modified video_to_slowmo.py to achieve this. Would you like me to open a pull request? I can do that maybe tomorrow.
Describe the solution you'd like
Use ffmpeg-python in the video_to_slowmo.py script to save the output video in one go, instead of saving PNG images. Specifically, something like
I have ffmpeg in my PATH, so by default that's what's used, but it can probably be modified to use the --ffmpeg_dir argument that video_to_slowmo already uses.
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is your feature request related to a problem? Please describe.
The program could be faster by outputting the frames directly to ffmpeg, via a pipe, instead of saving PNG files and then reading them again. In my machine, doing this got me a 4x speedup for a 640x800 video.
I already modified
video_to_slowmo.py
to achieve this. Would you like me to open a pull request? I can do that maybe tomorrow.Describe the solution you'd like
Use ffmpeg-python in the
video_to_slowmo.py
script to save the output video in one go, instead of saving PNG images. Specifically, something likeI have
ffmpeg
in my PATH, so by default that's what's used, but it can probably be modified to use the--ffmpeg_dir
argument that video_to_slowmo already uses.Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: