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

13 years agoPass real_time, buffer, and prefill properties onto normal sdl consumer.
Dan Dennedy [Fri, 5 Mar 2010 05:30:19 +0000 (21:30 -0800)]
Pass real_time, buffer, and prefill properties onto normal sdl consumer.

13 years agoLog dropped frames at info log level.
Dan Dennedy [Fri, 5 Mar 2010 05:29:47 +0000 (21:29 -0800)]
Log dropped frames at info log level.

13 years agoAdd service locks for parallelism.
Dan Dennedy [Fri, 5 Mar 2010 05:28:16 +0000 (21:28 -0800)]
Add service locks for parallelism.

RGB filters and transitions from frei0r and burningtv are still not safe
enough.

13 years agoSet the proper size of "image" where known.
Dan Dennedy [Fri, 5 Mar 2010 05:25:19 +0000 (21:25 -0800)]
Set the proper size of "image" where known.

13 years agoAdd parallelism to mlt_consumer.
Dan Dennedy [Fri, 5 Mar 2010 05:24:02 +0000 (21:24 -0800)]
Add parallelism to mlt_consumer.

To use set real_time greater than 1 for frame-dropping or less than -1
for no frame-dropping. It works better with a liberal buffer size. You
can still set prefill less than buffer size, but it must be at least the
same number as real_time, preferably a little higher to help with frame
ordering.

13 years agoAdd mlt_deque_insert().
Dan Dennedy [Sun, 21 Feb 2010 05:55:50 +0000 (21:55 -0800)]
Add mlt_deque_insert().

13 years agoQualify queue, mutex, and cond vars with frame_queue_.
Dan Dennedy [Wed, 17 Feb 2010 06:48:15 +0000 (22:48 -0800)]
Qualify queue, mutex, and cond vars with frame_queue_.

13 years agoFix build outside MinGW.
Dan Dennedy [Mon, 24 Jan 2011 01:56:57 +0000 (17:56 -0800)]
Fix build outside MinGW.

13 years agoFix getting LADSPA include dir from listplugins.
Dan Dennedy [Mon, 24 Jan 2011 01:50:43 +0000 (17:50 -0800)]
Fix getting LADSPA include dir from listplugins.

13 years agoMove to an interim version number.
Dan Dennedy [Mon, 24 Jan 2011 01:43:25 +0000 (17:43 -0800)]
Move to an interim version number.

13 years agoMake this example use the mlt++ pkg-config.
Dan Dennedy [Tue, 18 Jan 2011 03:18:26 +0000 (19:18 -0800)]
Make this example use the mlt++ pkg-config.

This more accurately demonstrates how to build a C++ app against mlt++.

13 years agoSDL tweaks for Windows discovered when embedded.
Dan Dennedy [Mon, 17 Jan 2011 08:42:40 +0000 (00:42 -0800)]
SDL tweaks for Windows discovered when embedded.

13 years agoOn Windows install .def and version-less DLLs to let apps build against us.
Dan Dennedy [Mon, 17 Jan 2011 08:40:18 +0000 (00:40 -0800)]
On Windows install .def and version-less DLLs to let apps build against us.

13 years agoOn Windows locate plugins and data by directory relative to current directory.
Dan Dennedy [Mon, 17 Jan 2011 08:37:59 +0000 (00:37 -0800)]
On Windows locate plugins and data by directory relative to current directory.

lib\mlt
lib\frei0r-1
lib\ladspa
share\mlt
share\ffmpeg

13 years agoFix swfdec build on MinGW.
Dan Dennedy [Fri, 31 Dec 2010 21:10:48 +0000 (13:10 -0800)]
Fix swfdec build on MinGW.

13 years agoCleanup libxml changes for MinGW.
Dan Dennedy [Fri, 31 Dec 2010 20:28:56 +0000 (12:28 -0800)]
Cleanup libxml changes for MinGW.

13 years agoFix JackRack build on MinGW.
Dan Dennedy [Fri, 31 Dec 2010 20:27:43 +0000 (12:27 -0800)]
Fix JackRack build on MinGW.

13 years agoFix qimage build for MinGW.
Dan Dennedy [Fri, 31 Dec 2010 18:34:16 +0000 (10:34 -0800)]
Fix qimage build for MinGW.

