pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mlt mlt: Update to 6.26.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8bf380e967c3
branches:  trunk
changeset: 450326:8bf380e967c3
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Apr 14 11:19:16 2021 +0000

description:
mlt: Update to 6.26.1

Version 6.26.1

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


Version 6.26.0

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.


Version 6.24.0

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.


Version 6.22.1 - July 30, 2020

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


Version 6.22.0 - July 30, 2020

This version fixes bugs associated with the preview scaling introduced in the
previous version.

Framework
  * Added mlt_properties_exists() and Mlt::Properties::property_exists().
  * Added mlt_audio C class with:
    - mlt_audio_new()
        - mlt_audio_close()
        - mlt_audio_set_values()
        - mlt_audio_get_values()
        - mlt_audio_alloc_data()
        - mlt_audio_calculate_size()
        - mlt_audio_plane_count()
        - mlt_audio_plane_size()
        - mlt_audio_get_planes()
        - mlt_audio_shrink()
        - mlt_audio_reverse()
        - mlt_audio_copy()
        - mlt_audio_calculate_frame_samples()
        - mlt_audio_calculate_samples_to_position()
        - mlt_audio_channel_layout_name()
        - mlt_audio_channel_layout_id()
        - mlt_audio_channel_layout_channels()
        - mlt_audio_channel_layout_default()
  * Added Mlt::Audio C++ class with:
    - Mlt::Audio::Audio()
        - Mlt::Audio::Audio(mlt_audio_s*)
        - Mlt::Audio::~Audio()
        - Mlt::Audio::data()
        - Mlt::Audio::set_data(void*)
        - Mlt::Audio::frequency()
        - Mlt::Audio::set_frequency(int)
        - Mlt::Audio::format()
        - Mlt::Audio::set_format(mlt_audio_format)
        - Mlt::Audio::samples()
        - Mlt::Audio::set_samples(int)
        - Mlt::Audio::channels()
        - Mlt::Audio::set_channels(int)
        - Mlt::Audio::layout()
        - Mlt::Audio::set_layout(mlt_channel_layout)
  * Fixed drop-frame timecode for 59.94 fps.
  * Fixed crash on null pointer passed to mlt_consumer_stop().

Modules
  * Fixed frei0r transitions with preview scaling.
  * Fixed affine ox and oy properties incorrect with preview scaling.
  * Fixed a crash and incorrect preview scaling with more than one affine
    filter active on the same frame.
  * Fixed preview scaling for the rotoscoping filter.
  * Added the sample_fmt property to the avformat consumer.
  * Fixed a possible segfault in the mix transition.
  * Removed support for text keyframes to the text and qtext filters
    to fix regression on strings containing '='.
  * Disable frame-threading with bigsh0t, distort0r, and medians frei0r plugins.
  * Added "meta.media.%d.stream.projection" property the avformat producer.
  * Fixed a crash with with filters not supporting preview scale in frei0r
    transitions.
  * Fix artifacts in luma transition and affine filter with frame-threading.
  * Stop including 'title="Anonymous Submission"' in xml consumer.
  * Fixed a crash in opencv.tracker filter.
  * Fixed a crash in composite transition if luma file fails to load.
  * Added validations in opengl module to prevent asserts in Movit.
  * Fixed building with OpenCV 4.
  * Moved some services from gtk2 module to new gdk module:
    - gtkrescale filter
        - pango producer
        - pixbuf producer
  * Deprecated the gtk2 module and no longer enabled by default.
  * Changed avformat producer to accept a '?' in argument/resource property
    by escaping it as '\?'.
  * Changed the background property of the affine filter to be mutable.
  * Deprecated the linsys (DVEO SDI) module.
  * Fixed changing the audio_index property in the avformat producer.
  * Changed resample filter to more resiliant to frequency changes.
  * Added a video_delay property to the sdl2_audio and rtaudio consumers.
  * Add millisecond options to the timer filter.
  * Fixed the in point handling for the timewarp producer.
  * Fixed some audio gaps and sync issues with the rbpitch filter and timewarp
    pitch compensation.
  * Fixed a possible crash caused by producer consumer.
  * Changed avformat consumer to set AVOption color_primaries based on the
    MLT colorspace if not already set as property.
  * Fixed crop right on image with odd width skews image in crop filter.
  * Fixed incorrect silence value for unsigned 8-bit audio in avformat producer.
  * Changed qimage to use Qt's internal orientation detection instead of libexif.
  * Reduced clicks in mix transition by silencing buffers on discontinuity.
  * Improved A/V synchronization in (sw)resample filters - also reduces audio clicks.
  * Improved speed of the qimage producer.
  * Fixed incorrect color using libx264rgb in avformat consumer.
  * Fixed relative paths for avfilters that have the "filename" option.
  * Fixed some avfilters dropping the alpha channel: smartblur, vaguedenoiser.
  * Improved performance of the resize filter.
  * Fixed an affine filter inside a transition was always nearest neighbor
    interpolation.
  * Changed the lift_gamma_gain filter to use round values up.

