]> git.sesse.net Git - mlt/log
mlt
13 years agoFix composite using wrong B frame scaling.
Dan Dennedy [Mon, 28 Mar 2011 02:13:55 +0000 (19:13 -0700)]
Fix composite using wrong B frame scaling.

This could happen when the caller of mlt_frame_get_image supplied 0 for
width and height. For example, Kdenlive's GL output with the sdl_audio
consumer with real_time > 1 and paused.

13 years agoFix segfaul on missing melt argument (3249982).
Dan Dennedy [Mon, 28 Mar 2011 01:37:04 +0000 (18:37 -0700)]
Fix segfaul on missing melt argument (3249982).

13 years agoFix some crashing in sdl_audio.
Dan Dennedy [Sun, 27 Mar 2011 17:16:17 +0000 (10:16 -0700)]
Fix some crashing in sdl_audio.

13 years agoAlso increase audio_buffer default in sdl_audio.
Dan Dennedy [Sun, 27 Mar 2011 16:57:27 +0000 (09:57 -0700)]
Also increase audio_buffer default in sdl_audio.

13 years agoDisable VDPAU by default.
Dan Dennedy [Sun, 27 Mar 2011 16:51:23 +0000 (09:51 -0700)]
Disable VDPAU by default.

Require new --avformat-vdpau to enable it.

13 years agoUse mlt_properties_get_value where possible.
Dan Dennedy [Sun, 27 Mar 2011 16:50:29 +0000 (09:50 -0700)]
Use mlt_properties_get_value where possible.

13 years agoAdd mlt_properties_lock and _unlock.
Dan Dennedy [Sun, 27 Mar 2011 16:49:40 +0000 (09:49 -0700)]
Add mlt_properties_lock and _unlock.

Fixes some concurrency safetiness problems.

13 years agoEnable linsys by default on Linux.
Dan Dennedy [Fri, 25 Mar 2011 05:20:14 +0000 (22:20 -0700)]
Enable linsys by default on Linux.

Disable linsys and decklink by default on OS X and Windows.

13 years agoDisplay all configure options with --help.
Dan Dennedy [Fri, 25 Mar 2011 05:11:27 +0000 (22:11 -0700)]
Display all configure options with --help.

Regardless of --enable-gpl setting.

13 years agoRedo locking in avformat producer.
Dan Dennedy [Fri, 25 Mar 2011 03:00:47 +0000 (20:00 -0700)]
Redo locking in avformat producer.

This significantly improves concurrency. The service locks added during
parallel consumer development also introduced a concurrency performance
regression even for the single-threaded consumer. The result was much
audio discontinuity due to audio output buffer underruns. As a result,
the recent bug fix to re-open the video demuxer upon seeking to the
first frame had to be rewritten.

13 years agoFix vdpau crashes when failed to init.
Dan Dennedy [Thu, 24 Mar 2011 05:46:46 +0000 (22:46 -0700)]
Fix vdpau crashes when failed to init.

13 years agoFix unchecked vdpau pointer.
Dan Dennedy [Thu, 24 Mar 2011 05:14:16 +0000 (22:14 -0700)]
Fix unchecked vdpau pointer.

13 years agoDefault sdl_preview prefill to 1.
Dan Dennedy [Thu, 24 Mar 2011 03:36:47 +0000 (20:36 -0700)]
Default sdl_preview prefill to 1.

Since buffer and prefill were recently passed from sdl_preview onto sdl,
sdl's default buffer level changed to the base service default of 25.
That change increases the latency of transport controls. Changing the
prefill to 1 resolves that while still allowing the rendering thread a
chance to do some anticipatory work.

13 years agoFix a comment in decklink consumer.
Dan Dennedy [Wed, 23 Mar 2011 07:27:30 +0000 (00:27 -0700)]
Fix a comment in decklink consumer.

13 years agoFix a couple null pointer bugs.
Dan Dennedy [Wed, 23 Mar 2011 07:11:59 +0000 (00:11 -0700)]
Fix a couple null pointer bugs.

