Opened 6 years ago

Closed 6 years ago

#10423 closed enhancement (fixed)


Reported by: Pierre Labastie Owned by: Pierre Labastie
Priority: normal Milestone: 8.2
Component: BOOK Version: SVN
Severity: normal Keywords:


mlt development has moved to github. There is a new version at

This version fixes a failure when opencv-3.4.0 is installed (there were API changes in this version of opencv):

g++ -Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wno-deprecated -I../.. -DARCH_X86_64 -Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I/usr/include/opencv   -c -o filter_opencv_tracker.o filter_opencv_tracker.cpp
filter_opencv_tracker.cpp: In function "void analyze(mlt_filter, cv::Mat, private_data*, int, int, int, int)":
filter_opencv_tracker.cpp:114:33: error: "create" is not a member of "cv::Tracker"
    data->tracker = cv::Tracker::create( "KCF" );

Change History (5)

comment:1 by Pierre Labastie, 6 years ago

Should we move to 8.2, or just wish that users won't try to build mlt with opencv-3.4.0?

I've tested mlt build (not run yet). the only other user of mlt is kdenlive (requires mlt): not tested yet

Another user of opencv is gstreamer-plugins-bad (optional), which does not detect opencv-3.4.0 (configure explicitly limits the version to 3.3). Not a big deal I guess, but maybe a note about broken opencv support should be dropped there.

Other users of opencv are:

  • ffmpeg (I built ffmpeg before opencv, so not tested)
  • vlc (the opencv module is built. I've not tested it, and I do not know how...)

comment:2 by bdubbs@…, 6 years ago

Milestone: 8.38.2

Please go ahead and update for 8.2.

comment:3 by Pierre Labastie, 6 years ago

Owner: changed from blfs-book@… to Pierre Labastie
Status: newassigned

comment:4 by Pierre Labastie, 6 years ago

This version builds upon the previous release with performance improvements
using the sliced image processing framework. It also improves compatibility
with dependencies (FFmpeg, Qt 5, SDL 2, NDI, OpenCV, libebur128).


Added a thread pool to mlt_slices:
MLT_SLICES_COUNT environment variable
Added mlt_log_timings_now() to mlt_log.
Added mlt_image_yuv422p16 image format.
Added mlt_image_format_planes() and mlt_image_format_id() to mlt_frame.
Added mlt_service_disconnect_all_producers() and
Fixed accuracy of mlt_time_format conversions.
Fixed mlt_filter_get_progress() never reaching 1.0.
Fixed divide by zero in mlt_filter_get_progress().

Added sdl2 module!
Added sum property to mix transition for simple mixing without dynamics.
Added TLD and KCF tracking modes to opencv module.
Added CSV (comma-separated values) simple slideshow to pixbuf producer.
Added jack filter to jackrack module.
Added sliced processing to frei0r.
Added sliced processing to composite transition.
Added sliced processing to avformat producer pixel format conversion.
Added sliced processing to affine transition and filter.
Converted volume and pan filters to floating point.
Added rotate_center property to qtblend transition and filters.
Added (VFR detection) to avformat producer.
Added support for external libebur128.
Updated internal libebur128 to latest.
Added 10-bit capture to decklink producer.
Added mlt_image_yuv422p16 to fieldorder filter, avcolour_space filter, and
avformat consumer.
Added no_profile property to xml consumer.
Various ndi module fixes and improvements.
Fixed setting color_trc in multi consumer.
Fixed kdenlive title transparency.
Fixed incorrect alpha channel breaking freeze filter with qtblend transition.
Fixed transparency of pixbuf images with qtblend transition.
Fixed some crashes in new qtblend transition.
Fixed building qt module with C++11 for Qt 5.7+.
Fixed reporting accurage length for image sequences in qimage and pixbuf.
Fixed extra audio samples added to end of file in avformat consumer.
Fixed rawvideo export in avformat consumer.
Fixed multi-threading wtih FFmpeg 3.2+ in avformat module.
Fixed JPEG album art in avformat producer.
Removed filter_avresample (dropped by FFmpeg).
Stop flushing audio buffer in decklink consumer.
Fixed field order handling in decklink consumer.
Make composite transition field order aware.
Fixed nesting mlt_tractor with opengl module.
Fixed kdenlive titler crash on resized frame.

Various memory leak fixes.
Fixed opening files with extended chars on Windows (framework and modules).

comment:5 by Pierre Labastie, 6 years ago

Resolution: fixed
Status: assignedclosed

Looks like kdenlive works (I have a very limited understanding of what it does). Fixed at r19883

Note: See TracTickets for help on using tickets.