]> git.sesse.net Git - mlt/log
mlt
13 years agoFix crash in decklink with keyer and interlaced clips (3310104).
Dan Dennedy [Fri, 3 Jun 2011 05:37:11 +0000 (22:37 -0700)]
Fix crash in decklink with keyer and interlaced clips (3310104).

13 years agoInstall consumer_decklink.yml.
Dan Dennedy [Fri, 3 Jun 2011 05:11:32 +0000 (22:11 -0700)]
Install consumer_decklink.yml.

13 years agoLet decklink run forever.
Dan Dennedy [Wed, 1 Jun 2011 04:55:38 +0000 (21:55 -0700)]
Let decklink run forever.

Also fix setting resource property.

13 years agoFix decklink choppy playback (3308341).
Dan Dennedy [Tue, 31 May 2011 05:04:25 +0000 (22:04 -0700)]
Fix decklink choppy playback (3308341).

This would occur after several pause and play cycles.

13 years agoMake rotoscoping filter metadata valid yaml.
Dan Dennedy [Mon, 30 May 2011 19:14:32 +0000 (12:14 -0700)]
Make rotoscoping filter metadata valid yaml.

13 years agoAdd service metadata to linsys module (WIP).
Dan Dennedy [Mon, 30 May 2011 19:13:55 +0000 (12:13 -0700)]
Add service metadata to linsys module (WIP).

13 years agoAdd service metadata to xml module (WIP).
Dan Dennedy [Mon, 30 May 2011 18:58:24 +0000 (11:58 -0700)]
Add service metadata to xml module (WIP).

13 years agoAdd service metadata to vorbis module (WIP).
Dan Dennedy [Mon, 30 May 2011 18:52:46 +0000 (11:52 -0700)]
Add service metadata to vorbis module (WIP).

13 years agoAdd service metadata to vmfx module (WIP).
Dan Dennedy [Mon, 30 May 2011 18:49:16 +0000 (11:49 -0700)]
Add service metadata to vmfx module (WIP).

13 years agoRemove aborts in jackrack module.
Dan Dennedy [Mon, 30 May 2011 17:56:45 +0000 (10:56 -0700)]
Remove aborts in jackrack module.

13 years agoAdd service metadata to swfdec module (WIP).
Dan Dennedy [Mon, 30 May 2011 06:48:37 +0000 (23:48 -0700)]
Add service metadata to swfdec module (WIP).

13 years agoAdd service metadata for SDL module (WIP).
Dan Dennedy [Mon, 30 May 2011 06:41:52 +0000 (23:41 -0700)]
Add service metadata for SDL module (WIP).

13 years agoAdd service metadata for qimage module (WIP).
Dan Dennedy [Mon, 30 May 2011 06:21:45 +0000 (23:21 -0700)]
Add service metadata for qimage module (WIP).

13 years agoAdd service metadata to plus module (WIP).
Dan Dennedy [Mon, 30 May 2011 06:04:46 +0000 (23:04 -0700)]
Add service metadata to plus module (WIP).

13 years agoAdd service metadata to normalize module (WIP).
Dan Dennedy [Mon, 30 May 2011 05:54:05 +0000 (22:54 -0700)]
Add service metadata to normalize module (WIP).

13 years agoAdd service metadata to motion_est module (WIP).
Dan Dennedy [Mon, 30 May 2011 05:48:59 +0000 (22:48 -0700)]
Add service metadata to motion_est module (WIP).

13 years agoAdd service metadata for melt module (WIP).
Dan Dennedy [Sun, 29 May 2011 19:41:33 +0000 (12:41 -0700)]
Add service metadata for melt module (WIP).

13 years agoAdd service metadata for kdenlive module (WIP).
Dan Dennedy [Sun, 29 May 2011 19:30:30 +0000 (12:30 -0700)]
Add service metadata for kdenlive module (WIP).

13 years agoAdd service metadata for gtk2 module (WIP).
Dan Dennedy [Sun, 29 May 2011 19:12:42 +0000 (12:12 -0700)]
Add service metadata for gtk2 module (WIP).