13 years agoFix sox build on MinGW.
Dan Dennedy [Fri, 31 Dec 2010 07:47:49 +0000 (23:47 -0800)]
Fix sox build on MinGW.

13 years agoFix frei0r build on MinGW.
Dan Dennedy [Fri, 31 Dec 2010 07:19:36 +0000 (23:19 -0800)]
Fix frei0r build on MinGW.

13 years agoFix libxml2 build on MinGW.
Dan Dennedy [Fri, 31 Dec 2010 05:46:16 +0000 (21:46 -0800)]
Fix libxml2 build on MinGW.

13 years agoFix gtk2 build on mingw.
Dan Dennedy [Fri, 31 Dec 2010 04:50:01 +0000 (20:50 -0800)]
Fix gtk2 build on mingw.

13 years agoFix SDL and keyboard input on Win32.
Dan Dennedy [Wed, 15 Dec 2010 08:11:20 +0000 (00:11 -0800)]
Fix SDL and keyboard input on Win32.

13 years agoFix build of mingw branch on Linux.
Dan Dennedy [Mon, 6 Dec 2010 06:27:46 +0000 (22:27 -0800)]
Fix build of mingw branch on Linux.

Fixing this here prior to merging into master.

13 years agoInitial port to Windows using MinGW.
Dan Dennedy [Fri, 3 Dec 2010 09:00:21 +0000 (01:00 -0800)]
Initial port to Windows using MinGW.

Much of the credit goes to Michael Zenov.

13 years agoUpdate ChangeLog for v0.6.2.
Dan Dennedy [Mon, 24 Jan 2011 01:22:29 +0000 (17:22 -0800)]
Update ChangeLog for v0.6.2.

13 years agoSet version to 0.6.2.
Dan Dennedy [Mon, 24 Jan 2011 01:21:31 +0000 (17:21 -0800)]
Set version to 0.6.2.

13 years agoAdd v0.6.2 release notes.
Dan Dennedy [Mon, 24 Jan 2011 01:19:47 +0000 (17:19 -0800)]
Add v0.6.2 release notes.

13 years agoRotoscoping: add parameter alpha_operation with possible values: clear,
Till Theato [Sat, 22 Jan 2011 19:32:22 +0000 (20:32 +0100)]
Rotoscoping: add parameter alpha_operation with possible values: clear,
max, min, add, sub

13 years agoFix not every point calculated for the spline was used
Till Theato [Sat, 22 Jan 2011 18:51:09 +0000 (19:51 +0100)]
Fix not every point calculated for the spline was used

13 years agoRotoscoping:
Till Theato [Fri, 21 Jan 2011 21:31:52 +0000 (22:31 +0100)]
Rotoscoping:
- Rename parameter polygon to spline
- Add parameter precision setting the maximum distance between two points
  when calculating the spline
- some cleanup

13 years agoRotoscoping: Use cubic Bezier spline instead of simple polygon to define
Till Theato [Thu, 20 Jan 2011 20:55:19 +0000 (21:55 +0100)]
Rotoscoping: Use cubic Bezier spline instead of simple polygon to define
masks

13 years agoAdd always_active property to affine transition.
j-b-m [Mon, 17 Jan 2011 04:06:12 +0000 (20:06 -0800)]
Add always_active property to affine transition.

13 years agoRotoscoping: Add parameter invert
Till Theato [Sun, 16 Jan 2011 21:24:12 +0000 (22:24 +0100)]
Rotoscoping: Add parameter invert

13 years agoRotoscoping: Add support for simple keyframes
Till Theato [Sun, 16 Jan 2011 20:43:00 +0000 (21:43 +0100)]
Rotoscoping: Add support for simple keyframes
- current limits:
 - number of points has to be equal for all keyframes
 - points have to be in "correct" order (1. point in 1. kf will be moved
   to 1. point in 2. kf, ...)
- the parameter "polygon" is now formated using json:
 - no keyframes: polygon="[[x,y], [x,y], ...]"
 - keyframes: polygon=
    '{ "framepos1" : [[x,y], [x,y], ...], "framepos2" : [[x,y], [x,y], ...], ...}'

13 years agorotoscoping filter:
Till Theato [Sat, 15 Jan 2011 21:49:13 +0000 (22:49 +0100)]
rotoscoping filter:
add modes
- rgb (everything but polygon black, default)
- alpha (polygon alpha value = 255, the rest = 0)
- mask (polygon white, the rest black)