Re: [Mlt-devel] Composite transition regression

2015-11-18 Thread Jean-Baptiste Mardelle
On mercredi, 18 novembre 2015 20.25:40 h CET, Maksym Veremeyenko wrote: > On 06.11.2015 20:51, jb wrote: >> Composite transitions with luma files are currently broken, resulting in >> corrupted images and leading to crashes when using an alpha >> operator on the ... > do you still has regression

Re: [Mlt-devel] MLT version scheme to change

2016-01-28 Thread Jean-Baptiste Mardelle
On Thursday, January 28, 2016 5:46:11 AM CEST, Dan Dennedy wrote: > For the next release of MLT (soon) I was thinking of changing > the version scheme to reflect the so version number. IOW, it > would be like 6.0.0 (or possibly 7.0.0), and the major version > will change when the ABI changes. >

[Mlt-devel] Switching frei0r to new animation framework

2016-02-09 Thread Jean-Baptiste Mardelle
Hi Dan, all. Since we started working on animation properties in Kdenlive, it would be nice to see more effects / transitions using it. I have done some quick tests to make frei0r use the animation properties instead of the old mlt_geometry, and a simple patch is available here: https://github

Re: [Mlt-devel] Problem with using MOVIT Filters

2016-02-14 Thread Jean-Baptiste Mardelle
On Tuesday, February 9, 2016 5:44:28 AM CET, Dan Dennedy wrote: > See here: > http://www.mltframework.org/bin/view/MLT/OpenGL > > You have to use "-consumer xgl" or "-consumer qglsl 0=sdl" to > run that command. The "sdl" consumer is default, but it is not > directly compatible with the opengl mo

Re: [Mlt-devel] Problem with using MOVIT Filters

2016-02-14 Thread Jean-Baptiste Mardelle
> Hi! > > I accidentally found an issue that probably caused several bug reports > against movit! > > Looks like it does not correctly handle locales (the infamous dot/comma > issue)... > > Playing a clip in terminal: > > melt myclip.mp4 .glsl=1 -attach movit.saturation saturation=0 -consumer >

[Mlt-devel] Recent YADIF commit breaks rendering

2016-02-14 Thread Jean-Baptiste Mardelle
Hi, Following a bug report on Kdenlive(1), I can confirm that the last commmit(2) in MLT about YADIF causes rendering freeze. I can reproduce by creating a playlist with a transition and a progressive profile: melt -profile atsc_1080p_25 color:red out=50 -track -blank 25 color:blue out=25 -tr

[Mlt-devel] Affine transition corruption (reads outside of image)

2016-04-07 Thread Jean-Baptiste Mardelle
l test case with MLT command line if needed. Patch is just below, comments welcome. regards Jean-Baptiste Mardelle diff --git a/src/modules/plus/transition_affine.c b/src/modules/plus/transition_affine.c index b5974a5..316d281 100644 --- a/src/modules/plus/transition_affine.c +++ b/src/module

[Mlt-devel] New motion tracker filter

2016-04-15 Thread Jean-Baptiste Mardelle
Hi all, I spend my day working on an OpenCV based filter to do motion tracking in MLT, since the current "motion_est" and "autotrack" filters are really bad at this. My OpenCV version seems to work quite well, but I have only done some minimal testing. Code is currently available in my git clo

Re: [Mlt-devel] New motion tracker filter

2016-04-16 Thread Jean-Baptiste Mardelle
and if it works correctly will ask if it's ok to merge to MLT's master. Performance is quite good, it can do real-time tracking of 3 objects in a 1280x720 video on my 3 years old intel core i7. Regards, jb > From: Jean-Baptiste Mardelle > To: mlt-devel@lists.sourceforge.

Re: [Mlt-devel] New motion tracker filter

2016-04-16 Thread Jean-Baptiste Mardelle
the bottom channel > The tracked object would then be obscured by a blurred version of itself. Hey, OpenCV is fun! One more line of code and the tracker filter can blur the object! Will add it as an option. regards jb > From: Jean-Baptiste Mardelle > To: mlt-devel@lists.sourceforge.n

Re: [Mlt-devel] Fwd: Mlt-devel post from j...@kdenlive.org requires approval

2016-04-17 Thread Jean-Baptiste Mardelle
uest. > > > > -- Forwarded message -- > From: Jean-Baptiste Mardelle > To: > Cc: > Date: Sat, 16 Apr 2016 21:15:46 +0200 > Subject: Problem with mlt_filter_get_length2 > Hi, > > While working on filters with 2 pass analyse feature, I ran i

Re: [Mlt-devel] New motion tracker filter

