GitHub | 16 Apr 20:51 2014

[mltframework/mlt] b8a363: Add animated property split to panner

  Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: b8a363144b5b8c31d00468f08424c4917141def5
      https://github.com/mltframework/mlt/commit/b8a363144b5b8c31d00468f08424c4917141def5
  Author: Janne Liljeblad <janne.liljeblad <at> gmail.com>
  Date:   2014-04-15 (Tue, 15 Apr 2014)

  Changed paths:
    M src/modules/core/filter_panner.c
    M src/modules/core/filter_panner.yml

  Log Message:
  -----------
  Add animated property split to panner

  Commit: e2be7949b663518315a29d6fcdbaab9e8cdf2fd7
      https://github.com/mltframework/mlt/commit/e2be7949b663518315a29d6fcdbaab9e8cdf2fd7
  Author: Janne Liljeblad <janne.liljeblad <at> gmail.com>
  Date:   2014-04-15 (Tue, 15 Apr 2014)

  Changed paths:
    M src/modules/kdenlive/filter_boxblur.c
    M src/modules/kdenlive/filter_boxblur.yml

  Log Message:
  -----------
  Add animated property blur to boxblur

  Commit: 574c6a0e39f1551190bc0bf9b1cd49a0bf59dcb8
      https://github.com/mltframework/mlt/commit/574c6a0e39f1551190bc0bf9b1cd49a0bf59dcb8
(Continue reading)

Jan Starzak | 15 Apr 12:22 2014
Picon

Alpha support in Composite

Hello everyone,

I was doing a little experimenting with MLT and ran into the following problem: both the affine and composite transitions do not seem to follow proper alpha handling. Industry standard in video is to use premultiplied alpha, however these two transitions seem to expect straight alpha. To use an example: I have a few clips (QTRLE with alpha) that I want to combine using the composite transition with a "background" clip that has all-solid alpha. What i get is this:

http://s30.postimg.org/60jrz8qpt/alpha_black_outline.jpg

However, I should not get these black outlines around the edges. I think this is because the mixing done by the affine and composite transitions seems to assume, that the source is "straight alpha".

Am I doing something wrong, or is this just a weak spot in MLT? This would seem like something that needs fixing, as this affects everything that doesn't use fully opaque or fully transparent alpha.

I would really like to fix this, however I would like some clarification: the composite transition works line by line and the SSE2 acceleration is only used for "Over" (default) line compositing function, correct? So if I wanted to fix it, what I would need to do is create a new line compositing function, right?

I hope this is not an issue that has already been covered, however I found no such mention in the list archives.

Kind regards,
Jan Starzak
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
Hart, James | 16 Apr 00:24 2014

Custom timestamp with MLT and using windows.

I’m investigating MLT as an automated video authoring tool for an enterprise system.  So far it looks very promising, but I’d like some guidance with a few outstanding items.

 

One thing that is almost non-negotiable is the use of this framework on windows.  I’ve been using the binaries prebuilt that come along with Shotcut.  They work well, but in the long run I’d like to be able to easily build the core MLT library and plugins from scratch so we can contribute back to the community and provide custom plugins.  I’ve gone through the process and it seems difficult to get the environment just right to build in windows under mingw. Due to other concerns, we can’t use cygwin.  Is there an existing easy path to make changes to existing plugins without involving the whole build framework and configure tools in every developer’s windows environment?  If it was up to me, I’d have us use linux for development, but we still need an easy way to build the patches in windows with the least amount of headache.  Right now that translates into a dedicated windows build machine with an automated process.  Any suggestions that would make it easy for individual developers to contribute using windows as their primary development environment?

 

Second thing,   we need the ability to burn in a timestamp that reflects the video’s time offset relative to a given date and time. Does that feature exist with any of the currently available window’s plugins? This is a different use case than what is answered in the FAQ. 

 