13 years agoImprove frame-dropping in decklink.
Dan Dennedy [Wed, 23 Mar 2011 06:53:35 +0000 (23:53 -0700)]
Improve frame-dropping in decklink.

13 years agoFix build of jackrack module on mingw.
Dan Dennedy [Sun, 20 Mar 2011 23:59:50 +0000 (16:59 -0700)]
Fix build of jackrack module on mingw.

13 years agoAdd high frame rate 1080p profiles.
Dan Dennedy [Sat, 19 Mar 2011 19:40:00 +0000 (12:40 -0700)]
Add high frame rate 1080p profiles.

13 years agoFix regression on seeking to first frame with audio_index set.
Dan Dennedy [Fri, 18 Mar 2011 04:06:49 +0000 (21:06 -0700)]
Fix regression on seeking to first frame with audio_index set.

13 years agoAdd force_length and adjust_length properties.
Dan Dennedy [Tue, 15 Mar 2011 05:08:01 +0000 (22:08 -0700)]
Add force_length and adjust_length properties.

The reporter on kdenlive bug 2003 reports another user on IRC had the
same problem with clips being too long. Change the default length
adjustment to be more safe and add new properties to affect the
heuristic for other applications that might want a different behavior.
adjust_length applies a plus/minus operand to the detected length.
force_length provides a brute force length override.

13 years agoFix some incorrect frame rates in avformat (kdenlive-1616).
Dan Dennedy [Tue, 15 Mar 2011 03:31:09 +0000 (20:31 -0700)]
Fix some incorrect frame rates in avformat (kdenlive-1616).

13 years agoSupport frei0r transitions that use f0r_update2().
Dan Dennedy [Tue, 15 Mar 2011 02:29:26 +0000 (19:29 -0700)]
Support frei0r transitions that use f0r_update2().

13 years agoFix amd64 detection on FreeBSD.
Dan Dennedy [Tue, 15 Mar 2011 02:07:27 +0000 (19:07 -0700)]
Fix amd64 detection on FreeBSD.

Patch from Alberto Villa.

13 years agoAdd boolean use_profile property to crop filter.
Dan Dennedy [Sun, 13 Mar 2011 23:30:53 +0000 (16:30 -0700)]
Add boolean use_profile property to crop filter.

This lets one express crop amounts in pixels relative to profile
resolution instead of in terms of source resolution.

13 years agoWe do not yet support f0r_param_position_t.
Dan Dennedy [Sun, 13 Mar 2011 08:39:24 +0000 (00:39 -0800)]
We do not yet support f0r_param_position_t.

13 years agoSet global variables to NULL in mlt_factory_close
Ertan Deniz [Sat, 12 Mar 2011 18:54:47 +0000 (20:54 +0200)]
Set global variables to NULL in mlt_factory_close

to enable mlt_factory to be initialized and closed multiple times.

13 years agoPrefer opening codec by name instead of by ID.
Dan Dennedy [Sat, 12 Mar 2011 08:50:27 +0000 (00:50 -0800)]
Prefer opening codec by name instead of by ID.

This fixes a bug with actually using libxvid instead of mpeg4 because
both share the same CODEC_ID_MPEG4. This is similar to the recent
problem with ac3 selection in new versions of ffmpeg that have 2 ac3
encoders.

13 years agoRefactor frei0r and fix time parameter.
Dan Dennedy [Wed, 9 Mar 2011 09:19:04 +0000 (01:19 -0800)]
Refactor frei0r and fix time parameter.

Refactored to use mlt_filter_get_position and
mlt_transition_get_position.
frei0r's time parameter is seconds, but we were passing frame count.

13 years agoFix region transition with more than 2 tracks.
Dan Dennedy [Wed, 9 Mar 2011 09:14:58 +0000 (01:14 -0800)]
Fix region transition with more than 2 tracks.

