]> git.sesse.net Git - mlt/log
mlt
13 years agoRework decklink consumer to use timestamped audio packet.
Dan Dennedy [Fri, 10 Jun 2011 15:06:12 +0000 (08:06 -0700)]
Rework decklink consumer to use timestamped audio packet.

Patches supplied by Maksym Veremeyenko.

13 years agoDisable new_seek on h264/ts from non-seekable source (udp, pipe).
Dan Dennedy [Thu, 9 Jun 2011 02:29:49 +0000 (19:29 -0700)]
Disable new_seek on h264/ts from non-seekable source (udp, pipe).

13 years agoFix pango producer from loading with empty string arg.
Dan Dennedy [Wed, 8 Jun 2011 05:21:02 +0000 (22:21 -0700)]
Fix pango producer from loading with empty string arg.

13 years agoTemporary fix for new crash when closing codec.
Dan Dennedy [Tue, 7 Jun 2011 05:35:17 +0000 (22:35 -0700)]
Temporary fix for new crash when closing codec.

13 years agoFix setting codec-specific options for avcodec v53.
Dan Dennedy [Tue, 7 Jun 2011 05:33:58 +0000 (22:33 -0700)]
Fix setting codec-specific options for avcodec v53.

13 years agoFix crash generating avformat metadata.
Dan Dennedy [Tue, 7 Jun 2011 04:26:46 +0000 (21:26 -0700)]
Fix crash generating avformat metadata.

13 years agoChange consumer 'profile' property to 'mlt_profile'
Dan Dennedy [Tue, 7 Jun 2011 04:14:07 +0000 (21:14 -0700)]
Change consumer 'profile' property to 'mlt_profile'

libavcodec uses the profile property for aac and libx264.

13 years agoDrop usage of av_demuxer_open() in avformat v53.
Dan Dennedy [Mon, 6 Jun 2011 02:48:04 +0000 (19:48 -0700)]
Drop usage of av_demuxer_open() in avformat v53.

It is causing problems and need more stability after the raft of
changes.

13 years agoFix regressions on libavformat v53 and failing on invalid file.
Dan Dennedy [Mon, 6 Jun 2011 01:31:11 +0000 (18:31 -0700)]
Fix regressions on libavformat v53 and failing on invalid file.

13 years agoChange URI to URL in avformat yaml.
Dan Dennedy [Mon, 6 Jun 2011 01:09:27 +0000 (18:09 -0700)]
Change URI to URL in avformat yaml.

13 years agoFix compilation error on libavformat v53.
Dan Dennedy [Mon, 6 Jun 2011 01:08:30 +0000 (18:08 -0700)]
Fix compilation error on libavformat v53.

13 years agoSend melt -query and -help to stdout.
Dan Dennedy [Sun, 5 Jun 2011 22:43:26 +0000 (15:43 -0700)]
Send melt -query and -help to stdout.

Nice for use with pager or grep, awk, etc.

13 years agoDo not open terminal on stdin if not a tty.
Dan Dennedy [Sun, 5 Jun 2011 22:05:57 +0000 (15:05 -0700)]
Do not open terminal on stdin if not a tty.

13 years agoRevert "Have melt detect 'pipe:' and disable reading stdin on terminal."
Dan Dennedy [Sun, 5 Jun 2011 21:59:02 +0000 (14:59 -0700)]
Revert "Have melt detect 'pipe:' and disable reading stdin on terminal."

This reverts commit bcfb73374524be2de407c5fcfff7589cf5aafe10.

13 years agoHave melt detect 'pipe:' and disable reading stdin on terminal.
Dan Dennedy [Sun, 5 Jun 2011 21:41:38 +0000 (14:41 -0700)]
Have melt detect 'pipe:' and disable reading stdin on terminal.

13 years agoFix setting default streams on non-seekable streams.
Dan Dennedy [Sun, 5 Jun 2011 20:54:21 +0000 (13:54 -0700)]
Fix setting default streams on non-seekable streams.

13 years agoFix setting demuxer private options libavformat for v53+.
Dan Dennedy [Sun, 5 Jun 2011 20:52:32 +0000 (13:52 -0700)]
Fix setting demuxer private options libavformat for v53+.

13 years agoTidy code dealing with AVFormatParameters.
Dan Dennedy [Sun, 5 Jun 2011 20:45:14 +0000 (13:45 -0700)]
Tidy code dealing with AVFormatParameters.

13 years agoRefactor common code around producer_open into producer_open.
Dan Dennedy [Sun, 5 Jun 2011 20:15:10 +0000 (13:15 -0700)]
Refactor common code around producer_open into producer_open.

13 years agominor cleanup in return handling in parse_url
Dan Dennedy [Sun, 5 Jun 2011 19:53:58 +0000 (12:53 -0700)]
minor cleanup in return handling in parse_url

13 years agoUse a single AVFormatContext for non-seekable sources.
Dan Dennedy [Sun, 5 Jun 2011 00:46:32 +0000 (17:46 -0700)]
Use a single AVFormatContext for non-seekable sources.

This provides better support for reading from network streams such as
rtsp, rtmp, udp, and hopefully pipe.

13 years agoRefactor avformat get_image() into new seek_video().
Dan Dennedy [Sat, 4 Jun 2011 22:02:01 +0000 (15:02 -0700)]
Refactor avformat get_image() into new seek_video().

13 years agorefactor avformat producer_open
Dan Dennedy [Sat, 4 Jun 2011 21:13:24 +0000 (14:13 -0700)]
refactor avformat producer_open

13 years agocleanup producer_avformat_init
Dan Dennedy [Sat, 4 Jun 2011 18:29:07 +0000 (11:29 -0700)]
cleanup producer_avformat_init

13 years agoDefault decklink consumer to onefield deinterlace method.
Dan Dennedy [Sat, 4 Jun 2011 07:28:27 +0000 (00:28 -0700)]
Default decklink consumer to onefield deinterlace method.

13 years agoFix decklink keyer playout speed (3311056).
Dan Dennedy [Sat, 4 Jun 2011 07:08:11 +0000 (00:08 -0700)]
Fix decklink keyer playout speed (3311056).

13 years agoEnable external keyer on decklink consumer.
Dan Dennedy [Sat, 4 Jun 2011 06:11:45 +0000 (23:11 -0700)]
Enable external keyer on decklink consumer.

Patch supplied by Maksym Veremeyenko.

13 years agoFix deadlock on no signal in decklink producer.
Dan Dennedy [Fri, 3 Jun 2011 06:14:42 +0000 (23:14 -0700)]
Fix deadlock on no signal in decklink producer.

13 years agoFix crash in decklink with keyer and interlaced clips (3310104).
Dan Dennedy [Fri, 3 Jun 2011 05:37:11 +0000 (22:37 -0700)]
Fix crash in decklink with keyer and interlaced clips (3310104).

13 years agoInstall consumer_decklink.yml.
Dan Dennedy [Fri, 3 Jun 2011 05:11:32 +0000 (22:11 -0700)]
Install consumer_decklink.yml.

13 years agoLet decklink run forever.
Dan Dennedy [Wed, 1 Jun 2011 04:55:38 +0000 (21:55 -0700)]
Let decklink run forever.

Also fix setting resource property.

13 years agoFix decklink choppy playback (3308341).
Dan Dennedy [Tue, 31 May 2011 05:04:25 +0000 (22:04 -0700)]
Fix decklink choppy playback (3308341).

This would occur after several pause and play cycles.

13 years agoMake rotoscoping filter metadata valid yaml.
Dan Dennedy [Mon, 30 May 2011 19:14:32 +0000 (12:14 -0700)]
Make rotoscoping filter metadata valid yaml.

13 years agoAdd service metadata to linsys module (WIP).
Dan Dennedy [Mon, 30 May 2011 19:13:55 +0000 (12:13 -0700)]
Add service metadata to linsys module (WIP).

13 years agoAdd service metadata to xml module (WIP).
Dan Dennedy [Mon, 30 May 2011 18:58:24 +0000 (11:58 -0700)]
Add service metadata to xml module (WIP).

13 years agoAdd service metadata to vorbis module (WIP).
Dan Dennedy [Mon, 30 May 2011 18:52:46 +0000 (11:52 -0700)]
Add service metadata to vorbis module (WIP).

13 years agoAdd service metadata to vmfx module (WIP).
Dan Dennedy [Mon, 30 May 2011 18:49:16 +0000 (11:49 -0700)]
Add service metadata to vmfx module (WIP).

13 years agoRemove aborts in jackrack module.
Dan Dennedy [Mon, 30 May 2011 17:56:45 +0000 (10:56 -0700)]
Remove aborts in jackrack module.

13 years agoAdd service metadata to swfdec module (WIP).
Dan Dennedy [Mon, 30 May 2011 06:48:37 +0000 (23:48 -0700)]
Add service metadata to swfdec module (WIP).

13 years agoAdd service metadata for SDL module (WIP).
Dan Dennedy [Mon, 30 May 2011 06:41:52 +0000 (23:41 -0700)]
Add service metadata for SDL module (WIP).

13 years agoAdd service metadata for qimage module (WIP).
Dan Dennedy [Mon, 30 May 2011 06:21:45 +0000 (23:21 -0700)]
Add service metadata for qimage module (WIP).

13 years agoAdd service metadata to plus module (WIP).
Dan Dennedy [Mon, 30 May 2011 06:04:46 +0000 (23:04 -0700)]
Add service metadata to plus module (WIP).

13 years agoAdd service metadata to normalize module (WIP).
Dan Dennedy [Mon, 30 May 2011 05:54:05 +0000 (22:54 -0700)]
Add service metadata to normalize module (WIP).

13 years agoAdd service metadata to motion_est module (WIP).
Dan Dennedy [Mon, 30 May 2011 05:48:59 +0000 (22:48 -0700)]
Add service metadata to motion_est module (WIP).

13 years agoAdd service metadata for melt module (WIP).
Dan Dennedy [Sun, 29 May 2011 19:41:33 +0000 (12:41 -0700)]
Add service metadata for melt module (WIP).

13 years agoAdd service metadata for kdenlive module (WIP).
Dan Dennedy [Sun, 29 May 2011 19:30:30 +0000 (12:30 -0700)]
Add service metadata for kdenlive module (WIP).

13 years agoAdd service metadata for gtk2 module (WIP).
Dan Dennedy [Sun, 29 May 2011 19:12:42 +0000 (12:12 -0700)]
Add service metadata for gtk2 module (WIP).

13 years agoAdd service metadata for effectv module (WIP).
Dan Dennedy [Sun, 29 May 2011 19:01:27 +0000 (12:01 -0700)]
Add service metadata for effectv module (WIP).

13 years agoAdd service metdata for dv module (WIP).
Dan Dennedy [Sun, 29 May 2011 18:44:20 +0000 (11:44 -0700)]
Add service metdata for dv module (WIP).

13 years agoAdd ruby script to generate wiki text files.
Dan Dennedy [Sun, 29 May 2011 18:28:41 +0000 (11:28 -0700)]
Add ruby script to generate wiki text files.

13 years agoMerge branch 'master' of dennedy.org:git/mltframework.org/mlt
Dan Dennedy [Sun, 29 May 2011 18:26:39 +0000 (11:26 -0700)]
Merge branch 'master' of dennedy.org:git/mltframework.org/mlt

13 years agoAdd service metadata for core module (WIP).
Dan Dennedy [Sun, 29 May 2011 18:26:27 +0000 (11:26 -0700)]
Add service metadata for core module (WIP).

13 years agoReport dropped frames.
Dan Dennedy [Sat, 28 May 2011 16:11:03 +0000 (09:11 -0700)]
Report dropped frames.

13 years agoFix memory leak in decklink producer.
Dan Dennedy [Sat, 28 May 2011 07:49:35 +0000 (00:49 -0700)]
Fix memory leak in decklink producer.

13 years agoConvert Python examples to new frame method.
Dan Dennedy [Sat, 28 May 2011 07:33:41 +0000 (00:33 -0700)]
Convert Python examples to new frame method.

13 years agoFix python binding for OS X
Dan Dennedy [Sat, 28 May 2011 07:32:23 +0000 (00:32 -0700)]
Fix python binding for OS X

13 years agoAdd mlt.Frame.get_image for Python.
Dan Dennedy [Sat, 28 May 2011 07:31:27 +0000 (00:31 -0700)]
Add mlt.Frame.get_image for Python.

13 years agoRefactor melt to mlt_profile_from_producer.
Dan Dennedy [Sat, 28 May 2011 07:28:22 +0000 (00:28 -0700)]
Refactor melt to mlt_profile_from_producer.

13 years agoMerge branch 'master' of dennedy.org:git/mltframework.org/mlt
Dan Dennedy [Sat, 28 May 2011 07:24:09 +0000 (00:24 -0700)]
Merge branch 'master' of dennedy.org:git/mltframework.org/mlt

13 years agoAdd mlt_profile_from_producer().
Dan Dennedy [Sat, 28 May 2011 07:23:48 +0000 (00:23 -0700)]
Add mlt_profile_from_producer().

This new function contains the auto-profile feature.
Plus setters for Mlt::Profile.

13 years agoDo not immediately destroy all cache items on purge.
Dan Dennedy [Fri, 27 May 2011 03:45:30 +0000 (20:45 -0700)]
Do not immediately destroy all cache items on purge.

This is behaving badly with the addition of mlt_service_cache_purge in
the avformat producer because there were frames in consumer buffers
holding references to cache items calling mlt_cache_item_close on
destruction.

13 years agoPrevent multiple starts on mlt_consumer.
Dan Dennedy [Thu, 26 May 2011 04:48:43 +0000 (21:48 -0700)]
Prevent multiple starts on mlt_consumer.

13 years agoFix full closure of avformat on explicit close.
Dan Dennedy [Sun, 22 May 2011 18:30:32 +0000 (11:30 -0700)]
Fix full closure of avformat on explicit close.

JBM wrote:
Creating a video4linux producer like (simplified code):

producer = new Mlt::Producer(*profile, "video4linux2:/dev/video0");
consumer->connect(*producer);
consumer->start();

It works fine. But when I want to stop the capture, there is no way to
stop the video4linux producer. Deleting the producer and the consumer
still leaves the video4linux device open.

After a few hours of struggling, I figured out that some stuff was kept
in the cache. Adding :

mlt_service_cache_purge( MLT_PRODUCER_SERVICE(parent) );

to producer_close (as already done for the qimage producer for example)
fixes the issue.

13 years agoFix regression in protocol/avdevice handling.
Dan Dennedy [Sun, 22 May 2011 18:26:01 +0000 (11:26 -0700)]
Fix regression in protocol/avdevice handling.

13 years agoAdd blacklist for ladspa filters.
Dan Dennedy [Sun, 22 May 2011 18:11:41 +0000 (11:11 -0700)]
Add blacklist for ladspa filters.

Initially includes dssi-vst since that is unstable on AV Linux 5.

13 years agoFix segfault in yadif with gcc 4.6 -O1 or -O2.
Dan Dennedy [Sun, 22 May 2011 17:54:43 +0000 (10:54 -0700)]
Fix segfault in yadif with gcc 4.6 -O1 or -O2.

13 years agoDo not destroy shared plugin_mgr when closing instance.
Dan Dennedy [Wed, 18 May 2011 05:42:01 +0000 (22:42 -0700)]
Do not destroy shared plugin_mgr when closing instance.

13 years agoLet all instances of ladspa share single plugin_mgr.
Dan Dennedy [Wed, 18 May 2011 05:33:54 +0000 (22:33 -0700)]
Let all instances of ladspa share single plugin_mgr.

13 years agoFix regression getting consumer aspect_ratio.
Dan Dennedy [Tue, 17 May 2011 06:30:27 +0000 (23:30 -0700)]
Fix regression getting consumer aspect_ratio.

13 years agoFix background color on default PAL data_show.
Dan Dennedy [Tue, 17 May 2011 06:22:16 +0000 (23:22 -0700)]
Fix background color on default PAL data_show.

13 years agoFix manual deinterlace on B in composite.
Dan Dennedy [Tue, 17 May 2011 05:29:50 +0000 (22:29 -0700)]
Fix manual deinterlace on B in composite.

13 years agoDocument -jack option.
Dan Dennedy [Sun, 15 May 2011 22:42:37 +0000 (15:42 -0700)]
Document -jack option.

13 years agoAdd -query preset to man page.
Dan Dennedy [Sun, 15 May 2011 22:37:33 +0000 (15:37 -0700)]
Add -query preset to man page.

13 years agoChange a log item to debug.
Dan Dennedy [Sun, 15 May 2011 22:25:54 +0000 (15:25 -0700)]
Change a log item to debug.

13 years agoAdd first draft of JACK transport sync.
Dan Dennedy [Sun, 15 May 2011 20:55:53 +0000 (13:55 -0700)]
Add first draft of JACK transport sync.

13 years agoImprove frame-dropping for real_time=1.
Dan Dennedy [Sun, 15 May 2011 22:05:17 +0000 (15:05 -0700)]
Improve frame-dropping for real_time=1.

Uses thresholds relative to fps and buffer levels.
Properly drops more frames to keep audio continuous.
Does not drop first several frames to prevent chopping playback.

13 years agoAdd audio_off and frequency to properties passed to sdl consumer.
Dan Dennedy [Sun, 15 May 2011 20:57:36 +0000 (13:57 -0700)]
Add audio_off and frequency to properties passed to sdl consumer.

13 years agoFix dox error.
Dan Dennedy [Sun, 15 May 2011 20:56:35 +0000 (13:56 -0700)]
Fix dox error.

13 years agoFix big slowdown enumerating all metadata for ladspa plugins.
Dan Dennedy [Sun, 15 May 2011 00:55:35 +0000 (17:55 -0700)]
Fix big slowdown enumerating all metadata for ladspa plugins.

13 years agoFix build on Debian GNU/kFreeBSD.
Dan Dennedy [Sat, 14 May 2011 17:10:51 +0000 (10:10 -0700)]
Fix build on Debian GNU/kFreeBSD.

13 years agoPresets!
Dan Dennedy [Fri, 13 May 2011 03:12:00 +0000 (20:12 -0700)]
Presets!

Put property setters in a file and apply them to a service using
properties=filename. Alternatively, apply a supplied preset using
properties=preset. For example, melt ... -consumer avformat:my.vob
properties=DVD.

13 years agoConvert jackrack printfs to mlt_log (3301094).
Dan Dennedy [Fri, 13 May 2011 02:54:10 +0000 (19:54 -0700)]
Convert jackrack printfs to mlt_log (3301094).

13 years agoAdd service metadata for jackrack, ladspa, and ladspa.id.
Dan Dennedy [Wed, 11 May 2011 04:28:08 +0000 (21:28 -0700)]
Add service metadata for jackrack, ladspa, and ladspa.id.

13 years agoAdd support for ladspa.id variants.
Dan Dennedy [Wed, 11 May 2011 04:27:31 +0000 (21:27 -0700)]
Add support for ladspa.id variants.

This is much more convenient to use without having to compose the JACK
Rack XML. Also, we will be able to add future support for property
animation (automation), which JACK Rack lacks. However, it does still
support loading and processing JACK Rack files.

13 years agoSimplify sox metadata generator.
Dan Dennedy [Wed, 11 May 2011 03:29:46 +0000 (20:29 -0700)]
Simplify sox metadata generator.

13 years agoAllow decklink to build on OS X.
Dan Dennedy [Tue, 10 May 2011 03:05:24 +0000 (20:05 -0700)]
Allow decklink to build on OS X.