If this feature isn’t available, ideally I would like to modify an existing filter to support this.  Given the current difficulty with the build framework in windows, first pass I’d like to just create a custom filter which can influence something like the watermark’s filter output each frame.  This would allow me to easily create a pipeline or xml that can be passed to qmelt.   Is there an existing filter service which overlays text that I can influence some text property every frame with a custom filter placed before it?  It seems like a simple enough use case, but it is unclear to me with the existing doc’s if I can influence something like that every single frame with any existing service.  Any suggestions?

 

Thanks,

  James

 

 

 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
Janne Liljeblad | 15 Apr 11:39 2014
Picon

On "start","end" services

Hi,

So I just send a pull request that add animated properties to 3 more
filters that use "start","end" thing for animating.

I grepped for property "end" and found the following services with
property "end":

kdenlive/filter_wave.c
kdenlive/filter_boxblur.c
oldfilm/filter_vignette.c
core/transition_composite.c
normalize/filter_volume.c
core/filter_panner.c
core/transition_mix.c
core/filter_obscure.c
core/filter_brightness.c
motion_est/filter_autotrack_rectangle.c

The following services have now been fixed:

kdenlive/filter_wave.c
kdenlive/filter_boxblur.c
oldfilm/filter_vignette.c (in this "end" was commented out)
normalize/filter_volume.c
core/filter_panner.c
core/filter_brightness.c

The following services had a geometry parameter with "start","end" and
it didn't look like they should be altered:

core/transition_composite.c
core/filter_obscure.c
motion_est/filter_autotrack_rectangle.c

core/transition_mix.c - I didn't want to touch this. This service I
use to mix all tracks audio together for output, and track mixing
shoud probably be done using "volume" filter attached to track.

All and all I think this round of fixing "start","end" services is
done after the current pull request is accepted, and we can do more
later if it seems we should.

Janne

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
GitHub | 14 Apr 08:40 2014

[mltframework/mlt] 839dda: Fix framebuffer producer when requesting an mlt_im...

  Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: 839dda68a94d14b92201bc4d1ea1fec245ff6bf0
      https://github.com/mltframework/mlt/commit/839dda68a94d14b92201bc4d1ea1fec245ff6bf0
  Author: Jean-Baptiste Mardelle <jb <at> kdenlive.org>
  Date:   2014-04-13 (Sun, 13 Apr 2014)

  Changed paths:
    M src/modules/kdenlive/producer_framebuffer.c

  Log Message:
  -----------
  Fix framebuffer producer when requesting an mlt_image_none format

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
GitHub | 14 Apr 05:31 2014

[mltframework/mlt] c7ccee: Cleanup handling mlt_image_glsl in avformat produc...

  Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: c7cceee8693627c6890ba43fafb71cdb87fe6aaf
      https://github.com/mltframework/mlt/commit/c7cceee8693627c6890ba43fafb71cdb87fe6aaf
  Author: Dan Dennedy <dan <at> dennedy.org>
  Date:   2014-04-13 (Sun, 13 Apr 2014)

  Changed paths:
    M src/modules/avformat/producer_avformat.c

  Log Message:
  -----------
  Cleanup handling mlt_image_glsl in avformat producer.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
GitHub | 14 Apr 05:26 2014

[mltframework/mlt] dd998b: Fix regression in commit 3f84fe1.

  Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: dd998b4915b6a19fdaba40ded564d234740798c5
      https://github.com/mltframework/mlt/commit/dd998b4915b6a19fdaba40ded564d234740798c5
  Author: Dan Dennedy <dan <at> dennedy.org>
  Date:   2014-04-13 (Sun, 13 Apr 2014)

  Changed paths:
    M src/framework/mlt_frame.c
    M src/modules/opengl/filter_movit_crop.cpp

  Log Message:
  -----------
  Fix regression in commit 3f84fe1.