Other
  * Fixed melt option "-group" applies to an implicit consumer.
  * Added "-quiet" option to melt (implies -silent but more so).
  * CMake build improvments adding modules:
    - gdk
        - jackrack
        - lumas
        - resample
        - sox
        - vorbis
  * Added avformat consumer presets:
    - Slide-Deck-H264
        - Slide-Deck-HEVC
  * Removed intra=1 from some avformat presets (use g=1 for intra only):
    - intermediate/MPEG-2
        - intermediate/MPEG-4
        - lossless/H.264
  * Fixed using Qt, Movit, and WebVfx in the official docker image:
    https://hub.docker.com/repository/docker/mltframework/melt
        IMPORTANT: it now requires `docker run` with the `--init` option.

diffstat:

 multimedia/mlt/Makefile                                         |  11 ++-
 multimedia/mlt/PLIST                                            |  31 +++++++--
 multimedia/mlt/distinfo                                         |  13 +--
 multimedia/mlt/patches/patch-src_modules_qt_filter__qtext.cpp   |  14 ----
 multimedia/mlt/patches/patch-src_modules_qt_graph.h             |  14 ----
 multimedia/mlt/patches/patch-src_modules_qt_producer__qtext.cpp |  14 ----
 6 files changed, 35 insertions(+), 62 deletions(-)

diffs (226 lines):

diff -r d04abc380eab -r 8bf380e967c3 multimedia/mlt/Makefile
--- a/multimedia/mlt/Makefile   Wed Apr 14 11:13:35 2021 +0000
+++ b/multimedia/mlt/Makefile   Wed Apr 14 11:19:16 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.111 2020/11/05 09:08:48 ryoon Exp $
+# $NetBSD: Makefile,v 1.112 2021/04/14 11:19:16 nia Exp $
 
-DISTNAME=      mlt-6.20.0
-PKGREVISION=   4
+DISTNAME=      mlt-6.26.1
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mltframework/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -12,7 +11,7 @@
 LICENSE=       gnu-gpl-v2
 
 USE_TOOLS+=    pkg-config gmake
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++
 GNU_CONFIGURE= YES
 
 CONFIGURE_ARGS+=       --enable-gpl
@@ -29,6 +28,8 @@
 PKGCONFIG_OVERRIDE+=   mlt++.pc.in
 PKGCONFIG_OVERRIDE+=   mlt-framework.pc.in
 
+.include "../../audio/jack/buildlink3.mk"
+.include "../../audio/ladspa/buildlink3.mk"
 .include "../../audio/libebur128/buildlink3.mk"
 .include "../../audio/libsamplerate/buildlink3.mk"
 .include "../../audio/sox/buildlink3.mk"
@@ -37,6 +38,8 @@
 .  include "../../devel/libatomic/buildlink3.mk"
 .endif
 .include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
 .include "../../graphics/libexif/buildlink3.mk"
 .include "../../multimedia/ffmpeg4/buildlink3.mk"
 .include "../../multimedia/frei0r/buildlink3.mk"
diff -r d04abc380eab -r 8bf380e967c3 multimedia/mlt/PLIST
--- a/multimedia/mlt/PLIST      Wed Apr 14 11:13:35 2021 +0000
+++ b/multimedia/mlt/PLIST      Wed Apr 14 11:19:16 2021 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2020/06/07 04:35:25 markd Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/04/14 11:19:16 nia Exp $
 bin/melt
 include/mlt++/Mlt.h
 include/mlt++/MltAnimation.h
+include/mlt++/MltAudio.h
 include/mlt++/MltConfig.h
 include/mlt++/MltConsumer.h
 include/mlt++/MltDeque.h
@@ -27,6 +28,7 @@
 include/mlt++/MltTransition.h
 include/mlt/framework/mlt.h
 include/mlt/framework/mlt_animation.h
+include/mlt/framework/mlt_audio.h
 include/mlt/framework/mlt_cache.h
 include/mlt/framework/mlt_consumer.h
 include/mlt/framework/mlt_deque.h
@@ -64,9 +66,9 @@
 lib/mlt/libmltcore.so
 lib/mlt/libmltdecklink.so
 lib/mlt/libmltfrei0r.so
-lib/mlt/libmltgtk2.so
+lib/mlt/libmltgdk.so
+lib/mlt/libmltjackrack.so
 lib/mlt/libmltkdenlive.so