13 years agoAdd service metadata for effectv module (WIP).
Dan Dennedy [Sun, 29 May 2011 19:01:27 +0000 (12:01 -0700)]
Add service metadata for effectv module (WIP).

13 years agoAdd service metdata for dv module (WIP).
Dan Dennedy [Sun, 29 May 2011 18:44:20 +0000 (11:44 -0700)]
Add service metdata for dv module (WIP).

13 years agoAdd ruby script to generate wiki text files.
Dan Dennedy [Sun, 29 May 2011 18:28:41 +0000 (11:28 -0700)]
Add ruby script to generate wiki text files.

13 years agoMerge branch 'master' of dennedy.org:git/mltframework.org/mlt
Dan Dennedy [Sun, 29 May 2011 18:26:39 +0000 (11:26 -0700)]
Merge branch 'master' of dennedy.org:git/mltframework.org/mlt

13 years agoAdd service metadata for core module (WIP).
Dan Dennedy [Sun, 29 May 2011 18:26:27 +0000 (11:26 -0700)]
Add service metadata for core module (WIP).

13 years agoReport dropped frames.
Dan Dennedy [Sat, 28 May 2011 16:11:03 +0000 (09:11 -0700)]
Report dropped frames.

13 years agoFix memory leak in decklink producer.
Dan Dennedy [Sat, 28 May 2011 07:49:35 +0000 (00:49 -0700)]
Fix memory leak in decklink producer.

13 years agoConvert Python examples to new frame method.
Dan Dennedy [Sat, 28 May 2011 07:33:41 +0000 (00:33 -0700)]
Convert Python examples to new frame method.

13 years agoFix python binding for OS X
Dan Dennedy [Sat, 28 May 2011 07:32:23 +0000 (00:32 -0700)]
Fix python binding for OS X

13 years agoAdd mlt.Frame.get_image for Python.
Dan Dennedy [Sat, 28 May 2011 07:31:27 +0000 (00:31 -0700)]
Add mlt.Frame.get_image for Python.

13 years agoRefactor melt to mlt_profile_from_producer.
Dan Dennedy [Sat, 28 May 2011 07:28:22 +0000 (00:28 -0700)]
Refactor melt to mlt_profile_from_producer.

13 years agoMerge branch 'master' of dennedy.org:git/mltframework.org/mlt
Dan Dennedy [Sat, 28 May 2011 07:24:09 +0000 (00:24 -0700)]
Merge branch 'master' of dennedy.org:git/mltframework.org/mlt

13 years agoAdd mlt_profile_from_producer().
Dan Dennedy [Sat, 28 May 2011 07:23:48 +0000 (00:23 -0700)]
Add mlt_profile_from_producer().

This new function contains the auto-profile feature.
Plus setters for Mlt::Profile.

13 years agoDo not immediately destroy all cache items on purge.
Dan Dennedy [Fri, 27 May 2011 03:45:30 +0000 (20:45 -0700)]
Do not immediately destroy all cache items on purge.

This is behaving badly with the addition of mlt_service_cache_purge in
the avformat producer because there were frames in consumer buffers
holding references to cache items calling mlt_cache_item_close on
destruction.

13 years agoPrevent multiple starts on mlt_consumer.
Dan Dennedy [Thu, 26 May 2011 04:48:43 +0000 (21:48 -0700)]
Prevent multiple starts on mlt_consumer.

13 years agoFix full closure of avformat on explicit close.
Dan Dennedy [Sun, 22 May 2011 18:30:32 +0000 (11:30 -0700)]
Fix full closure of avformat on explicit close.

JBM wrote:
Creating a video4linux producer like (simplified code):

producer = new Mlt::Producer(*profile, "video4linux2:/dev/video0");
consumer->connect(*producer);
consumer->start();

It works fine. But when I want to stop the capture, there is no way to
stop the video4linux producer. Deleting the producer and the consumer
still leaves the video4linux device open.

After a few hours of struggling, I figured out that some stuff was kept
in the cache. Adding :

