Pawel Golinski | 27 Jun 16:00 2016
Picon

[PATCH] Use LC_NUMERIC_MASK instead of LC_NUMERIC in querylocale()

Without this, mlt_properties_set_lcnumeric() doesn't
work properly on OS X.
---
 src/framework/mlt_properties.c | 2 +-
 src/framework/mlt_property.c   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/framework/mlt_properties.c b/src/framework/mlt_properties.c
index 8eee288..78f562b 100644
--- a/src/framework/mlt_properties.c
+++ b/src/framework/mlt_properties.c
 <at>  <at>  -174,7 +174,7  <at>  <at>  const char* mlt_properties_get_lcnumeric( mlt_properties self )
 	if ( list->locale )
 	{
 #if defined(__APPLE__)
-        result = querylocale( LC_NUMERIC, list->locale );
+        result = querylocale( LC_NUMERIC_MASK, list->locale );
 #elif defined(__GLIBC__)
         result = list->locale->__names[ LC_NUMERIC ];
 #else
diff --git a/src/framework/mlt_property.c b/src/framework/mlt_property.c
index 5aa9ce1..a7b7287 100644
--- a/src/framework/mlt_property.c
+++ b/src/framework/mlt_property.c
 <at>  <at>  -696,7 +696,7  <at>  <at>  char *mlt_property_get_string_l( mlt_property self, locale_t locale )
 		// TODO: when glibc gets sprintf_l, start using it! For now, hack on setlocale.
 		// Save the current locale
 #if defined(__APPLE__)
-		const char *localename = querylocale( LC_NUMERIC, locale );
+		const char *localename = querylocale( LC_NUMERIC_MASK, locale );
(Continue reading)

GitHub | 25 Jun 19:37 2016

[mltframework/mlt] fb958c: Fix compiler warnings in core module.

  Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: fb958c5d837601ef0fe6423b04e3448668a62fa6
      https://github.com/mltframework/mlt/commit/fb958c5d837601ef0fe6423b04e3448668a62fa6
  Author: Dan Dennedy <dan <at> dennedy.org>
  Date:   2016-06-25 (Sat, 25 Jun 2016)

  Changed paths:
    M src/modules/core/producer_timewarp.c
    M src/modules/core/transition_mix.c

  Log Message:
  -----------
  Fix compiler warnings in core module.

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
GitHub | 25 Jun 19:31 2016

[mltframework/mlt] a162c0: configure: Honor compile flags when building C++

  Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: a162c039ca782e470e19ffe8e820d87ec75c70b2
      https://github.com/mltframework/mlt/commit/a162c039ca782e470e19ffe8e820d87ec75c70b2
  Author: Hugo Beauzée-Luyssen <hugo <at> beauzee.fr>
  Date:   2016-06-24 (Fri, 24 Jun 2016)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: Honor compile flags when building C++

  Commit: ad2ea7ae4d5abca4a650c684536d4b52a9efedbd
      https://github.com/mltframework/mlt/commit/ad2ea7ae4d5abca4a650c684536d4b52a9efedbd
  Author: Dan Dennedy <dan <at> dennedy.org>
  Date:   2016-06-25 (Sat, 25 Jun 2016)

  Changed paths:
    M configure

  Log Message:
  -----------
  Merge pull request #115 from chouquette/master

configure: Honor compile flags when building C++

Compare: https://github.com/mltframework/mlt/compare/5ba5ec2cd6ec...ad2ea7ae4d5a
(Continue reading)

GitHub | 24 Jun 05:22 2016

[mltframework/mlt] 4671ce: Rename config.h to MltConfig.h

  Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: 4671ce64a91c66924c70ee6c268fee752d5300a1
      https://github.com/mltframework/mlt/commit/4671ce64a91c66924c70ee6c268fee752d5300a1
  Author: Hugo Beauzée-Luyssen <hugo <at> beauzee.fr>
  Date:   2016-06-23 (Thu, 23 Jun 2016)

  Changed paths:
    M src/mlt++/Makefile
    M src/mlt++/MltAnimation.h
    A src/mlt++/MltConfig.h
    M src/mlt++/MltConsumer.h
    M src/mlt++/MltDeque.h
    M src/mlt++/MltEvent.h
    M src/mlt++/MltFactory.h
    M src/mlt++/MltField.h
    M src/mlt++/MltFilter.h
    M src/mlt++/MltFilteredConsumer.h
    M src/mlt++/MltFilteredProducer.h
    M src/mlt++/MltFrame.h
    M src/mlt++/MltGeometry.h
    M src/mlt++/MltMultitrack.h
    M src/mlt++/MltParser.h
    M src/mlt++/MltPlaylist.h
    M src/mlt++/MltProducer.h
    M src/mlt++/MltProfile.h
    M src/mlt++/MltProperties.h
    M src/mlt++/MltPushConsumer.h
    M src/mlt++/MltRepository.h
    M src/mlt++/MltService.h
(Continue reading)

jeffrey k eliasen | 17 Jun 00:49 2016
Picon
Gravatar

Optimizing `melt` in a CPU-intensive environment

I am running the melt command on a 4-core system with no other software running (except system services), and I am only seeing about 30% CPU usage (134% of the theoretical 400% on the box). ffmpeg and other commands are fully utilizing the cores (380-410%), so the power is definitely available. All the files are being read from tempfs (RAM-based disk), so while there is definitely some latency for file access it should not be significant compared to the same media stored on physical media.

Is melt able to utilize multiple processors? If so, why is i t only using about 1.5 CPUs of the available 4? Are there settings I can adjust to better utilize the host machine?
.ExternalClass * {line-height: 100%}
----------

jeffrey k eliasen - technologist, philosopher, agent of change
blog | linkedin | google+ | facebook | twitter


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
Federico Allegretti | 16 Jun 12:15 2016
Picon

still on live video producers for MLT

Hello everybody.

This idea of have live video input processed trough MLT (for overlay, coloro correction, etc) is still alive in my mind.

From old emails i know that currently the only producers that accept live feed are decklink and V4L trough libavformat (https://www.mltframework.org/bin/view/MLT/PluginsProducers). Is that true?

Teorically i can than mix and manipulate prerecorded clips, image and live feed (more than one?), live in a mlt track, with also presetted keyframe for filter properties?

Thanks for your time,

Federico

--
Open TV Architecture project: http://sourceforge.net/projects/otva/

Messagenet VOIP: 5338759

My blogs: http://altri-media.blogspot.com/
               http://subbaqquerie.blogspot.com/

YouTube Channel: AllegFede

VIMEO HD videos: http://www.vimeo.com/user1912745/videos
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
Grant Edwards | 11 Jun 05:14 2016
Picon

Can't get audio fade-in or fade-out to work

I'm trying to do a simple fade-in (audio and video) at the beginning
and fade-out at the end of a video clip.  According to numerous
examples, I thought this should do it:

melt \
    colour:black out=100 \
    infile.mp4 \
    -mix 100 -mixer luma -mixer mix:-1 \
    colour:black out=100 \
    -mix 100 -mixer luma -mixer mix:-1 \
    -consumer avformat:outfile.mp4 acodec=aac vcodec=libx264

But the audio dosn't fade in or out.  It comes on full volume at the
start of the output and stays full volume until the output ends.  I get
the exact same results with or without the "-mixer mix:-1" options.
I've also tried setting start and end values for the "-mixer mix" and
that also had no effect.

What am I doing wrong?

How do you fade both audio and video?

--

-- 
Grant Edwards

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Paweł Goliński | 10 Jun 17:01 2016
Picon

mlt_image_format_size() - "magic" height+=1

Hi,

There’s a mysterious (to me) line „height += 1” at the beginning of mlt_image_format_size().
What’s it for? Aren’t image dimensions just width x height? Why add one to height?

Best,
Paweł
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
Paweł Goliński | 8 Jun 22:20 2016
Picon

Controlling consumer's width and height from producer (like avformat->sdl)

Hello all,

As this is my first mail, I’ll do a short introduction. My name is Pawel Golinski and I’m one of the
students involved in VLMC development as part of GSoC 2016. My current objective is to implement
a libvlc producer and it requires a through understanding of MLT internals. The documentation and framework
are great, but as these are my first steps, I’m having problems with the simplest things…

My current problem is that I would like somehow to control consumer’s width and height from my producer.
I’ve noticed that this is somehow being done by the avformat producer, which somehow tells sdl consumer
to resize its window to match the video size. My first guess was, that it could be done through width and height
pointers passed to get_image() function of mlt_frame, but changing these don’t cause sdl to resize
itself - my
testing ground is color producer - I’m changing *width and *height to some random values at the beginning of
the function, but this doesn’t cause sdl to resize itself. I’ve also searched in some other places, but
to no avail.

So, is there a simple explanation of how avformat is doing its magic? To be more exact, why calling
melt avformat:file causes sdl window to be the same size, as the video file is pointing to? I suppose it
cannot be through profile mechanism, as avformat pretty much uses profile just to determine fps it has
to output (right?). Any hints?

Best regards,
Paweł
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
GitHub | 6 Jun 03:58 2016

[mltframework/mlt] 18465d: Remove unneeded pointer checks calling free.

  Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: 18465de8382802a1e707d42cb5c7a1ba5bf1f50c
      https://github.com/mltframework/mlt/commit/18465de8382802a1e707d42cb5c7a1ba5bf1f50c
  Author: Dan Dennedy <dan <at> dennedy.org>
  Date:   2016-06-05 (Sun, 05 Jun 2016)

  Changed paths:
    M src/modules/plus/filter_lift_gamma_gain.c

  Log Message:
  -----------
  Remove unneeded pointer checks calling free.

  Commit: 055588d45de538ab61a507b7cf1d149c1c8ec3f0
      https://github.com/mltframework/mlt/commit/055588d45de538ab61a507b7cf1d149c1c8ec3f0
  Author: Dan Dennedy <dan <at> dennedy.org>
  Date:   2016-06-05 (Sun, 05 Jun 2016)

  Changed paths:
    M src/modules/plus/filter_lift_gamma_gain.c

  Log Message:
  -----------
  Make lift_gamma_gain thread-safe.

  Commit: 4011afc817c7c85486c33a4fecb343900a9e99bf
      https://github.com/mltframework/mlt/commit/4011afc817c7c85486c33a4fecb343900a9e99bf
  Author: Dan Dennedy <dan <at> dennedy.org>
  Date:   2016-06-05 (Sun, 05 Jun 2016)

  Changed paths:
    M src/modules/plus/filter_lift_gamma_gain.c

  Log Message:
  -----------
  Replace usage of C++ reserved word "private."

My IDE complains about it.

Compare: https://github.com/mltframework/mlt/compare/05362ef92dee...4011afc817c7
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
Federico Allegretti | 31 May 13:30 2016
Picon

successfully built melted on raspberry pi2 but audio and video stuttering

indeed seems that melted uses only one core, and pi hardware cannot handle the task.

hope that attached picture will pass the filter :D




any one does experiments with sdl rendering on those embedded platforms?

that could be a really chea solution to drive "studio graphics" for tv game shows, talk shows with a lot of panels and so on ...
--
Open TV Architecture project: http://sourceforge.net/projects/otva/

Messagenet VOIP: 5338759

My blogs: http://altri-media.blogspot.com/
               http://subbaqquerie.blogspot.com/

YouTube Channel: AllegFede

VIMEO HD videos: http://www.vimeo.com/user1912745/videos
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Mlt-devel mailing list
Mlt-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Gmane