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

Blender 2.83 WEBM/VP9 not supported #22

Open
Dreamscapist opened this issue Sep 6, 2020 · 3 comments
Open

Blender 2.83 WEBM/VP9 not supported #22

Dreamscapist opened this issue Sep 6, 2020 · 3 comments

Comments

@Dreamscapist
Copy link

Hey,

Just testing out this as free option to do some basic video editing, mostly for adding simple videos for friends to Youtube and would prefer using the webm format since youtube seems to favor it.

I edited the script so it allows me to render webm/vp9 now but I've near 0 experience on the python scripting so dropping this off for you if it helps out at all.

Issues I ran into was that you have to remember to select template from dimensions drop down menu for it to work, you can adjust resolution etc after doing so.

Another thing I ran into and it took me a while to realize was the error message about set output quality to none, there is no such option in blender 2.83 but it's called constant bitrate, it seems it used to be "none, constant bitrate" on some older versions so spent bit time on google to find it out.

video_editors_render_script.zip

Thank you for the hard work, really appreciate the tool since I'm running on R9 3900x so I can actually take advantage of that.

P.S. was also wondering if it would be possible to take advantage of the gpu, seen this being used on programs like vegas but don't know how much blender supports that.

@dalight13
Copy link

Fixed it myself I think.

Open the script and search for this section

SET THE EXTENSIONS FOR EACH OF OUR VIDEO FORMATS/CODECS

Insert this
elif blender_vid_format == "WEBM": file_extension = ".webm"

Under that
elif blender_vid_format == "QUICKTIME": file_extension = ".mov"

@Dreamscapist
Copy link
Author

Dreamscapist commented Sep 16, 2020

Hey @dalight13

As mentioned on previous message I did that also, there is also other lines added for the .webm

max_audio_bitrate_opus = 500 # kb/s (OPUS)
min_audio_bitrate_opus = 45 # kb/s (OPUS)
if blender_audio_codec == "OPUS":
     wav_to_compressed_audio += " -strict experimental"
elif blender_vid_format == "WEBM":
    file_extension = ".webm"

These are the changes included in the linked file on my previous post, since I'm not proficient in python thought to leave it to mikeycal to implement properly to the code.

@mikeycal
Copy link
Owner

Thanks.
I added the WEBM/VP9 and OPUS support

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

3 participants