mlt_service_cache_purge( MLT_PRODUCER_SERVICE(parent) );

to producer_close (as already done for the qimage producer for example)
fixes the issue.

13 years agoFix regression in protocol/avdevice handling.
Dan Dennedy [Sun, 22 May 2011 18:26:01 +0000 (11:26 -0700)]
Fix regression in protocol/avdevice handling.

13 years agoAdd blacklist for ladspa filters.
Dan Dennedy [Sun, 22 May 2011 18:11:41 +0000 (11:11 -0700)]
Add blacklist for ladspa filters.

Initially includes dssi-vst since that is unstable on AV Linux 5.

13 years agoFix segfault in yadif with gcc 4.6 -O1 or -O2.
Dan Dennedy [Sun, 22 May 2011 17:54:43 +0000 (10:54 -0700)]
Fix segfault in yadif with gcc 4.6 -O1 or -O2.

13 years agoDo not destroy shared plugin_mgr when closing instance.
Dan Dennedy [Wed, 18 May 2011 05:42:01 +0000 (22:42 -0700)]
Do not destroy shared plugin_mgr when closing instance.

13 years agoLet all instances of ladspa share single plugin_mgr.
Dan Dennedy [Wed, 18 May 2011 05:33:54 +0000 (22:33 -0700)]
Let all instances of ladspa share single plugin_mgr.

13 years agoFix regression getting consumer aspect_ratio.
Dan Dennedy [Tue, 17 May 2011 06:30:27 +0000 (23:30 -0700)]
Fix regression getting consumer aspect_ratio.

13 years agoFix background color on default PAL data_show.
Dan Dennedy [Tue, 17 May 2011 06:22:16 +0000 (23:22 -0700)]
Fix background color on default PAL data_show.

13 years agoFix manual deinterlace on B in composite.
Dan Dennedy [Tue, 17 May 2011 05:29:50 +0000 (22:29 -0700)]
Fix manual deinterlace on B in composite.

13 years agoDocument -jack option.
Dan Dennedy [Sun, 15 May 2011 22:42:37 +0000 (15:42 -0700)]
Document -jack option.

13 years agoAdd -query preset to man page.
Dan Dennedy [Sun, 15 May 2011 22:37:33 +0000 (15:37 -0700)]
Add -query preset to man page.

13 years agoChange a log item to debug.
Dan Dennedy [Sun, 15 May 2011 22:25:54 +0000 (15:25 -0700)]
Change a log item to debug.

13 years agoAdd first draft of JACK transport sync.
Dan Dennedy [Sun, 15 May 2011 20:55:53 +0000 (13:55 -0700)]
Add first draft of JACK transport sync.

13 years agoImprove frame-dropping for real_time=1.
Dan Dennedy [Sun, 15 May 2011 22:05:17 +0000 (15:05 -0700)]
Improve frame-dropping for real_time=1.

Uses thresholds relative to fps and buffer levels.
Properly drops more frames to keep audio continuous.
Does not drop first several frames to prevent chopping playback.

13 years agoAdd audio_off and frequency to properties passed to sdl consumer.
Dan Dennedy [Sun, 15 May 2011 20:57:36 +0000 (13:57 -0700)]
Add audio_off and frequency to properties passed to sdl consumer.

13 years agoFix dox error.
Dan Dennedy [Sun, 15 May 2011 20:56:35 +0000 (13:56 -0700)]
Fix dox error.

13 years agoFix big slowdown enumerating all metadata for ladspa plugins.
Dan Dennedy [Sun, 15 May 2011 00:55:35 +0000 (17:55 -0700)]
Fix big slowdown enumerating all metadata for ladspa plugins.

13 years agoFix build on Debian GNU/kFreeBSD.
Dan Dennedy [Sat, 14 May 2011 17:10:51 +0000 (10:10 -0700)]
Fix build on Debian GNU/kFreeBSD.

13 years agoPresets!
Dan Dennedy [Fri, 13 May 2011 03:12:00 +0000 (20:12 -0700)]
Presets!