13 years agoRefactor to mlt_transition_get_position()
Dan Dennedy [Wed, 9 Mar 2011 08:48:56 +0000 (00:48 -0800)]
Refactor to mlt_transition_get_position()

13 years agoAdd mlt_transition_get_position()
Dan Dennedy [Wed, 9 Mar 2011 08:45:28 +0000 (00:45 -0800)]
Add mlt_transition_get_position()

13 years agoRemove obsolete unique position on frame.
Dan Dennedy [Wed, 9 Mar 2011 08:05:40 +0000 (00:05 -0800)]
Remove obsolete unique position on frame.

13 years agoUse the producer when always active.
Dan Dennedy [Wed, 9 Mar 2011 08:02:22 +0000 (00:02 -0800)]
Use the producer when always active.

13 years agoRefactor to mlt_filter_get_position().
Dan Dennedy [Wed, 9 Mar 2011 08:00:02 +0000 (00:00 -0800)]
Refactor to mlt_filter_get_position().

13 years agoRefactor to mlt_filter_get_progress().
Dan Dennedy [Wed, 9 Mar 2011 07:59:27 +0000 (23:59 -0800)]
Refactor to mlt_filter_get_progress().

13 years agoUse the producer when filter/transition always active.
Dan Dennedy [Wed, 9 Mar 2011 07:57:15 +0000 (23:57 -0800)]
Use the producer when filter/transition always active.

13 years agoAdd mlt_filter_get_position().
Dan Dennedy [Wed, 9 Mar 2011 07:52:29 +0000 (23:52 -0800)]
Add mlt_filter_get_position().

13 years agoRefactor to mlt_transition_get_progress_delta().
Dan Dennedy [Tue, 8 Mar 2011 06:58:50 +0000 (22:58 -0800)]
Refactor to mlt_transition_get_progress_delta().

13 years agoAdd mlt_transition_get_progress_delta().
Dan Dennedy [Tue, 8 Mar 2011 06:58:29 +0000 (22:58 -0800)]
Add mlt_transition_get_progress_delta().

13 years agoRefactor to mlt_transition_get_progress().
Dan Dennedy [Tue, 8 Mar 2011 06:36:17 +0000 (22:36 -0800)]
Refactor to mlt_transition_get_progress().

13 years agoAdd mlt_transition_get_progress().
Dan Dennedy [Tue, 8 Mar 2011 06:34:25 +0000 (22:34 -0800)]
Add mlt_transition_get_progress().

13 years agoRefactor to mlt_filter_get_progress().
Dan Dennedy [Tue, 8 Mar 2011 05:55:53 +0000 (21:55 -0800)]
Refactor to mlt_filter_get_progress().

13 years agoAdd mlt_filter_get_progress().
Dan Dennedy [Tue, 8 Mar 2011 05:50:37 +0000 (21:50 -0800)]
Add mlt_filter_get_progress().

13 years agoRefactor to mlt_transition_get_length().
Dan Dennedy [Tue, 8 Mar 2011 05:48:37 +0000 (21:48 -0800)]
Refactor to mlt_transition_get_length().

13 years agoFix regression on AC-3 fix.
Dan Dennedy [Fri, 11 Mar 2011 07:08:55 +0000 (23:08 -0800)]
Fix regression on AC-3 fix.

The recent AC-3 fix broke automatic codec selection based on format. So,
we choose codec by name only for ac3 now.

13 years agoFix typo in swfdec configure script.
Dan Dennedy [Fri, 11 Mar 2011 05:53:46 +0000 (21:53 -0800)]
Fix typo in swfdec configure script.

13 years agoAdd build support for swfdec 0.7.
Dan Dennedy [Fri, 11 Mar 2011 05:47:28 +0000 (21:47 -0800)]
Add build support for swfdec 0.7.

And prioritize newer versions over older ones.

13 years agoMerge branch 'roto'
Dan Dennedy [Fri, 11 Mar 2011 05:13:47 +0000 (21:13 -0800)]
Merge branch 'roto'

