Skip to content

Releases: mltframework/mlt

v7.8.0

22 Jun 19:58
Compare
Choose a tag to compare

This highlight of this version is a new glaxnimate producer to render 2D vector art and animation.

Framework

  • Added mlt_frame_get_alpha_size() and refactored code to use it.
  • Fixed a possible null pointer crash in mlt_service_apply_filters().

Modules

  • Added a glaxnimate producer to the glaxnimate module.
  • Added new file extensions for glaxnimate producer: json, lottie, rawr, tgs.
  • Removed Qt4 compatibility from the qt module.
  • Added Qt6 compatibility to the qt module.
  • Added new file extensions for qimage producer: avif, heic, heif, jxl.
  • Fixed color_range when using the multi consumer.
  • Fixed reloading updated results in the loudness filter.
  • Fixed image_mode=blend in the timeremap link.
  • Fixed crash regression in swscale filter with odd size YUV image.
  • Fixed the choppy filter may result in black frames with transitions.
  • Prevent a crash in avfilter producer for a bug in glibc with _FORTIFY_SOURCE=3.

v7.6.0

29 Mar 18:45
Compare
Choose a tag to compare

This version adds image slice-threading to many filters and full support for full range color. All inputs are normalized to and processed at
the range specified by the consumer property color_range that defaults to tv/mpeg (limited).

Framework

  • Added Mlt::Animation::next_key() and previous_key() with error checking.
  • Fixed the moduledir and mltdatadir variables in the pkg-config file.
  • Removed calling setlocale() in mlt_factory_init() (moved to melt option -setlocale).
  • Added mlt_properties_copy() and Mlt::Properties::copy().
  • Changed some primarily internal property names to consolidate on "consumer." as a prefix convention for all consumer properties copied to mlt_frames.
  • Added consumer property deinterlacer to replace deprecated deinterlace_method.
  • Fixed full range color from producer to consumer.
  • Added mlt_slices_size_slice() helper function.
  • Fixed choppy playback due to large values in frame_rate_num or frame_rate_den in mlt_consumer.
  • Added performance optimization for a single slice in mlt_slices.