2016-04-17 Thread Jean-Baptiste Mardelle
On Sunday, April 17, 2016 2:26:02 AM CEST, Dan Dennedy wrote: > Do you know about the facedetect and facebl0r filters in > frei0r? motion_est supplies data to other filters. Why doesn't > this one do that? I do not really care, and I have not looked at > it yet - not very motivated lately - ju

Re: [Mlt-devel] New motion tracker filter

2016-04-17 Thread Jean-Baptiste Mardelle
On Monday, April 18, 2016 1:05:32 AM CEST, Dan Dennedy wrote: > > > On Sun, Apr 17, 2016 at 3:53 PM Jean-Baptiste Mardelle > wrote: > On Sunday, April 17, 2016 2:26:02 AM CEST, Dan Dennedy wrote: > > >> Do you know about the facedetect and facebl0r filters in >>

Re: [Mlt-devel] Please review release notes

2016-04-20 Thread Jean-Baptiste Mardelle
On Wednesday, April 20, 2016 7:05:20 AM CEST, Dan Dennedy wrote: > I would like to release 6.2.0 tomorrow night. Let me know if I > should wait. Meanwhile, you can review release notes: > https://github.com/mltframework/mlt/blob/master/NEWS Hi Dan, I just pushed a small fix for Kdenlive's title

[Mlt-devel] Compositing transition question

2016-07-13 Thread Jean-Baptiste Mardelle
Hi all, I have a question regarding multitrack compositing in video editors using MLT. In Shotcut, you add a freir.cairoblend transition to ensure transparency between tracks. I copied this approach for Kdenlive, but this leads to a huge performance loss (maybe because the freir.cairoblend tra

Re: [Mlt-devel] Compositing transition question

2016-07-14 Thread Jean-Baptiste Mardelle
On Thursday, July 14, 2016 12:41:20 AM CEST, Dan Dennedy wrote: > Good question, JB :-) > The composite transition gives less image quality for alpha > blending due to subsampled chroma. This also introduces a > 2-pixel precision limitation, which is bad enough on its own but > even worse for an

Re: [Mlt-devel] Compositing transition question

2016-07-15 Thread Jean-Baptiste Mardelle
On Friday, July 15, 2016 4:27:04 AM CEST, Brian Matherly wrote: > JB, > > I think this optimization could be made in frei0r.cairoblend. > > Could you compare the performance of frei0r.cairoblend with > transition_qtblend when the top frame has transparency? > > Seems like the transition_qtblend wo

Re: [Mlt-devel] Compositing transition question

2016-07-15 Thread Jean-Baptiste Mardelle
rüngliche Nachricht > Von: Jean-Baptiste Mardelle > Datum: 15.07.2016 09:35 (GMT+01:00) > An: mlt-devel@lists.sourceforge.net > Betreff: Re: [Mlt-devel] Compositing transition question > > On Friday, July 15, 2016 4:27:04 AM CEST, Brian Matherly wrote: >> JB, &g

[Mlt-devel] Optimizing Qt functions

2016-07-16 Thread Jean-Baptiste Mardelle
Hi, Following my tests with the qtblend transitions, I realized that the QImage format Format_RGBA allows for a much simpler conversion between MLT and QImage, avoiding the need to copy data. We can in fact simply create a QImage directly from MLT's image buffer (with format=mlt_image_rgb24

Re: [Mlt-devel] Optimizing Qt functions