13 years agoIncrease resample buffer size.
Dan Dennedy [Fri, 11 Mar 2011 04:48:25 +0000 (20:48 -0800)]
Increase resample buffer size.

For example, trying to resample 6 channels of 48 KHz would fail.

13 years agoRemove unnecessary audio conversion to float.
Dan Dennedy [Fri, 11 Mar 2011 04:13:50 +0000 (20:13 -0800)]
Remove unnecessary audio conversion to float.

13 years agoFix audio resample with audio_index=all.
Dan Dennedy [Fri, 11 Mar 2011 04:12:51 +0000 (20:12 -0800)]
Fix audio resample with audio_index=all.

This still only works with channels <= 2. Streams with channels > 2 are
resampled downstream with the resample filter. However, that only works
when said stream has the highest sample rate.

13 years agoRotoscoping: use new API functions to prevent some possible issues.
Till Theato [Mon, 7 Mar 2011 14:42:22 +0000 (15:42 +0100)]
Rotoscoping: use new API functions to prevent some possible issues.

13 years agoFix regression in audioconvert.
Dan Dennedy [Mon, 7 Mar 2011 08:58:32 +0000 (00:58 -0800)]
Fix regression in audioconvert.

13 years agoRefactor to use mlt_transition_get_length().
Dan Dennedy [Mon, 7 Mar 2011 07:45:42 +0000 (23:45 -0800)]
Refactor to use mlt_transition_get_length().

13 years agoAdd mlt_transition_get_length().
Dan Dennedy [Mon, 7 Mar 2011 07:45:08 +0000 (23:45 -0800)]
Add mlt_transition_get_length().

13 years agoRefactor to use mlt_frame_get_length().
Dan Dennedy [Mon, 7 Mar 2011 07:44:10 +0000 (23:44 -0800)]
Refactor to use mlt_frame_get_length().

13 years agoRemove unused variable.
Dan Dennedy [Mon, 7 Mar 2011 07:10:59 +0000 (23:10 -0800)]
Remove unused variable.

13 years agoAdd mlt_filter_get_length().
Dan Dennedy [Mon, 7 Mar 2011 07:10:36 +0000 (23:10 -0800)]
Add mlt_filter_get_length().

13 years agoRefactor to use mlt_producer_get_playtime().
Dan Dennedy [Mon, 7 Mar 2011 07:06:47 +0000 (23:06 -0800)]
Refactor to use mlt_producer_get_playtime().

13 years agoRefactor to mlt_audio_format_size().
Dan Dennedy [Mon, 7 Mar 2011 06:16:50 +0000 (22:16 -0800)]
Refactor to mlt_audio_format_size().

13 years agoAdd mlt_audio_format_size().
Dan Dennedy [Mon, 7 Mar 2011 06:16:01 +0000 (22:16 -0800)]
Add mlt_audio_format_size().

13 years agoRemove unused variables.
Dan Dennedy [Mon, 7 Mar 2011 06:04:24 +0000 (22:04 -0800)]
Remove unused variables.

13 years agoDefine out this unused code.
Dan Dennedy [Mon, 7 Mar 2011 06:04:01 +0000 (22:04 -0800)]
Define out this unused code.

13 years agoRefactor to use mlt_image_format_size().
Dan Dennedy [Mon, 7 Mar 2011 06:02:06 +0000 (22:02 -0800)]
Refactor to use mlt_image_format_size().

13 years agoAdd mlt_image_format_size()
Dan Dennedy [Mon, 7 Mar 2011 05:57:10 +0000 (21:57 -0800)]
Add mlt_image_format_size()

13 years agoRefactor to use mlt_frame_set_image/_alpha.
Dan Dennedy [Mon, 7 Mar 2011 05:09:33 +0000 (21:09 -0800)]
Refactor to use mlt_frame_set_image/_alpha.

13 years agoAdd mlt_frame_set_image and mlt_frame_set_alpha.
Dan Dennedy [Mon, 7 Mar 2011 05:07:52 +0000 (21:07 -0800)]
Add mlt_frame_set_image and mlt_frame_set_alpha.