Modules

  • Added audiolevelgraph video filter to the qt module.
  • Added property segment_gap to the audiospectrum video filter.
  • Added segments property to the audiolevelgraph and audiospectrum filters.
  • Fixed loading image sequence with extended UTF-8 characters in the of a folder for the qimage producer.
  • Fixed a crash in avformat producer if the rotate property is set after first frame is fetched.
  • Added the invert_mask property to the shape video filter.
  • Changed avformat producer to normalize frame rates very close to integer broadcast frames 24/1.001, 30/1.001, and 60/1.001.
  • Converted the chroma and chroma_hold filters' key property to a proper type.
  • Added slice threading to:
    • avformat producer (with FFmpeg v5)
    • swsscale (with FFmpeg v5)
    • lift_gamma_gain
    • shape
    • charcoal
    • vignette
    • wave
    • threshold
    • tcolor
    • sepia
    • mirror
    • invert
    • grain
    • lines
    • spot_remover
  • Improved the speed of the oldfilm filter.
  • Added a faster box_blur filter to the core module and deprecated the boxblur` filter in the kdenlive module.
  • Fixed preview scaling for the avfilter.gblur filter.
  • Fixed incorrect text overlap in kdenlivetitle producer.
  • Improved audio synchronization in avformat when playing in reverse.
  • Added much more service metadata (documentation).
  • Fixed full range 10-bit video input in avformat producer.
  • Fixed full range color handling in:
    • avformat producer
    • avcolor_space
    • brightness
    • resize
    • luma transition
    • movit.convert
    • charcoal
    • invert
    • shape
  • Fixed identifying unsupported colorspaces in avformat producer.
  • Fixed preserving the alpha channel in the avfilter.fspp filter.

Other

  • Some CMake fixes.
  • Added dumb-init to the docker (no need to remember docker run --init).

v7.4.0

19 Dec 21:20
Compare
Choose a tag to compare

This main highlight of this version is property animation for avfilter!

Framework

  • Added more constructors and assignment operators in C++ wrapper:
    • Mlt::Filter::Filter(Mlt::Filter*)
    • Mlt::Link::Link(Mlt::Link*)
    • Mlt::Link::Link(Mlt::Service&)
    • Mlt::Link::Link(Mlt::Link&)
    • Mlt::Link::Link(Mlt::Link const&)
    • Mlt::Link::operator=(Mlt::Link const&)
    • Mlt::Service::Service(Mlt::Service*)
  • Fixed serialized animation in mlt_animation_serialize_cut_tf() and mlt_animation_serialize_cut() to include a trailing keyframe value.

Modules

  • Added property animation for avfilter filters.
    This only works for numeric parameters, but many libavfilter options that have a type string are actually numeric in nature but accept a string
    expression.
  • Added rotate property to avformat producer to override orientation.
  • Changed jackrack module to silence false LADSPA plugin loading errors.
  • Fixed a crash in the oldfilm filter when using preview scaling.
  • Fixed timeremap link distorts audio when speed is zero.
  • Added nautical mile and knot units of measure to the gpstext filter.
  • Fixed full range color handling with embedded tractor (e.g. same track transition).
  • Fixed device capture in avformat producer regression in version 7.2.0.
  • Fixed a crash in the matte transition.

v7.2.0

01 Nov 19:44
Compare
Choose a tag to compare

This is the first major maintenance release for the new major version 7 rendering it much more production ready. Plus there are a few nice new features.

Framework

  • Added support for mlt_properties as a child of mlt_properties
    including XML (de)serialization:
    • mlt_property_set_properties()
    • mlt_property_get_properties()
    • mlt_properties_set_properties()
    • mlt_properties_get_properties()
    • mlt_properties_get_properties_at)(
    • Mlt::Properties::set()
    • Mlt::Properties::get_props()
    • Mlt::Properties::get_props_at()
      Applications can use this to store structured data in its own namespace, for example "shotcut:markers". And modules could use this for hierarchical parameters.
  • Fixed crash in mlt_transition upon inserting or removing a track.
  • Stopped loading mlt_profile until needed in mlt_chain creation.

Modules

  • Added filter gpstext that is similar to dynamictext based on data in a GPX file.
  • Added speed parameter to timer filter.
  • Added WebP presets for avformat consumer.
  • Added a pixelate option to the opencv_tracker filter's blur property.
  • Fixed center_bias of crop filter not working with use_profile.
  • Fixed some missing RGB mlt_image_format renames after change in v7.0.0. This primarily affected presets and service metadata.
  • Fixed a crash when changing preview scaling in timeremap link.
  • Fixes problems due to adding redundant normalize filters upon loading a producer from XML.
  • Ensure filters added by the loader producer always come first in list.
  • Fixed a crash using shape and affine filters together on color producer.
  • Fixed a crash when a vidstab file fails to open.
  • Changed vidstab filter to save its file in ASCII text mode.
  • Fixed a clang LTO error in the decklink module.
  • Fixed a video decoding regression on some videos in the avformat producer.
  • Fixed a crash in the audiowaveform filter.
  • Fixed loading a relative filename from XML for mask_start with shape.
  • Fixed "#filedate#" in dynamictext filter when used with timeremap link.
  • Fixed timer filter's new speed property interaction with start delay.
  • Fixed a crash with YUYV422 (YUY2) input in avformat producer.
  • Fixed data race condition in timeremap link.
  • Fixed compiling avformat module with FFmpeg git beyond v4.4 with many deprecations removed.
  • Fixed alpha channel size calculation in brightness filter.
  • Restore legacy tracker and the new DaSiam tracker for OpenCV >= 4.5.3 in the opencv_tracker filter.
  • Fixed a crash in opencv_tracker on shape_width = 0.
  • Fixed incorrect handling of in and out points and duration in the opencv_tracker filter.
  • Fixed the composite transition leaking left border of an image on the right side on uneven width.
  • Fixed a problem handling some UTF-8 in thhe typerwriter filter.

Other

  • Added support for the RELOCATABLE CMake option for Linux or BSD build.

v7.0.1

16 May 03:54
Compare
Choose a tag to compare

This version is just build fixes for the most immediate problems with the somewhat new but exclusive build system in v7.

  • Fixed docker image not working.
  • Fixed a system-installed build cannot finds its modules and data.
  • Fixed the python installation path for binaries.
  • Added support for the DESTDIR environment variable when creating melt symlink.
  • Increased the build constant for the maximum size of a line of a properties file.
  • Fixed the vid.stab metadata install path.

v7.0.0

03 May 03:26
Compare
Choose a tag to compare

This is a major new version that breaks API to add a major new feature to the framework: retiming. This is accomplished through new classes mlt_chain and mlt_link. And since we are breaking API we decided to clean house by removing deprecations and switching the build system over entirely to CMake. For more information see our migration guide. More documentation about the new chain and link classes is still pending.

Framework

  • Added mlt_chain and Mlt::Chain classes.
  • Added mlt_link and Mlt::Link classes.
  • Added a link value to service type in the service metadata schema.
  • Added a boolean animation parameter attribute to the service metadata schema.
  • Added mlt_animation_shift_frame() and Mlt::Animation::shift_frames().
  • Added mlt_animation_get_string().
  • Fixed using a stale cached property animation string.
  • Added mlt_image and Mlt::Image classes.
  • Remove legacy "height + 1" workaround in image allocation.
  • Fixed a crash on setting timewarp speed higher than 23x.
  • Added mlt_audio_silence().
  • Removed mlt_image_opengl.
  • Replaced variadic arguments in mlt_events with new mlt_event_data APIs.
  • Removed mlt_geometry APIs.
  • Renamed mlt_image_rgb24a as mlt_image_rgba.
  • Renamed mlt_image_rgb24 to mlt_image_rgb.
  • Renamed mlt_image_glsl to mlt_image_movit.
  • Renamed mlt_image_glsl_texture to mlt_image_opengl_texture.
  • Removed virtual function mlt_frame::get_alpha_mask().
  • Removed mlt_frame_get_alpha_mask().
  • Removed deprecated functions:
    • mlt_sample_calculator
    • mlt_sample_calculator_to_now
    • mlt_channel_layout_name
    • mlt_channel_layout_id
    • mlt_channel_layout_channels
    • mlt_channel_layout_default
    • mlt_slices_init
    • mlt_slices_close
    • mlt_slices_run
    • mlt_playlist_move_region
    • Mlt::Playlist::move_region
  • Fixed a rounding error calculating display aspect ratio in mlt_profile_from_producer().

Modules

  • Added a timeremap link to the core module with animatable map property.
    (Speed can increase or decrease between keyframes including reverse.)
  • Added chain and link XML elements to xml module.
  • Added "meta.media.has_b_frames" property to avformat producer.
  • Removed deprecated modules:
    • dv
    • gtk2 (not gdk)
    • kino
    • linsys
    • lumas
    • motion_est
    • swfdec
    • videostab
  • Removed the following services:
    • data_feed filter
    • data_show filter
    • region filter and transition
    • sdl_image
  • Converted filters to use new mlt_image class:
    • brightness
    • imageconver
    • mirror
    • spot_remover
  • Deprecated the audiowave filter.
  • Added the ability to build the jackrack module without JACK to get only
    LADSPA producers and filters.
  • Deprecated start and end properties for the following filters:
    • brightness
    • panner
    • boxblur
    • wave
    • volume
  • Removed deprecated font property from pango producer.
  • Improved album art (attached pic) detection in avformat producer.
  • Improved the resample filter to have less artifacts and use less memory.

Other

  • CMake: nearly complete rewrite.
  • Removed the old configure bash scripts and Makefiles.
  • Added -chain and -link options to melt command line.

v6.26.1

13 Apr 18:22
Compare
Choose a tag to compare

This version fixes a major regression in version 6.26.0 in the avformat producer to read from network URLs.

v6.26.0

10 Apr 18:35
Compare
Choose a tag to compare

This is the last planned release of major version 6. Version 7 will be released soon and introduce some minor API breakage while removing deprecations. The main new feature in this version is hardware-accellerated decoding! However, this is a basic implementation: It always returns the uncompressed video to the CPU memory with no pipelining to filters. Even when coupled with hardware encoding in the avformat consumer it must transfer the video. Also, there is no automatic software/CPU fallback and no resource management.

Modules

  • Added support for hwaccel query string parameter to the avformat producer. It accepts the following values:
    vaapi (Linux/BSD), cuda (Linux), videotoolbox (macOS), d3d11va (Windows), dxva2 (Windows)
  • Added support for hwaccel_device query string parameter to the avformat producer. This is only used with vaapi (device path) and cuda, d3d11va, or dxva (number).
  • Improved the usage of image slice threading in frei0r. This only applies when threads=0 and only works with some frei0r plugins that you must decide yourself.
  • Added an ellipse item to kdenlivetitle producer.
  • Added support for PNG and GIF as album art in the avformat producer.
  • Added BT.2020 color space metadata to the avformat producer.
  • Resolved many FFmpeg deprecations in the avformat producer making it possible to support AV1 decoding.
  • Added a strobe fitler that periodically makes the alpha channel transparent.
  • Added a new typewriter text filter (currently only works with the kdenlivetitle producer).
  • Improved sound quality for lower pitch shifts in rbpitch.
  • Fixed speed of trick play in the jack, rtaudio, sdl_audio, and sdl2_audio consumers.
  • Fixed matrix for independent channels in swresample filter.
  • Fixed leading zeros for the timer filter.
  • Fixed flickering using affine with a luma transition.
  • Fixed a crash using RGBA images in the qimage producer (regression in v6.22.0).
  • Fixed brightness filter misbehaves on alpha > 1.
  • Fixed writing flac format file does not set its duration in the avformat consumer.
  • Fixed an infinite loop in rbpitch filter.
  • Fixed ttl in the qimage producer.
  • Fixed building with OpenCV 4.5
  • Fixed artifacts with multiple HTML qtext filters and frame threading.
  • Deprecated the start and end properties on the following (use property animation instead):
    • brightness
    • panner
    • boxblur
    • wave
    • volume
  • Deprecated the following services:
    • data_show
    • region
    • transition filter
    • autotrack_rectangle
    • motion_est
    • slowmotion

Other

  • CMake:
    • Fixed building without SWIG.
    • Added many "MOD_..." options to explictly disable modules.
    • Added src/tests and the option BUILD_TESTING, which defaults off.
    • All dependency checks moved to top level CMakeLists.txt.
    • Install melt man page.
    • Install oldfilm SVG files.
    • Added src/examples.
    • Install framework/metaschema.yaml.
    • Fixed plusgpl datadir.
    • Added all swwig/ languages.
    • Increased C++ standard to C++14.
  • Added an AV1 encoding preset.
  • Improved documentation of the requirement for C11.
  • The minimum version of FFmpeg is v4.0 and Libav is no longer supported.

v6.24.0

07 Dec 05:43
Compare
Choose a tag to compare

This version is mostly fixes plus a few new filters.

Framework

  • Trigger a property-changed event on mlt_properties_pass_list.
  • Fixed using a video transition with a video clip on an audio track.
  • Reduce the amount of service caching to 2X #tracks to reduce memory usage.

Modules

  • Added the pillar_echo filter to the plus module.
  • Added a qtcrop filter to the qt module.
  • Added html, resource, overflow-y, and _hide properties to the qtext filter for rich text.
  • Added the filter choppy to the core module.
  • Added slice threading to the brightness filter.
  • Fixed compiling with OpenCV 4.
  • Fixed the colors when using mlt_image_format=rgb24a with avformat consumer.
  • Fixed using WebVfx in a Docker container.
  • Fixed a possible crash in the timewarp producer on sources with non-integer frame rates.
  • Fixed a regression in version 6.22 with multiple affine filters at the same time.
  • Fixed possible abort or deadlock on recursive pthread mutexes in avformat producer.
  • Fixed a crash in crop filter with large center_bias value when use_profile is 1.
  • Fixed a white video frame appearing on threaded rendering in freeze filter.
  • Fixed MLT XML DRD to permit empty playlists, which may occur on empty tracks in a multitrack.
  • Fixed initializing QApplication in the qimage producer.
  • Fixed interpolation when scaling with the affine rect and geomety properties.
  • Fixed high memory usage with high factors of pitch shifting in the rbpitch filter.
  • Fixed a crash on files with more than 32 streams in the avformat producer.

Other

  • Fixed CMake build on MSYS2 and Windows Craft.
  • Added the Python binding to the CMake build.
  • Added the sdl (v1) module to the CMake build.
  • Removed minrate and maxrate from the webm avformat consumer preset.

v6.22.1

01 Aug 18:25
Compare
Choose a tag to compare

This patch version only fixes the version reported in the CMake build.