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

13 years agoRemove info about mainconcept and bluefish services.
Dan Dennedy [Sun, 20 Feb 2011 02:28:16 +0000 (18:28 -0800)]
Remove info about mainconcept and bluefish services.

13 years agoAdd profile parameter to mlt_producer_new.
Dan Dennedy [Sun, 20 Feb 2011 02:12:17 +0000 (18:12 -0800)]
Add profile parameter to mlt_producer_new.

13 years agoCheck pointer passed to mlt_service_profile.
Dan Dennedy [Sun, 20 Feb 2011 02:10:39 +0000 (18:10 -0800)]
Check pointer passed to mlt_service_profile.

13 years agoFix aspect ratio of color producer.
Dan Dennedy [Sun, 20 Feb 2011 01:50:44 +0000 (17:50 -0800)]
Fix aspect ratio of color producer.

13 years agoAdd --enable-debug option.
Dan Dennedy [Sun, 20 Feb 2011 01:45:44 +0000 (17:45 -0800)]
Add --enable-debug option.

13 years agoStore exif orientation.
j-b-m [Sat, 19 Feb 2011 21:39:19 +0000 (13:39 -0800)]
Store exif orientation.

Patch attached internally stores the exif orientation so that it can be
accessible to the framework and apps using it.

Useful it in Kdenlive to correctly rotate images when creating proxy
images.

13 years agoFix lib suffix on motion_est.
Dan Dennedy [Sat, 19 Feb 2011 08:16:19 +0000 (00:16 -0800)]
Fix lib suffix on motion_est.

13 years agoDisable purging consumer on seek in sdl_audio.
Dan Dennedy [Thu, 17 Feb 2011 06:32:38 +0000 (22:32 -0800)]
Disable purging consumer on seek in sdl_audio.

Due to misbehaving on parallel-consumer.

13 years agorotoscoping: Use "property-changed" event to find out when to parse the
Till Theato [Wed, 16 Feb 2011 15:42:29 +0000 (16:42 +0100)]
rotoscoping: Use "property-changed" event to find out when to parse the
spline

13 years agoPlayout remaining frames in sdl at end-of-stream.
Dan Dennedy [Mon, 14 Feb 2011 06:24:12 +0000 (22:24 -0800)]
Playout remaining frames in sdl at end-of-stream.

13 years agoFix deadlocks in sdl_preview with parallel-consumer.
Dan Dennedy [Mon, 14 Feb 2011 06:21:21 +0000 (22:21 -0800)]
Fix deadlocks in sdl_preview with parallel-consumer.

13 years agoFix image skew bug in composite (kdenlive-1923).
Dan Dennedy [Wed, 9 Feb 2011 04:52:01 +0000 (20:52 -0800)]
Fix image skew bug in composite (kdenlive-1923).

13 years agoFix deinterlace when luma is inverted (kdenlive-1953).
Dan Dennedy [Tue, 8 Feb 2011 08:12:06 +0000 (00:12 -0800)]
Fix deinterlace when luma is inverted (kdenlive-1953).

13 years agoMake offset in affine transition keyframable.
j-b-m [Tue, 8 Feb 2011 07:04:20 +0000 (23:04 -0800)]
Make offset in affine transition keyframable.

13 years agorotoscoping: fix mode alpha not working with image format rgb24a
Till Theato [Sat, 5 Feb 2011 20:51:24 +0000 (21:51 +0100)]
rotoscoping: fix mode alpha not working with image format rgb24a

13 years agorotoscoping: prevent possible crash
Till Theato [Thu, 3 Feb 2011 21:12:21 +0000 (22:12 +0100)]
rotoscoping: prevent possible crash

13 years agoCopy the alpha channel in producer_consumer.
Dan Dennedy [Tue, 1 Feb 2011 07:41:25 +0000 (23:41 -0800)]
Copy the alpha channel in producer_consumer.

13 years agoImprove efficiency of memory copy in avformat consumer.
Dan Dennedy [Sun, 30 Jan 2011 19:59:29 +0000 (11:59 -0800)]
Improve efficiency of memory copy in avformat consumer.

Patch from Paul Flinders <paul@flinders.org>.