13 years agoFix spelling error in doxygen.
Dan Dennedy [Mon, 7 Mar 2011 05:06:05 +0000 (21:06 -0800)]
Fix spelling error in doxygen.

13 years agoFix thread cleanup on parallel consumer stop.
Dan Dennedy [Mon, 7 Mar 2011 03:22:04 +0000 (19:22 -0800)]
Fix thread cleanup on parallel consumer stop.

This was appearing often as a segfault at the end of melt with the
avformat consumer.

13 years agoAlias bicubic for hyper in pango and pixbuf.
Dan Dennedy [Sun, 6 Mar 2011 22:59:55 +0000 (14:59 -0800)]
Alias bicubic for hyper in pango and pixbuf.

13 years agoAdd gpl flag file to rotoscoping filter.
Dan Dennedy [Sun, 6 Mar 2011 22:47:29 +0000 (14:47 -0800)]
Add gpl flag file to rotoscoping filter.

13 years agoMerge branch 'roto' of git://github.com/ttill/MLT-roto into roto
Dan Dennedy [Sun, 6 Mar 2011 22:43:08 +0000 (14:43 -0800)]
Merge branch 'roto' of git://github.com/ttill/MLT-roto into roto

13 years agoFix AC-3 encoding (kdenlive-2010).
Dan Dennedy [Sun, 6 Mar 2011 09:29:27 +0000 (01:29 -0800)]
Fix AC-3 encoding (kdenlive-2010).

FFmpeg now has separate encoders that take float versus fixed samples.

13 years agoMake 'bicubic' an alias for highest quality in gtk scaler.
Dan Dennedy [Sun, 6 Mar 2011 07:25:34 +0000 (23:25 -0800)]
Make 'bicubic' an alias for highest quality in gtk scaler.

13 years agoFix handling monochrome in qimage.
Dan Dennedy [Sun, 6 Mar 2011 07:21:07 +0000 (23:21 -0800)]
Fix handling monochrome in qimage.

13 years agoFix string comparison and requested luma size.
Dan Dennedy [Fri, 4 Mar 2011 07:57:39 +0000 (23:57 -0800)]
Fix string comparison and requested luma size.

13 years agoPrevent attempt to pad to a smaller size.
Dan Dennedy [Fri, 4 Mar 2011 07:55:25 +0000 (23:55 -0800)]
Prevent attempt to pad to a smaller size.

13 years agoFix luma semantics when both reverse and invert.
Dan Dennedy [Fri, 4 Mar 2011 05:44:21 +0000 (21:44 -0800)]
Fix luma semantics when both reverse and invert.

Previously, when not using a wipe (dissolve), invert would make the
transition have no effect. Now, it works and does the same thing as
reverse. Also, when using a wipe, reverse had no effect when invert was
set, and the desired effect could not be achieved. Now, it works as
expected.

13 years agoSet a profile for the demo script.
Dan Dennedy [Fri, 4 Mar 2011 04:56:14 +0000 (20:56 -0800)]
Set a profile for the demo script.

13 years agoDrop MainConcept and BlueFish444 from the demo consumers.
Dan Dennedy [Fri, 4 Mar 2011 04:31:59 +0000 (20:31 -0800)]
Drop MainConcept and BlueFish444 from the demo consumers.

13 years agoImprove mlt_properties_close() in debugger.
Dan Dennedy [Fri, 4 Mar 2011 04:31:28 +0000 (20:31 -0800)]
Improve mlt_properties_close() in debugger.

13 years agoRewrite wave filter to be parallel-safe.
Dan Dennedy [Thu, 3 Mar 2011 07:23:53 +0000 (23:23 -0800)]
Rewrite wave filter to be parallel-safe.

It does this by using mlt_frame_unique_properties(). Also, it fixes a
problem not properly processing a source image.