13 years agosdl_preview should default to real_time=1
Dan Dennedy [Tue, 10 May 2011 02:00:47 +0000 (19:00 -0700)]
sdl_preview should default to real_time=1

13 years agoRevert change to max consecutive dropped frames.
Dan Dennedy [Tue, 10 May 2011 01:58:30 +0000 (18:58 -0700)]
Revert change to max consecutive dropped frames.

At least until a better heuristic is determined.

13 years agoAdd version check for SOX_EFF_INTERNAL.
Dan Dennedy [Mon, 9 May 2011 01:41:22 +0000 (18:41 -0700)]
Add version check for SOX_EFF_INTERNAL.

13 years agoAdd support for sox.effect variants.
Dan Dennedy [Mon, 9 May 2011 00:59:30 +0000 (17:59 -0700)]
Add support for sox.effect variants.

The legacy forms of 'sox:"effect options"' and 'sox effect="name
options"' still work. The new forms allows them all to be enumerated by
Mlt apps, e.g.: melt -query filter. Also, this registers metadata for
both the generic 'sox' filter and all of the new 'sox.effect' ones
including their usage help!

13 years agoInstall consumer_avformat.yml
Dan Dennedy [Mon, 9 May 2011 00:40:32 +0000 (17:40 -0700)]
Install consumer_avformat.yml

13 years agoFix inadvertent reording of resample filters.
Dan Dennedy [Sun, 8 May 2011 22:50:57 +0000 (15:50 -0700)]
Fix inadvertent reording of resample filters.

And add debug log to avresample.

13 years agoFactor out some frame properties in transitions.
Dan Dennedy [Sat, 7 May 2011 05:46:59 +0000 (22:46 -0700)]
Factor out some frame properties in transitions.

Transitions had to apply a pattern of copying some properties from the A
frame to the B frame that was unrelated to its core routine. This is now
largely taken care of by a recent commit to mlt_transition.c.

13 years agoRevert commits e49264, c9cb51, and e7a775.
Dan Dennedy [Sat, 7 May 2011 04:54:29 +0000 (21:54 -0700)]
Revert commits e49264, c9cb51, and e7a775.

These commits are related to kdenlive bugs 1962 and 2003.
This is about an a/v sync problem when using full duration of a file.
The changes are reverted because I believe the root cause is returning
fewer samples than requested on the last frame of audio, and that was
fixed in the previous commit.
Also, the adjust_length property is removed because it did not work; the
property was not available when trying to get it from within the
constructor. The correct way to adjust the length is to first get the
length and then set the length and out properties.

13 years agoPad the last audio frame with silence.
Dan Dennedy [Sat, 7 May 2011 04:42:33 +0000 (21:42 -0700)]
Pad the last audio frame with silence.

Instead of returning fewer samples than requested.

13 years agoDocument the frame audio and image properties.
Dan Dennedy [Sat, 7 May 2011 04:13:54 +0000 (21:13 -0700)]
Document the frame audio and image properties.

13 years agoMake the frame audio properties consistent.
Dan Dennedy [Sat, 7 May 2011 04:13:37 +0000 (21:13 -0700)]
Make the frame audio properties consistent.

13 years agoFix avformat producer to use new mlt audio formats.
Dan Dennedy [Sat, 7 May 2011 04:03:54 +0000 (21:03 -0700)]
Fix avformat producer to use new mlt audio formats.

13 years agoAdd conversion routines for new audio formats.
Dan Dennedy [Sat, 7 May 2011 03:56:27 +0000 (20:56 -0700)]
Add conversion routines for new audio formats.

These only doing conversion _from_ the new types mlt_audio_s32le and
mlt_audio_f32le. There are no plans at the moment for conversion into
them, but it is certainly not out of the question.

13 years agoAdd mlt_audio_s32le and mlt_audio_f32le audio formats.
Dan Dennedy [Sat, 7 May 2011 03:53:50 +0000 (20:53 -0700)]
Add mlt_audio_s32le and mlt_audio_f32le audio formats.