]> git.sesse.net Git - mlt/log
mlt
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().

13 years agoRewrite seekable check in avformat.
Dan Dennedy [Sun, 27 Feb 2011 20:54:19 +0000 (12:54 -0800)]
Rewrite seekable check in avformat.

Now, alsa input works:
melt -profile dv_pal alsa:default

video4linux with alsa:
melt -profile quarter_15 video4linux2:/dev/video1 \
-track alsa:default -transition mix

And files over HTTP can handle seeking.

13 years agorotoscoping: Add parameters feather and feather_passes.
Till Theato [Sun, 27 Feb 2011 19:23:28 +0000 (20:23 +0100)]
rotoscoping: Add parameters feather and feather_passes.
Feathering is done by bluring the map containing the masked area.

13 years agoRemove frei0r.facedetect from black list.
Dan Dennedy [Sun, 27 Feb 2011 01:23:23 +0000 (17:23 -0800)]
Remove frei0r.facedetect from black list.

13 years agoMark frei0r.cluster as not thread-safe.
Dan Dennedy [Sun, 27 Feb 2011 01:22:47 +0000 (17:22 -0800)]
Mark frei0r.cluster as not thread-safe.

13 years agoFix small memory leak each a frei0r plugin is instantiated.
Dan Dennedy [Sun, 27 Feb 2011 01:21:52 +0000 (17:21 -0800)]
Fix small memory leak each a frei0r plugin is instantiated.

13 years agoAdd support for pix_fmt on avformat resource URL.
Dan Dennedy [Sat, 26 Feb 2011 05:10:10 +0000 (21:10 -0800)]
Add support for pix_fmt on avformat resource URL.

For example, libdc1394:/dev/raw1394?frame_rate:15\&pix_fmt:yuv422
makes a Firewire digital camera (not DV camcorder) on Linux work.

13 years agoAdd support for avdevice video channel selection.
Dan Dennedy [Sat, 26 Feb 2011 04:25:45 +0000 (20:25 -0800)]
Add support for avdevice video channel selection.

For example, video4linux2:/dev/video0?channel=2 sets the input to S-

13 years agofix setenv
Dan Dennedy [Sat, 26 Feb 2011 03:57:51 +0000 (19:57 -0800)]
fix setenv

13 years agoSupport forever transitions (in and out not supplied).
Dan Dennedy [Fri, 25 Feb 2011 06:33:22 +0000 (22:33 -0800)]
Support forever transitions (in and out not supplied).

13 years agoAdd 'factor' property to scale filters.
Dan Dennedy [Fri, 25 Feb 2011 06:19:21 +0000 (22:19 -0800)]
Add 'factor' property to scale filters.

Under certain conditions it can be desirable to manually change the
resolution. Caution: one can still not use this in a completely generic
way with this change.

For example, in a realtime playout situation, one can attach swscale
with factor=0.25, followed by frei0r.cluster, followed by swscale again
with no properties. The first swscale will downscale the image for the
heavy cluster filter. The last swscale will upscale it to make the rest
of the project components happy.

13 years agoMark some frei0r plugins as not thread safe.
Dan Dennedy [Mon, 21 Feb 2011 06:54:00 +0000 (22:54 -0800)]
Mark some frei0r plugins as not thread safe.

13 years agorotoscoping: number of points can now change from keyframe to keyframe.
Till Theato [Sun, 20 Feb 2011 18:40:17 +0000 (19:40 +0100)]
rotoscoping: number of points can now change from keyframe to keyframe.
Result may be unexpected though.
Additionally some cleanup

13 years agorotoscoping: rename mode "matte" to "luma"
Till Theato [Sun, 20 Feb 2011 15:01:55 +0000 (16:01 +0100)]
rotoscoping: rename mode "matte" to "luma"
Additionally prevent serialization of internal parameters

13 years agoFix video4linux in avformat producer.
Dan Dennedy [Sun, 20 Feb 2011 05:39:54 +0000 (21:39 -0800)]
Fix video4linux in avformat producer.

melt video4linux2:/dev/video0