-lib/mlt/libmltlinsys.so
 lib/mlt/libmltmotion_est.so
 lib/mlt/libmltnormalize.so
 lib/mlt/libmltoldfilm.so
@@ -87,12 +89,14 @@
 share/mlt/avformat/blacklist.txt
 share/mlt/avformat/consumer_avformat.yml
 share/mlt/avformat/producer_avformat.yml
+share/mlt/avformat/yuv_only.txt
 share/mlt/core/consumer_multi.yml
 share/mlt/core/data_fx.properties
 share/mlt/core/filter_audiomap.yml
 share/mlt/core/filter_audiowave.yml
 share/mlt/core/filter_brightness.yml
 share/mlt/core/filter_channelcopy.yml
+share/mlt/core/filter_choppy.yml
 share/mlt/core/filter_crop.yml
 share/mlt/core/filter_data_show.yml
 share/mlt/core/filter_fieldorder.yml
@@ -141,15 +145,19 @@
 share/mlt/frei0r/not_thread_safe.txt
 share/mlt/frei0r/param_name_map.yaml
 share/mlt/frei0r/resolution_scale.yml
-share/mlt/gtk2/consumer_gtk2_preview.yml
-share/mlt/gtk2/filter_rescale.yml
-share/mlt/gtk2/producer_pango.yml
-share/mlt/gtk2/producer_pixbuf.yml
+share/mlt/gdk/filter_rescale.yml
+share/mlt/gdk/producer_pango.yml
+share/mlt/gdk/producer_pixbuf.yml
+share/mlt/jackrack/blacklist.txt
+share/mlt/jackrack/consumer_jack.yml
+share/mlt/jackrack/filter_jack.yml
+share/mlt/jackrack/filter_jackrack.yml
+share/mlt/jackrack/filter_ladspa.yml
+share/mlt/jackrack/producer_ladspa.yml
 share/mlt/kdenlive/filter_boxblur.yml
 share/mlt/kdenlive/filter_freeze.yml
 share/mlt/kdenlive/filter_wave.yml
 share/mlt/kdenlive/producer_framebuffer.yml
-share/mlt/linsys/consumer_sdi.yml
 share/mlt/metaschema.yaml
 share/mlt/motion_est/filter_autotrack_rectangle.yml
 share/mlt/motion_est/filter_motion_est.yml
@@ -201,9 +209,11 @@
 share/mlt/plus/filter_loudness.yml
 share/mlt/plus/filter_loudness_meter.yml
 share/mlt/plus/filter_lumakey.yml
+share/mlt/plus/filter_pillar_echo.yml
 share/mlt/plus/filter_rgblut.yml
 share/mlt/plus/filter_sepia.yml
 share/mlt/plus/filter_spot_remover.yml
+share/mlt/plus/filter_strobe.yml
 share/mlt/plus/filter_text.yml
 share/mlt/plus/filter_timer.yml
 share/mlt/plus/producer_blipflash.yml
@@ -215,6 +225,7 @@
 share/mlt/plusgpl/filter_rotoscoping.yml
 share/mlt/presets/consumer/avformat/AAC
 share/mlt/presets/consumer/avformat/ALAC
+share/mlt/presets/consumer/avformat/AV1
 share/mlt/presets/consumer/avformat/FLAC
 share/mlt/presets/consumer/avformat/Flash
 share/mlt/presets/consumer/avformat/GIF
@@ -223,6 +234,8 @@
 share/mlt/presets/consumer/avformat/MPEG-2
 share/mlt/presets/consumer/avformat/MPEG-4
 share/mlt/presets/consumer/avformat/MPEG-4-ASP
+share/mlt/presets/consumer/avformat/Slide-Deck-H264
+share/mlt/presets/consumer/avformat/Slide-Deck-HEVC
 share/mlt/presets/consumer/avformat/Sony-PSP
 share/mlt/presets/consumer/avformat/Vorbis
 share/mlt/presets/consumer/avformat/WAV
@@ -389,7 +402,9 @@
 share/mlt/qt/filter_audiowaveform.yml
 share/mlt/qt/filter_lightshow.yml
 share/mlt/qt/filter_qtblend.yml
+share/mlt/qt/filter_qtcrop.yml
 share/mlt/qt/filter_qtext.yml
+share/mlt/qt/filter_typewriter.yml
 share/mlt/qt/producer_kdenlivetitle.yml
 share/mlt/qt/producer_qimage.yml
 share/mlt/qt/producer_qtext.yml
diff -r d04abc380eab -r 8bf380e967c3 multimedia/mlt/distinfo
--- a/multimedia/mlt/distinfo   Wed Apr 14 11:13:35 2021 +0000
+++ b/multimedia/mlt/distinfo   Wed Apr 14 11:19:16 2021 +0000
@@ -1,11 +1,8 @@
-$NetBSD: distinfo,v 1.11 2020/06/07 04:35:25 markd Exp $
+$NetBSD: distinfo,v 1.12 2021/04/14 11:19:16 nia Exp $
 