13 years agoBe pessimistic about the duration (kdenlive-1962).
Dan Dennedy [Sun, 30 Jan 2011 19:57:05 +0000 (11:57 -0800)]
Be pessimistic about the duration (kdenlive-1962).

Some clip formats give a slightly longer duration estimate, and MLT does
not handle that well especially in some non-interactive use cases like
transcoding and automated processing.

13 years agoLink pango producer with libiconv on Mac OS X.
Dan Dennedy [Fri, 28 Jan 2011 03:01:09 +0000 (19:01 -0800)]
Link pango producer with libiconv on Mac OS X.

13 years agoRotoscoping: Set default mode to alpha and add YAML filter description
Till Theato [Thu, 27 Jan 2011 22:31:56 +0000 (23:31 +0100)]
Rotoscoping: Set default mode to alpha and add YAML filter description

13 years agoDo not round up the duration (kdenlive-1962).
Dan Dennedy [Thu, 27 Jan 2011 04:02:07 +0000 (20:02 -0800)]
Do not round up the duration (kdenlive-1962).

13 years agoFix pausing on vdpau with noimagecache.
Dan Dennedy [Thu, 27 Jan 2011 03:56:59 +0000 (19:56 -0800)]
Fix pausing on vdpau with noimagecache.

Also uses AVFrame we already have instead of local AVPicture.

13 years agoMake seeking to first frame more reliable.
Dan Dennedy [Thu, 27 Jan 2011 03:37:18 +0000 (19:37 -0800)]
Make seeking to first frame more reliable.

13 years agoIncrease default SDL audio buffer to prevent crackling.
Dan Dennedy [Wed, 26 Jan 2011 03:48:11 +0000 (19:48 -0800)]
Increase default SDL audio buffer to prevent crackling.

13 years agoMake worker thread handle tracking more portable.
Dan Dennedy [Wed, 26 Jan 2011 03:44:38 +0000 (19:44 -0800)]
Make worker thread handle tracking more portable.

13 years agoRotoscoping: another small cleanup
Till Theato [Tue, 25 Jan 2011 15:07:57 +0000 (16:07 +0100)]
Rotoscoping: another small cleanup

13 years agoRotoscoping: cleanup
Till Theato [Tue, 25 Jan 2011 14:58:30 +0000 (15:58 +0100)]
Rotoscoping: cleanup