13 years agoRefactor volume to use mlt_frame_unique_properties().
Dan Dennedy [Thu, 3 Mar 2011 07:20:31 +0000 (23:20 -0800)]
Refactor volume to use mlt_frame_unique_properties().

13 years agoAdd mlt_frame_unique_properties().
Dan Dennedy [Thu, 3 Mar 2011 07:19:43 +0000 (23:19 -0800)]
Add mlt_frame_unique_properties().

13 years agoRename 'this' in avformat module.
Dan Dennedy [Thu, 3 Mar 2011 07:13:31 +0000 (23:13 -0800)]
Rename 'this' in avformat module.

13 years agoMark more frei0r filters not thread-safe.
Dan Dennedy [Thu, 3 Mar 2011 05:22:04 +0000 (21:22 -0800)]
Mark more frei0r filters not thread-safe.

13 years agoFix deadlock regression in framebuffer producer.
Dan Dennedy [Wed, 2 Mar 2011 06:26:07 +0000 (22:26 -0800)]
Fix deadlock regression in framebuffer producer.

13 years agoFlag some frei0r filters as not thread-safe.
Dan Dennedy [Wed, 2 Mar 2011 05:42:41 +0000 (21:42 -0800)]
Flag some frei0r filters as not thread-safe.

13 years agoFix deadlock in sdl_preview.
Dan Dennedy [Wed, 2 Mar 2011 05:41:42 +0000 (21:41 -0800)]
Fix deadlock in sdl_preview.

This would occur when trying to play from a paused state at the end of
the project.

13 years agorotoscoping: remove parameter precision.
Till Theato [Tue, 1 Mar 2011 16:56:42 +0000 (17:56 +0100)]
rotoscoping: remove parameter precision.
Its influence on speed was very minimal while it caused some crashes.
Also update YAML filter description.

13 years agoFix integrity of luma transition when parallel.
Dan Dennedy [Tue, 1 Mar 2011 07:45:46 +0000 (23:45 -0800)]
Fix integrity of luma transition when parallel.

13 years agoWorkaround incorrect duration on some clips (kdenlive-2003).
Dan Dennedy [Tue, 1 Mar 2011 06:18:15 +0000 (22:18 -0800)]
Workaround incorrect duration on some clips (kdenlive-2003).

13 years agoFix regression in determination of seekable.
Dan Dennedy [Tue, 1 Mar 2011 05:56:18 +0000 (21:56 -0800)]
Fix regression in determination of seekable.

13 years agoRename this to self in the framework.
Dan Dennedy [Tue, 1 Mar 2011 05:02:00 +0000 (21:02 -0800)]
Rename this to self in the framework.

This makes doxygen output better match the headers, and it improves life
within a code-parsing IDE like Qt Creator.

13 years agoFixup demo.ini
Dan Dennedy [Tue, 1 Mar 2011 05:00:06 +0000 (21:00 -0800)]
Fixup demo.ini

13 years agoRename self to g in mlt_geometry.
Dan Dennedy [Tue, 1 Mar 2011 03:47:49 +0000 (19:47 -0800)]
Rename self to g in mlt_geometry.

13 years agoFix compiler error on older version of libavutil.
Dan Dennedy [Mon, 28 Feb 2011 18:16:55 +0000 (10:16 -0800)]
Fix compiler error on older version of libavutil.

13 years agoFix mlt_consumer_position when encoding audio only.
Dan Dennedy [Mon, 28 Feb 2011 05:47:01 +0000 (21:47 -0800)]
Fix mlt_consumer_position when encoding audio only.

13 years agoAdd support for FFmpeg AVMetadata API.
Dan Dennedy [Mon, 28 Feb 2011 05:27:44 +0000 (21:27 -0800)]
Add support for FFmpeg AVMetadata API.

13 years agoFix compiler warning on av_get_pix_fmt().
Dan Dennedy [Mon, 28 Feb 2011 03:40:28 +0000 (19:40 -0800)]
Fix compiler warning on av_get_pix_fmt().