flathub / org.blender.Blender

https://flathub.org/apps/details/org.blender.Blender
17 stars 26 forks source link

Introduce the org.blender.Blender.Codecs extension #47

Closed bochecha closed 4 years ago

bochecha commented 4 years ago

We used to bundle our own ffmpeg with all the codecs Blender needs.

But because Endless wanted to preinstall Blender on some of its images, I made it use the runtime ffmpeg instead, or the one from the org.freedesktop.Platform.ffmpeg-full extension if it is installed.

That runtime extension has H264 support enabled… but doesn't actually contain any H264 encoder/decoder because it requires the org.freedesktop.Platform.openh264 extension for that.

Unfortunately, even when you have both runtime extensions installed, H264 encoding still doesn't work in Blender because the openh264 encoder is not good enough. :disappointed:

This commit adds an org.blender.Blender.Codecs extension which bundles the ffmpeg we used to bundle directly in Blender.

Installing it gets all encoding/decoding working again in Blender, but having it as an extension allows Endless, and other distributors, to preinstall Blender without worrying about codecs.

cc @jimmac

flathubbot commented 4 years ago

Started test build 14901

flathubbot commented 4 years ago

Build 14901 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/14228/org.blender.Blender.flatpakref
jimmac commented 4 years ago

Can confirm this having a working ffmpeg export, unlike the stable 2.81 build. Thank you!

bochecha commented 4 years ago

Can confirm this having a working ffmpeg export,

Great, thank you for confirming.

unlike the stable 2.81 build.

Well, this is now the 2.81a build. :stuck_out_tongue: