-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
force video render by gpu instead of cpu #86
Comments
Not all computers who is going to run this will have a GPU. Add an option for that yourself. |
Can you help me to add that option? because my gpu is far better than my cpu |
First you would need to install ffmpeg and add it to your PATH. Afterwards you can get list of all available codes by typing final.write_videofile(
f"{path}/{file_name}.mp4",
fps=frames,
temp_audiofile=f"{path}/temp-audio.m4a",
remove_temp=True,
codec="h264_nvenc", #edit this
audio_codec="aac",
)
``` |
hi offish,
please make changes to force video render by gpu instead of cpu
waiting for your commit changes :)
finest regards
The text was updated successfully, but these errors were encountered: