Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
f4ca385
Initial work on OpenFX module support
Sep 28, 2024
a13af15
Making yml files explicit in openfx module CMakeLists
Aug 8, 2025
6915f71
clang-format openfx module source files
Aug 8, 2025
7feec02
OpenFX module: adding TODO to incompleted code
Aug 20, 2025
a2473bd
reordering functions in src/modules/openfx/mlt_openfx.c|h
Aug 25, 2025
4118811
openfx module: avoid reading directories that contain .ofx.bundle but…
Aug 25, 2025
42c173e
openfx module: using typedefs for shared object symbols
Aug 25, 2025
4a24c27
openfx module: replace strtok with strtok_r to parse openfx plugin pa…
Aug 26, 2025
96e2c59
closedir after parsing openfx plugins
Aug 30, 2025
6acbf6f
openfx module support more parameters types
Sep 5, 2025
f1fa437
openfx module fix plugin parameter not passed correctly form the host
Sep 5, 2025
a180f22
openfx module adding support for color parameters
Sep 8, 2025
5dd30f1
openfx module: add support for double 2d point
Sep 22, 2025
308c2f3
filter_openfx.c set default value for parameter with type 'double' an…
Sep 22, 2025
81190a1
openfx module: progress on kOfxImageEffectActionGetRegionOfDefinition…
Sep 23, 2025
b678494
openfx module: avoid adding unsupported plugins as filters
Dec 15, 2025
d9f06be
Fix openfx module build issue with mingw/msys2
Dec 17, 2025
e510edd
Addressing @ddennedy review comments
Dec 31, 2025
144ed62
Make sure that OpenFX module have the imported target glib in CMakeLi…
Dec 31, 2025
a2e23aa
Turn off openfx module on msvc CI/CD build
Jan 2, 2026
a5e3923
openfx module: when plugin support RGBA64 or RGBA color format conver…
Jan 6, 2026
7ab8bb2
clang-format src/modules/openfx/filter_openfx.c
Jan 6, 2026
b003c7d
openfx module extract plugin description into mlt filter metadata
Jan 18, 2026
fee354f
clang-format src/modules/openfx/filter_openfx.c
Jan 18, 2026
02e052e
OpenFX module: setting some standard Source/Output properties after d…
Jan 31, 2026
048578a
openfx module: Quiet warnings from plugins that use OCIO patch by @bm…
Jan 31, 2026
93cae7c
openfx module: applying @bmatherly suggested changes in plugin detect…
Feb 17, 2026
ceecdad
Move third-party openfx files into a subdirector
bmatherly Feb 22, 2026
ef9ee93
Update copyright dates in openfx module
bmatherly Feb 22, 2026
160106a
Update comment styles and consistency
bmatherly Feb 23, 2026
f8814c8
Fix apparent copy/paste typo
bmatherly Feb 23, 2026
6fb5b52
Flag another TODO
bmatherly Feb 23, 2026
f967618
Fix memory leaks in property storage.
bmatherly Feb 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ option(MOD_SDL2 "Enable SDL2 module" ON)
option(MOD_SOX "Enable SoX module" ON)
option(MOD_SPATIALAUDIO "Enable SpatialAudio module" OFF)
option(MOD_VIDSTAB "Enable vid.stab module (GPL)" ON)
option(MOD_OPENFX "Enable OpenFX module (GPL)" ON)
option(MOD_VORBIS "Enable Vorbis module" ON)
option(MOD_XINE "Enable XINE module (GPL)" ON)
option(MOD_XML "Enable XML module" ON)
Expand Down Expand Up @@ -185,6 +186,7 @@ if(NOT GPL)
set(MOD_RESAMPLE OFF)
set(MOD_RUBBERBAND OFF)
set(MOD_VIDSTAB OFF)
set(MOD_OPENFX OFF)
set(MOD_XINE OFF)
endif()

Expand Down Expand Up @@ -264,6 +266,10 @@ if(MOD_JACKRACK)
list(APPEND MLT_SUPPORTED_COMPONENTS jackrack)
endif()

if(MOD_OPENFX)
pkg_check_modules(glib IMPORTED_TARGET glib-2.0)
endif()

if(USE_LV2)
pkg_check_modules(lilv IMPORTED_TARGET lilv-0)
if(NOT lilv_FOUND)
Expand Down Expand Up @@ -494,6 +500,7 @@ if(CLANG_FORMAT)
list(FILTER FORMAT_FILES EXCLUDE REGEX "/.*/plus/ebur128")
list(FILTER FORMAT_FILES EXCLUDE REGEX "/.*/movit/optional_effect.h")
list(FILTER FORMAT_FILES EXCLUDE REGEX "/.*/opencv/filter_opencv_tracker.cpp")
list(FILTER FORMAT_FILES EXCLUDE REGEX "/.*/openfx/openfx")
list(FILTER FORMAT_FILES EXCLUDE REGEX "/.*/plusgpl/cJSON")
list(FILTER FORMAT_FILES EXCLUDE REGEX "/.*/plusgpl/image.*")
list(FILTER FORMAT_FILES EXCLUDE REGEX "/.*/plusgpl/utils.*")
Expand Down Expand Up @@ -579,6 +586,7 @@ add_feature_info("Module: SDL2" MOD_SDL2 "")
add_feature_info("Module: SoX" MOD_SOX "")
add_feature_info("Module: SpatialAudio" MOD_SPATIALAUDIO "")
add_feature_info("Module: vid.stab" MOD_VIDSTAB "")
add_feature_info("Module: OpenFX" MOD_OPENFX "")
add_feature_info("Module: Vorbis" MOD_VORBIS "")
add_feature_info("Module: XINE" MOD_XINE "")
add_feature_info("Module: XML" MOD_XML "")
Expand Down
3 changes: 2 additions & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"MOD_VIDSTAB": "OFF",
"MOD_VORBIS": "ON",
"MOD_XINE": "OFF",
"MOD_XML": "ON"
"MOD_XML": "ON",
"MOD_OPENFX": "OFF"
}
},
{
Expand Down
4 changes: 4 additions & 0 deletions src/modules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ if(MOD_VIDSTAB)
add_subdirectory(vid.stab)
endif()

if(MOD_OPENFX)
add_subdirectory(openfx)
endif()

if(MOD_VORBIS)
add_subdirectory(vorbis)
endif()
Expand Down
27 changes: 27 additions & 0 deletions src/modules/openfx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
add_library(mltopenfx MODULE
factory.c
mlt_openfx.c mlt_openfx.h
filter_openfx.c
)

add_custom_target(Other_openfx_Files SOURCES
filter_openfx.yml
)

if(GPL AND TARGET PkgConfig::glib)
include(GenerateExportHeader)
generate_export_header(mltopenfx)
target_compile_options(mltopenfx PRIVATE ${MLT_COMPILE_OPTIONS})
target_include_directories(mltopenfx PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries(mltopenfx PRIVATE mlt PkgConfig::glib ${CMAKE_DL_LIBS})
target_include_directories(mltopenfx PRIVATE openfx/include)
if(NOT MSVC)
target_link_libraries(mltopenfx PRIVATE m)
endif()
endif()

set_target_properties(mltopenfx PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${MLT_MODULE_OUTPUT_DIRECTORY}")

install(TARGETS mltopenfx LIBRARY DESTINATION ${MLT_INSTALL_MODULE_DIR})

install(FILES filter_openfx.yml DESTINATION ${MLT_INSTALL_DATA_DIR}/openfx)
Loading
Loading