Put property setters in a file and apply them to a service using
properties=filename. Alternatively, apply a supplied preset using
properties=preset. For example, melt ... -consumer avformat:my.vob
properties=DVD.

13 years agoConvert jackrack printfs to mlt_log (3301094).
Dan Dennedy [Fri, 13 May 2011 02:54:10 +0000 (19:54 -0700)]
Convert jackrack printfs to mlt_log (3301094).

13 years agoAdd service metadata for jackrack, ladspa, and ladspa.id.
Dan Dennedy [Wed, 11 May 2011 04:28:08 +0000 (21:28 -0700)]
Add service metadata for jackrack, ladspa, and ladspa.id.

13 years agoAdd support for ladspa.id variants.
Dan Dennedy [Wed, 11 May 2011 04:27:31 +0000 (21:27 -0700)]
Add support for ladspa.id variants.

This is much more convenient to use without having to compose the JACK
Rack XML. Also, we will be able to add future support for property
animation (automation), which JACK Rack lacks. However, it does still
support loading and processing JACK Rack files.

13 years agoSimplify sox metadata generator.
Dan Dennedy [Wed, 11 May 2011 03:29:46 +0000 (20:29 -0700)]
Simplify sox metadata generator.

13 years agoAllow decklink to build on OS X.
Dan Dennedy [Tue, 10 May 2011 03:05:24 +0000 (20:05 -0700)]
Allow decklink to build on OS X.

13 years agosdl_preview should default to real_time=1
Dan Dennedy [Tue, 10 May 2011 02:00:47 +0000 (19:00 -0700)]
sdl_preview should default to real_time=1

13 years agoRevert change to max consecutive dropped frames.
Dan Dennedy [Tue, 10 May 2011 01:58:30 +0000 (18:58 -0700)]
Revert change to max consecutive dropped frames.

At least until a better heuristic is determined.

13 years agoAdd version check for SOX_EFF_INTERNAL.
Dan Dennedy [Mon, 9 May 2011 01:41:22 +0000 (18:41 -0700)]
Add version check for SOX_EFF_INTERNAL.

13 years agoAdd support for sox.effect variants.
Dan Dennedy [Mon, 9 May 2011 00:59:30 +0000 (17:59 -0700)]
Add support for sox.effect variants.

The legacy forms of 'sox:"effect options"' and 'sox effect="name
options"' still work. The new forms allows them all to be enumerated by
Mlt apps, e.g.: melt -query filter. Also, this registers metadata for
both the generic 'sox' filter and all of the new 'sox.effect' ones
including their usage help!

13 years agoInstall consumer_avformat.yml
Dan Dennedy [Mon, 9 May 2011 00:40:32 +0000 (17:40 -0700)]
Install consumer_avformat.yml

13 years agoFix inadvertent reording of resample filters.
Dan Dennedy [Sun, 8 May 2011 22:50:57 +0000 (15:50 -0700)]
Fix inadvertent reording of resample filters.

And add debug log to avresample.

13 years agoFactor out some frame properties in transitions.
Dan Dennedy [Sat, 7 May 2011 05:46:59 +0000 (22:46 -0700)]
Factor out some frame properties in transitions.

Transitions had to apply a pattern of copying some properties from the A
frame to the B frame that was unrelated to its core routine. This is now
largely taken care of by a recent commit to mlt_transition.c.

13 years agoRevert commits e49264, c9cb51, and e7a775.
Dan Dennedy [Sat, 7 May 2011 04:54:29 +0000 (21:54 -0700)]
Revert commits e49264, c9cb51, and e7a775.

These commits are related to kdenlive bugs 1962 and 2003.
This is about an a/v sync problem when using full duration of a file.
The changes are reverted because I believe the root cause is returning
fewer samples than requested on the last frame of audio, and that was
fixed in the previous commit.
Also, the adjust_length property is removed because it did not work; the
property was not available when trying to get it from within the
constructor. The correct way to adjust the length is to first get the
length and then set the length and out properties.

13 years agoPad the last audio frame with silence.
Dan Dennedy [Sat, 7 May 2011 04:42:33 +0000 (21:42 -0700)]
Pad the last audio frame with silence.

