mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add Ogg Theora support to MovieWriter
Movie Maker mode can now record files in `.ogv` format, which can be directly viewed in Godot's VideoStreamPlayer node along with most video players. This is a lossy format with inter-frame compression, unlike AVI + MJPEG which only performs intra-frame compression. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro> Co-authored-by: Leo de Penning <leo.depenning@illuminoo.com>
This commit is contained in:
@@ -13,7 +13,6 @@ thirdparty_obj = []
|
||||
if env["builtin_libvorbis"]:
|
||||
thirdparty_dir = "#thirdparty/libvorbis/"
|
||||
thirdparty_sources = [
|
||||
# "analysis.c",
|
||||
# "barkmel.c",
|
||||
"bitrate.c",
|
||||
"block.c",
|
||||
@@ -35,11 +34,16 @@ if env["builtin_libvorbis"]:
|
||||
"smallft.c",
|
||||
"synthesis.c",
|
||||
# "tone.c",
|
||||
# "vorbisenc.c",
|
||||
"vorbisfile.c",
|
||||
"window.c",
|
||||
]
|
||||
|
||||
if env.editor_build:
|
||||
thirdparty_sources += [
|
||||
"analysis.c",
|
||||
"vorbisenc.c",
|
||||
]
|
||||
|
||||
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
|
||||
|
||||
env_vorbis.Prepend(CPPEXTPATH=[thirdparty_dir])
|
||||
|
||||
Reference in New Issue
Block a user