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