Instead of returning fewer samples than requested.

13 years agoDocument the frame audio and image properties.
Dan Dennedy [Sat, 7 May 2011 04:13:54 +0000 (21:13 -0700)]
Document the frame audio and image properties.

13 years agoMake the frame audio properties consistent.
Dan Dennedy [Sat, 7 May 2011 04:13:37 +0000 (21:13 -0700)]
Make the frame audio properties consistent.

13 years agoFix avformat producer to use new mlt audio formats.
Dan Dennedy [Sat, 7 May 2011 04:03:54 +0000 (21:03 -0700)]
Fix avformat producer to use new mlt audio formats.

13 years agoAdd conversion routines for new audio formats.
Dan Dennedy [Sat, 7 May 2011 03:56:27 +0000 (20:56 -0700)]
Add conversion routines for new audio formats.

These only doing conversion _from_ the new types mlt_audio_s32le and
mlt_audio_f32le. There are no plans at the moment for conversion into
them, but it is certainly not out of the question.

13 years agoAdd mlt_audio_s32le and mlt_audio_f32le audio formats.
Dan Dennedy [Sat, 7 May 2011 03:53:50 +0000 (20:53 -0700)]
Add mlt_audio_s32le and mlt_audio_f32le audio formats.

13 years agoAdd audiochannels normalization filter.
Dan Dennedy [Sat, 7 May 2011 03:52:25 +0000 (20:52 -0700)]
Add audiochannels normalization filter.

Refactors code from the resamplers into a new filter to be more
manageable. Eventually, we can add options on what to do when
adding/removing channels.

13 years agoFix channel count for resizing decoded audio buffer when not resampling.
Dan Dennedy [Fri, 6 May 2011 06:07:27 +0000 (23:07 -0700)]
Fix channel count for resizing decoded audio buffer when not resampling.

13 years agoFix regressions in audio decoding.
Dan Dennedy [Fri, 6 May 2011 05:48:27 +0000 (22:48 -0700)]
Fix regressions in audio decoding.

13 years agoCleanup compile warnings.
Dan Dennedy [Thu, 5 May 2011 07:39:49 +0000 (00:39 -0700)]
Cleanup compile warnings.

13 years agoSimplify audio pointer and sample size code.
Dan Dennedy [Thu, 5 May 2011 07:33:37 +0000 (00:33 -0700)]
Simplify audio pointer and sample size code.

13 years agoWIP to get >16-bit multi-channel audio working.
Dan Dennedy [Mon, 2 May 2011 05:35:36 +0000 (22:35 -0700)]
WIP to get >16-bit multi-channel audio working.

Seems close, but something is wrong.

13 years agoCopy cached image if writable copy requested.
Dan Dennedy [Thu, 5 May 2011 05:26:58 +0000 (22:26 -0700)]
Copy cached image if writable copy requested.

13 years agoEnsure transition B frames get some consumer properties.
Dan Dennedy [Wed, 4 May 2011 06:23:59 +0000 (23:23 -0700)]
Ensure transition B frames get some consumer properties.

Also, ensure both A and B frames have sane scaling and aspect ratio
values.
This addresses an issue where composite and region were not getting the
correct deinterlace method impacting performance. In addition, it
factors out some common code (best practice) from various transitions
moving it into the framework.

13 years agoUpdate ChangeLog for v0.7.2
Dan Dennedy [Mon, 2 May 2011 05:59:12 +0000 (22:59 -0700)]
Update ChangeLog for v0.7.2

13 years agoSet version to 0.7.2
Dan Dennedy [Mon, 2 May 2011 05:58:20 +0000 (22:58 -0700)]
Set version to 0.7.2

13 years agoAdd release notes for v0.7.2.
Dan Dennedy [Mon, 2 May 2011 05:56:29 +0000 (22:56 -0700)]
Add release notes for v0.7.2.

13 years agoFinish work to normalize channel count.
Dan Dennedy [Mon, 2 May 2011 05:17:48 +0000 (22:17 -0700)]
Finish work to normalize channel count.