2016-07-16 Thread Jean-Baptiste Mardelle
r will appear differently depending on the endianess of the > system. So I think this will work for us on big or little endian > systems since. If we find that it does not work on big-endian > systems, we can just put a check in place and either convert the > easy way or the hard (cu

Re: [Mlt-devel] Optimizing Qt functions

2016-07-16 Thread Jean-Baptiste Mardelle
On Saturday, July 16, 2016 8:57:49 PM CEST, Brian Matherly wrote: > >> Oh, right. I used it in my qtblend transition - than I guess I >> will enable >> it only on Qt5. > > I would prefer to see copy_qimage_to_mlt_rgba() modified to use > it with a conditional to check QT version at compile time

Re: [Mlt-devel] Compositing transition question

2016-07-19 Thread Jean-Baptiste Mardelle
On Tuesday, July 19, 2016 9:09:58 AM CEST, Dan Dennedy wrote: > On Fri, Jul 15, 2016 at 12:35 AM Jean-Baptiste Mardelle > wrote: > * frei0r.cairoblend: if we want to optimize it as I did for qtblend > > I know you moved onto qtblend, but I tried an optimization in > frei0r

[Mlt-devel] qt/configure

2016-07-19 Thread Jean-Baptiste Mardelle
Hi, I just noticed that the configure script in qt module first checks for Qt4, and if not found checks for Qt5 (if the user did not manually supply a $qt_libdir). Today, it seems to me that it would make more sense to invert the logic and first check for Qt5, because I think most people who h

Re: [Mlt-devel] Compositing transition question

2016-07-20 Thread Jean-Baptiste Mardelle
On Wednesday, July 20, 2016 3:20:13 PM CEST, Brian Matherly wrote: > > I have an observation about this line: > https://github.com/mltframework/mlt/blob/master/src/modules/qt/transition_qtblend.cpp#L58 > > In QT, the image origin is in the upper left: > http://doc.qt.io/qt-5/coordsys.html > In MLT,

Re: [Mlt-devel] Recent MLT git master fails to compile

2016-07-22 Thread Jean-Baptiste Mardelle
> Here it fails: > > g++ -shared -Wl,-soname,libmlt++.so.3 -o libmlt++.so.6.3.0 > MltAnimation.o MltConsumer.o MltDeque.o MltEvent.o MltFactory.o > MltField.o MltFilter.o MltFilteredConsumer.o MltFilteredProducer.o > MltFrame.o MltGeometry.o MltMultitrack.o MltParser.o MltPlaylist.o > MltProduc

Re: [Mlt-devel] HEAD fails

2016-07-26 Thread Jean-Baptiste Mardelle
On Tuesday, July 26, 2016 11:29:36 AM CEST, Christophe Thommeret wrote: > g++ -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL > -I/usr/include/x86_64-linux-gnu/qt5 > -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets > -I/usr/include/x86_64-linux-gnu/qt5 > -I/usr/include/x86_64-linux-gnu/qt5/QtGui >

Re: [Mlt-devel] I'm trying to understand how tractor, transitions, multitrack interact...

2016-07-26 Thread Jean-Baptiste Mardelle
On Tuesday, July 26, 2016 9:41:26 PM CEST, Harald Albrecht wrote: > I can't get my head around really understanding why MLT, taken > the following example, uses video frames from track #1 (middle > track) instead of from track #0 with track #2 composed onto it. > Besides the overall documentatio

Re: [Mlt-devel] Merging OpenCV tracker

2016-09-13 Thread Jean-Baptiste Mardelle
On Tuesday, September 13, 2016 7:16:58 PM CEST, Dan Dennedy wrote: > Yes, that is fine. I suppose there is no way to detect the > OpenCV contrib module in configure? It would suck to get a bunch > of compilation error reports if OpenCV is detected fine but the > contrib module is not. If that is

[Mlt-devel] Melt ghost filters ?

2016-10-08 Thread Jean-Baptiste Mardelle
Hi all, Following Kdenlive's bug report: https://bugs.kde.org/show_bug.cgi?id=367576 I discovered a strange behavior in melt: When installing the ladspa autotalent filter ( from debian / ubuntu package called "autotalent"), it appears and is usable in Kdenlive. However when trying to render, m

Re: [Mlt-devel] Melt ghost filters ?

2016-10-09 Thread Jean-Baptiste Mardelle
On Saturday, October 8, 2016 9:41:46 PM CEST, Dan Dennedy wrote: > I just installed autotalent on my Ubuntu 16.04 machine, and > using the latest MLT from git, it works for me: > ddennedy@MS-7593:~$ melt -query filters | grep 4262 > - ladspa.4262 Thanks for the feedback. I recompiled everything

Re: [Mlt-devel] Melt ghost filters ?

2016-10-09 Thread Jean-Baptiste Mardelle
On Sunday, October 9, 2016 9:42:32 AM CEST, Jean-Baptiste Mardelle wrote: > On Saturday, October 8, 2016 9:41:46 PM CEST, Dan Dennedy wrote: >> I just installed autotalent on my Ubuntu 16.04 machine, and >> using the latest MLT from git, it works for me: >> ddennedy@MS-7593:~

[Mlt-devel] Fix crash using ClipInfo

2017-02-05 Thread Jean-Baptiste Mardelle
Hi, I recently encountered a crash in Kdenlive using the ClipInfo class to retrieve a playlist clip details. Fix seems trivial but I prefer to ask before committing. The crash happens when using the Playlist::clip_info method on a clip that has no resource. In my case, I was with using a clip

[Mlt-devel] Movit crashing when encountering several tractors

2017-07-28 Thread Jean-Baptiste Mardelle
Hi all, Trying to work a bit with movit, I noticed it does crash when encountering a tractor embedded in another one. This can easily be reproduced in Shotcut, or in MLT with following command (it will crash on frame 50 when the reaching the first frame of the mix tractor: melt color:red ou

Re: [Mlt-devel] Movit crashing when encountering several tractors

2017-09-13 Thread Jean-Baptiste Mardelle
tests tomorrow on several computers and will report. Regards jb On Sat, Jul 29, 2017 at 9:58 AM Dan Dennedy wrote: On Fri, Jul 28, 2017 at 10:30 PM Jean-Baptiste Mardelle wrote: On 28.07.2017 21:27, Dan Dennedy wrote: Movit-based transitions are working for me in Shotcut 17.06 on both

Re: [Mlt-devel] Try to replicate? (Was: [...] debug a "[mlt_pool] out of memory"?

2018-02-15 Thread Jean-Baptiste Mardelle
uld be nice if a Kdenlive developer took a look at this. Thanks Dan for your continuous support. I hope you are doing well and everything goes for the best. I will take some time today to look at this issue, try to replicate and check if this is a pixbuf producer issue. Regards Jean-Baptiste Mard

Re: [Mlt-devel] A smaller test case now elicits "[mlt_pool] out of memory"

2018-02-22 Thread Jean-Baptiste Mardelle
On 17.02.2018 05:55, Kingsley G. Morse Jr. wrote: I'm happy to provide you with an even smaller and easier test case. Just 1.) copy the attached tar archive "bug.2.tar" to the /tmp directory and 2.) do what the attached video shows $ cd /tmp $ tar -xvf bu

[Mlt-devel] Detecting alpha in avformat producer

2018-03-23 Thread Jean-Baptiste Mardelle
Hi all, In order to optimize performance, in the qtblend transition (in the qt module), I try to detect if the top frame in the transition has transparency, and if it doesn't, instead of performing the transition I just return the top frame. However currently, to check if a frame has transpa

Re: [Mlt-devel] Detecting alpha in avformat producer

2018-03-25 Thread Jean-Baptiste Mardelle
how to do this properly so some guidance would help. Thanks in advance jb On Fri, Mar 23, 2018 at 6:31 AM Brian Matherly <mailto:c...@brianmatherly.com>> wrote: On 3/23/2018 2:47 AM, Jean-Baptiste Mardelle wrote: > Hi all, > > In order to optimize performan

[Mlt-devel] webm encoding reports 1000fps

2018-03-27 Thread Jean-Baptiste Mardelle
Hi, Following Kdenlive's bug report: https://bugs.kde.org/show_bug.cgi?id=392294 I noticed that encoding to webm with the avformat consumer produces files reporting an incorrect fps (1000fps). Some googling suggested to enforce the fps on the stream, and the following patch produces files t

Re: [Mlt-devel] Detecting alpha in avformat producer

2018-03-28 Thread Jean-Baptiste Mardelle
On Monday, March 26, 2018 3:44:09 PM CEST, Brian Matherly wrote: On 3/26/2018 1:49 AM, Jean-Baptiste Mardelle wrote: On 23.03.2018 18:42, Dan Dennedy wrote: ... Hi, I think you have a few options: 1) Create a new image type in MLT: mlt_image_yuva444p16 I do not recommend this because it

[Mlt-devel] Recent change to comsumer_xml corrupts projects

2018-06-18 Thread Jean-Baptiste Mardelle
Hi all, Hope you are doing fine and great to see the recent activity on MLT. One recent change causes problems in Kdenlive and will also in other applications: https://github.com/mltframework/mlt/commit/c091cae3a34fe9046e7ed610bd64d2df3c11dfe0 With this change, any property containing an "=

[Mlt-devel] Regression in recent commit

2018-06-25 Thread Jean-Baptiste Mardelle
Hi all, A recent commit ( Prevent computing negative in and out points) causes a breakage in a common MLT++ command. I left a comment but just to be sure it reaches you, I post a copy on the mailing list: https://github.com/mltframework/mlt/commit/9931b78bec8059b1c27ec2bc2e51ba195b4386a8 Thi

[Mlt-devel] small optimization in producer_color

2018-08-03 Thread Jean-Baptiste Mardelle
Hi all, I recently realized that the color producer always creates an alpha mask, and uses the rgba24a format by default. In fact, unless the color has an alpha value under 255, it is unnecessary and we could simply use an rgb24 format, saving some memory. I am mostly interested in this bec

Re: [Mlt-devel] small optimization in producer_color

2018-08-04 Thread Jean-Baptiste Mardelle
On 03.08.2018 19:46, Dan Dennedy wrote: On Fri, Aug 3, 2018 at 10:23 AM Jean-Baptiste Mardelle mailto:j...@kdenlive.org>> wrote: Hi all, I recently realized that the color producer always creates an alpha mask, and uses the rgba24a format by default. Typically, i

[Mlt-devel] New MLT release?

2019-03-11 Thread Jean-Baptiste Mardelle
lly for us it would be great to have MLT 6.14 out soon. Would that be possible? Thanks a lot, Jean-Baptiste Mardelle ___ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel

[Mlt-devel] New MLT release in March ?

2020-02-10 Thread Jean-Baptiste Mardelle
and let me know if I can help. Regards, Jean-Baptiste Mardelle ___ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel

[Mlt-devel] Crash in producer_consumer

2020-04-29 Thread Jean-Baptiste Mardelle
Hi all, While investigating a crash in Kdenlive when using embedded xml playlists using the producer_consumer, I found the following: For some reason, the "consumer" producer destroys the audio buffer when requesting the same frame several times. This leads in Kdenlive to a crash, because t

[Mlt-devel] Playing remote files is broken and crashes

2021-04-14 Thread Jean-Baptiste Mardelle
Hi all, I just wanted to let you know I just discovered that playing remote files does not work anymore with MLT and results in a crash, due to this commit: https://github.com/mltframework/mlt/commit/ d769db2427823f65cba4e097b7fef8a5a8a77469#diff- dd4dd7f8b6c28984ac8e670241eb3a0e5ddc65efa5c2784a

[Mlt-devel] cairoblend and qtblend regressions

2022-11-16 Thread Jean-Baptiste Mardelle
Hi Dan, all. Seems like unfortunately some regressions were introduced in the latest MLT 7.10.0 release. * the frei0r.cairoblend transition now crashes when rendering with real_time < -1. This is easily reproducible with a simple command, using a png image with alpha : melt color:red out=100 -

Re: [Mlt-devel] cairoblend and qtblend regressions

2022-11-16 Thread Jean-Baptiste Mardelle
On Mittwoch, 16. November 2022 10:27:52 CET Dan Dennedy wrote: > On Wed, Nov 16, 2022 at 4:20 PM Julius Künzel > > wrote: Hi, > > there is also https://github.com/mltframework/mlt/pull/840 worth to > > consider for such a bug fix release. > > That is untested and unconfirmed. Also, cairoblend w

Re: [Mlt-devel] cairoblend and qtblend regressions

2022-11-18 Thread Jean-Baptiste Mardelle
On Donnerstag, 17. November 2022 03:04:08 CET Dan Dennedy wrote: > On Thu, Nov 17, 2022 at 8:49 AM Jean-Baptiste Mardelle Hi all, > wrote: > > On Mittwoch, 16. November 2022 10:27:52 CET Dan Dennedy wrote: > > > On Wed, Nov 16, 2022 at 4:20 PM Julius Künzel > >

[Mlt-devel] Recent regression related to audio playback

2023-02-07 Thread Jean-Baptiste Mardelle
Hi all, Several users reported problematic playback behavior (freeze on seek) lately in Kdenlive. Seems like it is related to a recent MLT commit: fix #860 audio distortion when starting playback https://github.com/mltframework/mlt/commit/ 49398ce87c7ac4123044188b3d3287705df04213 The freeze can

[Mlt-devel] New MLT release ?

2023-02-22 Thread Jean-Baptiste Mardelle
Hi all, Sorry I am a bit late for this but I would it be possible to get a new MLT release soon ? We have the dependency freeze for Kdenlive early march (9th), so if this is possible, a new MLT release by the end of next week would be great for us, allowing users to benefit from the latest impr

[Mlt-devel] Field order broken on rendering

2023-07-20 Thread Jean-Baptiste Mardelle
Hi all, I was recently made aware of an issue in interlaced rendering that seems like a bug but I am not exactly sure where the problem lies. The problem is that in some cases, MLT renders an interlaced video with bottom field first, even when asked for a top field first result. I tracked down

Re: [Mlt-devel] Field order broken on rendering

2023-07-21 Thread Jean-Baptiste Mardelle
ptiste > Or maybe there could be a different trick like all the contents of the > a_frame and b_frame could be swapped when performing this optimization. > ~Brian > > > On Thursday, July 20, 2023 at 02:42:47 AM CDT, Jean-Baptiste Mardelle > wrote: > > Hi all, >

[Mlt-devel] AVFormat playback regressions

2024-09-09 Thread Jean-Baptiste Mardelle
Hi all, We've had several reports these last days regarding playback issue in Kdenlive , and traced some of the problems to 2 MLT commits that were pushed on the 8th of July: 1. https://github.com/mltframework/mlt/commit/ 1f0323d8aafa742216968f57c98f259328bb5bea and 2. https://github.com/ml