Package Details: mlt-git 7.22.0.r27.30115615-1

Git Clone URL: https://aur.archlinux.org/mlt-git.git (read-only, click to copy)
Package Base: mlt-git
Description: Multimedia Framework
Upstream URL: https://github.com/mltframework/mlt
Licenses: LGPL2.1
Conflicts: mlt
Provides: mlt
Submitter: agapito
Maintainer: nfnty (evorster)
Last Packager: evorster
Votes: 42
Popularity: 0.000000
First Submitted: 2009-08-26 09:32 (UTC)
Last Updated: 2024-03-07 13:24 (UTC)

Pinned Comments

nfnty commented on 2015-12-27 08:48 (UTC)

Issues and pull requests at https://github.com/nfnty/pkgbuilds

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

Riedler commented on 2023-04-01 13:42 (UTC)

compilation failed. compiler says:

/data/makepkg/mlt-git/src/mlt/src/modules/avformat/factory.c:35:17: error: type of ‘link_swresample_init’ does not match original declaration [-Werror=lto-type-mismatch]
   35 | extern mlt_link link_swresample_init(mlt_profile profile, char *arg);
      |                 ^
/data/makepkg/mlt-git/src/mlt/src/modules/avformat/link_swresample.c:340:10: note: type mismatch in parameter 2
  340 | mlt_link link_swresample_init(mlt_profile profile, mlt_service_type type, const char *id, char *arg)
      |          ^
/data/makepkg/mlt-git/src/mlt/src/modules/avformat/link_swresample.c:340:10: note: ‘link_swresample_init’ was previously declared here
/data/makepkg/mlt-git/src/mlt/src/modules/avformat/link_swresample.c:340:10: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
lto1: all warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/cc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [src/modules/avformat/CMakeFiles/mltavformat.dir/build.make:281: out/lib/mlt/libmltavformat.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:841: src/modules/avformat/CMakeFiles/mltavformat.dir/all] Error 2
/data/makepkg/mlt-git/src/mlt/src/modules/plus/factory.c:108:21: error: type of ‘producer_count_init’ does not match original declaration [-Werror=lto-type-mismatch]
  108 | extern mlt_producer producer_count_init(const char *arg);
      |                     ^
/data/makepkg/mlt-git/src/mlt/src/modules/plus/producer_count.c:632:14: note: type mismatch in parameter 2
  632 | mlt_producer producer_count_init(mlt_profile profile,
      |              ^
/data/makepkg/mlt-git/src/mlt/src/modules/plus/producer_count.c:632:14: note: type ‘mlt_service_type’ should match type ‘void’
/data/makepkg/mlt-git/src/mlt/src/modules/plus/producer_count.c:632:14: note: ‘producer_count_init’ was previously declared here
lto1: all warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/cc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [src/modules/plus/CMakeFiles/mltplus.dir/build.make:516: out/lib/mlt/libmltplus.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1390: src/modules/plus/CMakeFiles/mltplus.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

I left out everything that's not an error or warning for conciceness.

I have zero experience with C so I can't fix it myself, sorry.

evorster commented on 2023-01-08 06:41 (UTC)

Just added in SWIG modules for Python, and instructions for how to modify the PKGBUILD to add or remove more of them. I have not added in Python as an official requirement.

RAMChYLD commented on 2023-01-06 17:19 (UTC) (edited on 2023-01-06 17:20 (UTC) by RAMChYLD)

Can you provide the swig packages for mlt, specifically python-mlt? Flowblade-git and openshot-git currently requires it, links to mlt6 which does provide it, but as it stands mlt6 has been orphaned and can't be compiled in it's current state (FFMPEG recently removed some deprecated calls and fields, which broke the FFMPEG5 patch for mlt6, and I'm not experienced enough to figure out how to refactor it to compile against FFMPEG4.4).

frabjous commented on 2022-05-05 16:55 (UTC)

opencv should be a build dependency; doesn't build for me without it

bartus commented on 2021-05-20 21:27 (UTC)

Lol, @evorster - you really butchered this PKGBUILD.

Already did a cmake refactor and post a PR at the @nfnty GitHub: https://github.com/nfnty/pkgbuilds/pull/58

yrds commented on 2021-05-10 14:41 (UTC)

@evorsters thanks for the info, needs to include opencv as dependency to build with that configuration

D.Dave commented on 2021-05-02 13:09 (UTC)

On the github page which you linked I don't see mlt. However: currently it fails to build due this error:

PKGBUILD: line 59: ./configure: No such file or directory ==> ERROR: A failure occurred in build(). Aborting...

evorster commented on 2021-04-19 12:53 (UTC)

Hi there! mlt is moving to cmake instead of .configure.

More about the discussion here: https://github.com/mltframework/mlt/issues/655#issuecomment-814504510

Here is an example PKGBUILD:

pkgname=('mlt-git') _srcname='mlt' pkgdesc='Multimedia Framework' pkgver=r5627.1618713044.817e4d8f pkgrel=1 arch=('i686' 'x86_64') url="https://github.com/mltframework/${_srcname}" license=('GPL2')

optdepends=( 'sdl_image: for SDL plugin' 'libsamplerate: for libavresample plugin' 'sox: for SOX (Audio Swiss Army Knife) plugin' 'ffmpeg: for ffmpeg plugin' 'vid.stab: for video stabilize plugin' 'gtk2: Gtk plugin' 'qt5-svg: for Qt5 plugins' 'jack: for JACK sound output plugin' 'libexif: for auto rotate plugin' 'frei0r-plugins: for additional effects' 'movit: opengl plugin' ) makedepends=( 'ladspa' 'frei0r-plugins' 'libdv' 'sdl_image' 'libsamplerate' 'sox' 'ffmpeg' 'vid.stab' 'qt5-svg' 'jack' 'libexif' 'python2' 'swig' 'git' 'movit' ) provides=("${pkgname[0]%-git}") conflicts=("${pkgname[0]%-git}")

source=("${_srcname}::git+${url}.git") sha512sums=('SKIP')

pkgver() { cd "${srcdir}/${_srcname}"

printf 'r%s.%s.%s\n' \
    "$( git rev-list --count 'HEAD' )" \
    "$( git log --max-count='1' --pretty='format:%ct' )" \
    "$( git rev-parse --short 'HEAD' )"

}

prepare(){ mkdir -p build }

build() { cd build cmake ../mlt \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DMOD_OPENCV=ON \ -DMOD_MOVIT=ON make }

package() { cd build make DESTDIR="${pkgdir}" install }

kalimerox commented on 2017-09-15 09:01 (UTC)

I have trouble running mlt-git with kdenlive 17.08.1-1 it would just freeze on doing anything on startup. any ideas about that? this is the "newest" mlt-git version available for manjaro / arch, no? sorry for the noob questions

nfnty commented on 2016-04-07 12:26 (UTC)

@osc Huh? This is the AUR...