Letting movit.crop pass along mlt_image_glsl causes too early conversion
to glsl (in the convert step after the producer's get_image()). The
deinterlace and fieldorder filters that sit between the producer and
movit.crop can place a new image on the frame and change the output
format _after_ calling mlt_frame_get_image(), which causes yet another
conversion to glsl.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
GitHub | 13 Apr 20:45 2014

[mltframework/mlt] 0d0175: Add bounds checks for reading melt file and increa...

  Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: 0d01753979745f313b70d28ac6576c05e71daddd
      https://github.com/mltframework/mlt/commit/0d01753979745f313b70d28ac6576c05e71daddd
  Author: Dan Dennedy <dan <at> dennedy.org>
  Date:   2014-04-13 (Sun, 13 Apr 2014)

  Changed paths:
    M src/modules/core/producer_melt.c

  Log Message:
  -----------
  Add bounds checks for reading melt file and increase max lines. (SF-210)

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
jbm | 13 Apr 11:19 2014

Hello and mem leak

Hi Dan and everyone.

I have been silent for almost a year due to some health issue, but I am fine 
now and slowly starting to work again on Kdenlive. 

A recent Movit related commit creates a huge memory leak when seeking in 
Kdenlive. The responsible commit is this one:

https://github.com/mltframework/mlt/commit/3f84fe14c06956b5092c257fd27da490565566e5

Removing: 

*format = mlt_image_none;

in filter_movit_crop.cpp seems to have some bad side effects. I was able to fix 
the leak by changing mlt_frame.c and adding some checks for mlt_image_glsl 
like:

(...)

-			if ( self->convert_image && requested_format != mlt_image_none )
+			if ( self->convert_image && requested_format != mlt_image_none && 
requested_format != mlt_image_glsl ) {
 				self->convert_image( self, buffer, format, requested_format );

(...)

The full patch is attached. 

I also have a patch ready for the slowmotion producer (producer_framebuffer.c) 
that makes it handle formats mlt_image_none and mlt_image_glsl so that when it 
is asked for these formats, it queries the original avformat producer for its 
format to set it. I will submit a pull request for it.

Comments welcome,

regards
jb

Attachment (glsl_format.diff): text/x-patch, 1330 bytes
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
GitHub | 10 Apr 07:34 2014

[mltframework/mlt] 9f15f4: Fix build regression in commit 6f8293d.

  Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: 9f15f4c4487a110a3ae5fc9fb8d3ed3712aa21ae
      https://github.com/mltframework/mlt/commit/9f15f4c4487a110a3ae5fc9fb8d3ed3712aa21ae
  Author: Dan Dennedy <dan <at> dennedy.org>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M src/modules/gtk2/Makefile
    M src/modules/kino/Makefile
    M src/modules/opengl/Makefile
    M src/modules/qt/Makefile

  Log Message:
  -----------
  Fix build regression in commit 6f8293d.

We need to include parent config.mak files before assigning simple,
immediately expanded, variables.

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
GitHub | 10 Apr 06:40 2014

[mltframework/mlt] dc920a: Fix regression in commit 6834acd due to null profi...

  Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: dc920a3368850d15658b115a7da50ef8a5d12a90
      https://github.com/mltframework/mlt/commit/dc920a3368850d15658b115a7da50ef8a5d12a90
  Author: Dan Dennedy <dan <at> dennedy.org>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M src/modules/avformat/filter_avcolour_space.c

  Log Message:
  -----------
  Fix regression in commit 6834acd due to null profile pointer.

  Commit: 0bfd17c3faec4f873b60a4a4b68bfa6f8bb0df43
      https://github.com/mltframework/mlt/commit/0bfd17c3faec4f873b60a4a4b68bfa6f8bb0df43
  Author: Dan Dennedy <dan <at> dennedy.org>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M src/framework/mlt_tractor.c

  Log Message:
  -----------
  Make the frame's original producer available via tractor.

The tractor generates its own frames and needs to pass along some frame
properties from the video producer's frame. It was not propogating the
pointer to frame's original producer.

Compare: https://github.com/mltframework/mlt/compare/5b3c58c60068...0bfd17c3faec
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Gmane