Also, refactor the audio resamplers to use mlt_audio_format_size() and
mlt_frame_set_audio(). Currently, there are no controls over which
channels to drop or duplicate.

13 years agoRefactor to mlt_frame_set_audio().
Dan Dennedy [Mon, 2 May 2011 05:08:18 +0000 (22:08 -0700)]
Refactor to mlt_frame_set_audio().

13 years agoLet 'Q' stop melt as well.
Dan Dennedy [Mon, 2 May 2011 05:06:11 +0000 (22:06 -0700)]
Let 'Q' stop melt as well.

13 years agoFix alpha on color of some data-feed properties.
Dan Dennedy [Mon, 2 May 2011 00:44:07 +0000 (17:44 -0700)]
Fix alpha on color of some data-feed properties.

13 years agoFree temp string.
Dan Dennedy [Sun, 1 May 2011 22:12:35 +0000 (15:12 -0700)]
Free temp string.

13 years agoFix regression (flickering) in commit 84b5b2.
Dan Dennedy [Sun, 1 May 2011 22:00:53 +0000 (15:00 -0700)]
Fix regression (flickering) in commit 84b5b2.

13 years agoAdd support for new codec- and muxer-specific AVOptions.
Dan Dennedy [Sun, 1 May 2011 21:07:56 +0000 (14:07 -0700)]
Add support for new codec- and muxer-specific AVOptions.

13 years agoDYLD_LIBRARY_PATH not needed for me on OS X.
Dan Dennedy [Sun, 1 May 2011 02:42:06 +0000 (19:42 -0700)]
DYLD_LIBRARY_PATH not needed for me on OS X.

13 years agoFix sample rate and channel count from avformat producer.
Dan Dennedy [Sun, 1 May 2011 02:03:13 +0000 (19:03 -0700)]
Fix sample rate and channel count from avformat producer.

If unable to resample or the decoder does not give the requested channel
count, then we should return the actual values so downstream components
can do the correct thing if they can. A good example of this is 6
channel AAC when the consumer requests 2 channels. Unlike the AC-3
decoder, the AAC decoder can not downmix. So, we were returning audio
pcm containing 6 channels but with a channel count of 2.

13 years agoTry to duplicate last image if decoding fails.
Dan Dennedy [Fri, 29 Apr 2011 07:41:22 +0000 (00:41 -0700)]
Try to duplicate last image if decoding fails.

13 years agoFix intermitent crash in mlt_consumer consumer_read_ahead_thread.
Dan Dennedy [Fri, 22 Apr 2011 23:08:22 +0000 (16:08 -0700)]
Fix intermitent crash in mlt_consumer consumer_read_ahead_thread.

13 years agoUse new av_get_bits_per_sample_fmt() in avformat producer.
Dan Dennedy [Fri, 22 Apr 2011 20:08:54 +0000 (13:08 -0700)]
Use new av_get_bits_per_sample_fmt() in avformat producer.

13 years agoUse new avio functions in avformat module.
Dan Dennedy [Fri, 22 Apr 2011 20:01:34 +0000 (13:01 -0700)]
Use new avio functions in avformat module.

13 years agoFix deadlock in sdl_audio appearing in kdenlive.
Dan Dennedy [Thu, 21 Apr 2011 23:36:34 +0000 (16:36 -0700)]
Fix deadlock in sdl_audio appearing in kdenlive.

13 years agoFix compile warns in producer_ppm.c.
Dan Dennedy [Thu, 21 Apr 2011 21:51:05 +0000 (14:51 -0700)]
Fix compile warns in producer_ppm.c.

13 years agoFix regression initializing coefficients.
Dan Dennedy [Thu, 21 Apr 2011 21:39:45 +0000 (14:39 -0700)]
Fix regression initializing coefficients.

13 years agoUse newer av_get_sample_fmt_name() if available.
Dan Dennedy [Thu, 21 Apr 2011 21:34:47 +0000 (14:34 -0700)]
Use newer av_get_sample_fmt_name() if available.