13 years agoRotoscoping: Mode matte should also work in yuv420p (untested since
Till Theato [Tue, 25 Jan 2011 14:52:42 +0000 (15:52 +0100)]
Rotoscoping: Mode matte should also work in yuv420p (untested since
forcing a conversion from yuv422 does not work)

13 years agoRotoscoping: only the mode rgb requires a specific colorspace
Till Theato [Tue, 25 Jan 2011 14:35:11 +0000 (15:35 +0100)]
Rotoscoping: only the mode rgb requires a specific colorspace

13 years agoRotoscoping: Save the the json object so we do not have to parse the
Till Theato [Mon, 24 Jan 2011 15:18:28 +0000 (16:18 +0100)]
Rotoscoping: Save the the json object so we do not have to parse the
parameter at every processing but only when it changed

13 years agoRotoscoping: use mlt_pool
Till Theato [Mon, 24 Jan 2011 14:58:34 +0000 (15:58 +0100)]
Rotoscoping: use mlt_pool

13 years agoRotoscoping: rename "mask" mode to "matte"
Till Theato [Mon, 24 Jan 2011 11:16:31 +0000 (12:16 +0100)]
Rotoscoping: rename "mask" mode to "matte"

13 years agoReduce service lock contention in affine filter.
Dan Dennedy [Tue, 23 Nov 2010 22:50:09 +0000 (14:50 -0800)]
Reduce service lock contention in affine filter.

13 years agoReduce service lock contention in frei0r module.
Dan Dennedy [Tue, 23 Nov 2010 22:49:40 +0000 (14:49 -0800)]
Reduce service lock contention in frei0r module.

13 years agoFix race condition on frame pointer in parallel consumer.
Dan Dennedy [Fri, 5 Nov 2010 04:37:03 +0000 (21:37 -0700)]
Fix race condition on frame pointer in parallel consumer.

13 years agoFix multiple workers getting the same frame.
Dan Dennedy [Mon, 18 Oct 2010 01:02:42 +0000 (18:02 -0700)]
Fix multiple workers getting the same frame.

13 years agoUse a single queue for parallel workers.
Dan Dennedy [Tue, 5 Oct 2010 03:39:17 +0000 (20:39 -0700)]
Use a single queue for parallel workers.

This is a major change from the previous model of moving work items
(frames) from one queue to another. This new model improves the behavior
of realtime mode and performance overall. In the new model, a single
queue is used along with an is_processed flag on the frame. Also, there
is an index into the queue (process_head) that indicates from which
point should a worker consider fetching the next unprocessed frame.

There are situations in realtime mode where the processing of a frame
takes longer than the queue (or from head to its fetch index). Over
extended periods of this heavy processing, the video frame in the
consumer may never be updated (rendered=1)! To remedy this, the consumer
detects this and automatically moves the process_head towards the tail,
but even this may not be good enough. The only real remedy is to
increase buffers and suffer with poor latency. If lower latency is
preferred, then it may be better to not use realtime mode and permit
audio discontinuity.

13 years agoAdd a MLT_FRAME() cast.
Dan Dennedy [Tue, 5 Oct 2010 03:27:34 +0000 (20:27 -0700)]
Add a MLT_FRAME() cast.

And white-space align the casts.

13 years agoAdd mlt_deque_peek() with index.
Dan Dennedy [Tue, 5 Oct 2010 03:26:27 +0000 (20:26 -0700)]
Add mlt_deque_peek() with index.

13 years agoRemove audio processing from the worker threads.
Dan Dennedy [Wed, 16 Jun 2010 04:52:30 +0000 (21:52 -0700)]
Remove audio processing from the worker threads.

This has a bad interaction with the avformat producer, which contains a
buffer of unused decoded samples. This shifts audio processing to the
main consumer thread, which is often light anyways. I recommend to set
the threads property to 2 or more on the avformat consumer to offload
video encoding to separate threads from the audio processing and
encoding.

13 years agoMake YADIF reentrant.
Dan Dennedy [Wed, 16 Jun 2010 02:27:07 +0000 (19:27 -0700)]
Make YADIF reentrant.

13 years agoFix regression frames out-of-order.
Dan Dennedy [Wed, 16 Jun 2010 02:12:57 +0000 (19:12 -0700)]
Fix regression frames out-of-order.

13 years agoFix compiler warning on this enum.
Dan Dennedy [Tue, 15 Jun 2010 07:00:56 +0000 (00:00 -0700)]
Fix compiler warning on this enum.

13 years agoChange this log message back to debug level.
Dan Dennedy [Tue, 15 Jun 2010 06:30:51 +0000 (23:30 -0700)]
Change this log message back to debug level.

13 years agoFix image format consistency and conversion.
Dan Dennedy [Tue, 15 Jun 2010 06:18:27 +0000 (23:18 -0700)]
Fix image format consistency and conversion.

13 years agoRemove the tractor service locking.
Dan Dennedy [Fri, 11 Jun 2010 07:43:56 +0000 (00:43 -0700)]
Remove the tractor service locking.

This completely inhibited parallelism, but removing it also exposes more
race conditions that require resolution.

13 years agoAdd work queue to the parallel consumer.
Dan Dennedy [Fri, 11 Jun 2010 07:30:59 +0000 (00:30 -0700)]
Add work queue to the parallel consumer.

This removes get_frame calls from the worker threads. The get_frame call
must take a service lock and that creates contention between the
threads.

13 years agoAdd service locks around yadif context.
Dan Dennedy [Fri, 11 Jun 2010 07:14:27 +0000 (00:14 -0700)]
Add service locks around yadif context.

13 years agoChange this log message to debug level.
Dan Dennedy [Fri, 16 Apr 2010 02:27:42 +0000 (19:27 -0700)]
Change this log message to debug level.

13 years agoAdd service locks for parallelism.
Dan Dennedy [Fri, 5 Mar 2010 06:26:45 +0000 (22:26 -0800)]
Add service locks for parallelism.