Dan Dennedy [Thu, 8 Apr 2010 05:43:58 +0000 (22:43 -0700)]
Add automatic driver configuration to sdi consumer.
This uses the MLT profile to determine the configuration values: video
buffer size, audio buffer size, video frame mode (resolution, frame
rate), video data mode (8 bit or v210), number of audio channels, audio
sampling rate, audio sample size. It does _not_ set the clock source or
the number of buffers for audio and video.
sdi_generator.c
- pack changed to pack8 instead of packv210
- Transmitter events are checked only once a frame
- create_HD_SDI_Line and create_SD_SDI_Line do not calculate the current
position in the video_buffer for each sample. Now it is done once a
line.
Dan Dennedy [Sun, 28 Feb 2010 20:46:05 +0000 (12:46 -0800)]
Make swscale the preferred rescale filter.
Should be safe now since the default compile-time max resolution for
libswscale was increased to 5120 for non-ppc systems as of May, 2009.
Also, because I added the initialization and range tests.
Dan Dennedy [Fri, 12 Feb 2010 04:28:30 +0000 (20:28 -0800)]
Add HD-SDI support to Linsys SDI module.
This has only been tested with the VidPort.
At this time, you must run the linsys sdiaudiocfg and sdivideocfg
utilities to configure your card. In time, we hope to remove this step.
Dan Dennedy [Mon, 8 Feb 2010 08:44:26 +0000 (00:44 -0800)]
Fix audio muxing when downsampling >2 channels.
A side effect of this bug was a big memory consumption. This occurs
mostly commonly when using 5.1 audio sources such as AVCHD or DVD and
encoding to 44.1 KHz.
Dan Dennedy [Fri, 5 Feb 2010 04:18:16 +0000 (20:18 -0800)]
Default SDL to use the onefield deinterlace filter.
The previous default in the deinterlace filter was linearblend. The new
default is yadif. However, onefield is faster is gives cleaner results
than linearblend where preserving most resolution is not a factor. Since
most usess of SDL are applications with preview windows smaller than
actual resolution, it makes sense to use onefield by default in the SDL
consumers.
Dan Dennedy [Wed, 3 Feb 2010 07:20:22 +0000 (23:20 -0800)]
Add fetching previous and next frames in producers.
This is only enabled when the property need-previous-next is set true on
the producer. This also adds firing a service-changed event on the
filter when it gets attached so the filter can set this property on the
producer to which it is attached. These frame references are set as
"previous frame" and "next frame" properties on the current frame. It is
also important to note that these frames do not have ANY filters applied
to them, which is important for YADIF and telecide filters, which
process before all other filters.
Dan Dennedy [Sun, 17 Jan 2010 02:08:13 +0000 (18:08 -0800)]
Add apre, fpre, and vpre properties to avformat consumer.
These read ffmpeg preset files, which is really handy for x264 encoding
on the command line. They require the full path to the file unlike the
ffmpeg utility. apre is for audio, vpre is for video, and fpre is for
the format/muxer.
Dan Dennedy [Thu, 17 Dec 2009 05:19:33 +0000 (21:19 -0800)]
Add mlt_service_cache_purge and remove purge in mlt_service_close.
The avformat producer holds references to cache items within frame
objects. This means mlt_service_close can not purge the cache because
frames may be closed after the producer.
Dan Dennedy [Tue, 15 Dec 2009 06:20:44 +0000 (22:20 -0800)]
Revert a bunch of changes made to SDL for VDPAU.
This set of changes conflicted with Kdenlive, which requires two
consumers that need to release SDL on stop. Now, VDPAU support does not
need SDL as it gets its own X11 Display pointer.
Dan Dennedy [Mon, 14 Dec 2009 03:40:40 +0000 (19:40 -0800)]
Fix for when actual channels does not match requested.
This typically only happens when using audio_index=all on the avformat
producer.
This also adds a audio_offset property to the sdl consumer to help with
testing audio_index. It takes a numeric value in units of channels over
which to skip.
Dan Dennedy [Mon, 14 Dec 2009 00:59:23 +0000 (16:59 -0800)]
Add producer variant avformat-novalidate.
The purpose of this is to increase the speed of loading playlists with
known good files. Use with care. This assumes a few properties have been
set, in particular "length." This was only tested thus far by modifying
the output of consumer xml to change mlt_service from "avformat" to
"avformat-novalidate".