-SHA1 (mlt-6.20.0.tar.gz) = af70e65d0ee36d096a5b4e1e8f2dc457a49cdab5
-RMD160 (mlt-6.20.0.tar.gz) = 65f2ab8b6890112b5f705f1ebec4bbcd29028931
-SHA512 (mlt-6.20.0.tar.gz) = 939e837fb07ff0eace308987d83913e979f82c6eb156b40fde784f3f2b031b5f6896ac96dcde1627925cbb6fc76725f3fc4e5b2d0616fae11263648bcdbe82e3
-Size (mlt-6.20.0.tar.gz) = 1446137 bytes
+SHA1 (mlt-6.26.1.tar.gz) = 1540b23483cf9c741795321404dac2446d517366
+RMD160 (mlt-6.26.1.tar.gz) = e1181cd38733c89bf7e8be386e15b61fa9700deb
+SHA512 (mlt-6.26.1.tar.gz) = 6a3ef572cddee48c3089b19b2920de84936aa913a3f35b6f06e4bece2dc7a5a168daecfbaa8111c799b5316f967c37b09d485c000a4eba69af4f7ee3dc8db9e4
+Size (mlt-6.26.1.tar.gz) = 1366022 bytes
 SHA1 (patch-src_framework_mlt__properties.c) = 5e8b30cdabb90ed96a122a2654dc254f74a87374
 SHA1 (patch-src_framework_mlt__property.h) = d477cd70b6fecba00f26a5c8f155c9bab73aea03
-SHA1 (patch-src_modules_qt_filter__qtext.cpp) = f164e057bbd7aa320642eef1643d457d347b5f5e
-SHA1 (patch-src_modules_qt_graph.h) = db5b1e1b06c728d565fc4a8f090d30832166460e
-SHA1 (patch-src_modules_qt_producer__qtext.cpp) = ade0b8b1ab1ca6bc6c40d189ddfce18e5bf0f4c1
diff -r d04abc380eab -r 8bf380e967c3 multimedia/mlt/patches/patch-src_modules_qt_filter__qtext.cpp
--- a/multimedia/mlt/patches/patch-src_modules_qt_filter__qtext.cpp     Wed Apr 14 11:13:35 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_modules_qt_filter__qtext.cpp,v 1.1 2020/06/07 04:35:25 markd Exp $
-
-build with qt5.15
-
---- src/modules/qt/filter_qtext.cpp.orig       2020-02-16 22:31:58.000000000 +0000
-+++ src/modules/qt/filter_qtext.cpp
-@@ -21,6 +21,7 @@
- #include <framework/mlt.h>
- #include <framework/mlt_log.h>
- #include <QPainter>
-+#include <QPainterPath>
- #include <QString>
- 
- static QRectF get_text_path( QPainterPath* qpath, mlt_properties filter_properties, const char* text, double scale )
diff -r d04abc380eab -r 8bf380e967c3 multimedia/mlt/patches/patch-src_modules_qt_graph.h
--- a/multimedia/mlt/patches/patch-src_modules_qt_graph.h       Wed Apr 14 11:13:35 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_modules_qt_graph.h,v 1.1 2020/06/07 04:35:25 markd Exp $
-
-build with qt5.15
-
---- src/modules/qt/graph.h.orig        2020-02-16 22:31:58.000000000 +0000
-+++ src/modules/qt/graph.h
-@@ -22,6 +22,7 @@
- 
- #include <framework/mlt.h>
- #include <QPainter>
-+#include <QPainterPath>
- #include <QRectF>
- 
- void setup_graph_painter( QPainter& p, QRectF& rect, mlt_properties filter_properties );
diff -r d04abc380eab -r 8bf380e967c3 multimedia/mlt/patches/patch-src_modules_qt_producer__qtext.cpp
--- a/multimedia/mlt/patches/patch-src_modules_qt_producer__qtext.cpp   Wed Apr 14 11:13:35 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_modules_qt_producer__qtext.cpp,v 1.1 2020/06/07 04:35:25 markd Exp $
-
-build with qt5.15
-
---- src/modules/qt/producer_qtext.cpp.orig     2020-02-16 22:31:58.000000000 +0000
-+++ src/modules/qt/producer_qtext.cpp
-@@ -26,6 +26,7 @@
- #include <QImage>
- #include <QColor>
- #include <QPainter>
-+#include <QPainterPath>
- #include <QFont>
- #include <QString>
- #include <QTextCodec>



Home | Main Index | Thread Index | Old Index