Dan Dennedy [Sat, 1 Jan 2011 23:08:14 +0000 (15:08 -0800)]
Default to progressive rendering in composite.
Field-based rendering is not sensitive to whether the composite has
motion and therefore produces ugly results for static things by default.
Field-based rendering can be explicitly requested on an animated
composite by setting the progressive property to 0.
Dan Dennedy [Mon, 20 Dec 2010 03:43:47 +0000 (19:43 -0800)]
Increase the speed of switching between sdl_still and sdl.
Based on patch from Jonathan Thomas.
It does this by not calling the SDL_InitSubSystem( SDL_INIT_AUDIO ) and
SDL_QuitSubSystem( SDL_INIT_AUDIO ) methods every time it switches, but
rather when the SDL Preview consumer is started and stopped.
Dan Dennedy [Thu, 16 Dec 2010 07:49:54 +0000 (23:49 -0800)]
Synchronize Producer.set_speed(0) with sdl_preview.
This also helps prevent deadlock while waiting for consumer-sdl-paused
event. Not 100% yet, but 100% requires script (swig) apps to handle the
event asynchronously via an event listener, which is not available yet
for most - only ruby. Furthermore, they would really like to be able to
pass opaque data to the asynchronous handler, which is not yet available
in the framework.
A good example here is pausing playback prior to seeking to a specific
frame. The app should be able to make a consumer-paused event handler to
which it can pass the new position, so it can properly seek after the
pause has officially occurred. Without the ability to pass opaque data,
it must save the new position as an instance variable to use within the
handler - once it has support for event listeners that is.
Dan Dennedy [Sat, 11 Dec 2010 22:35:32 +0000 (14:35 -0800)]
Fix tearing in decklink.
Also:
Adds a "preroll" property, which takes number of video frames.
Prevent it from deadlocking on a few dropped video frames in succession.
Signal failure to start when the profile is not compatible.
Dan Dennedy [Thu, 9 Dec 2010 08:20:41 +0000 (00:20 -0800)]
Add consumer-fatal-error event to avformat consumer.
This addresses Kdenlive bug 1894.
When the avformat consumer has a fatal error, it will fire an event.
Melt intercepts the event and exits with failure.
j-b-m [Mon, 18 Oct 2010 01:19:38 +0000 (18:19 -0700)]
Fix serializing xmldata in kdenlivetitle (kdenlive-1841).
Patch below fixes an issue with the kdenlivetitle producer. Basically,
the problem was that when loading a kdenlivetitle from a file, all the
properties were serialized and passed to the xml consumer.
The problem became more obvious with the "embeded" images in titles,
which then caused images to be embedded inside the kdenlive project
file, causing problems like reported in this issue:
http://kdenlive.org/mantis/view.php?id=1841
With the patch, titles loaded from a file will not copy the xmldata.
Dan Dennedy [Sun, 26 Sep 2010 19:32:43 +0000 (12:32 -0700)]
Use denominators as the litmus test for generating profile.
This allows converting all producers to meta.media.width and
meta.media.height while not attempting to auto-profile the image
producers, which can potentially hold extremely large images and do not
contain any inherent frame rate. This also protects from potential
divide by zero errors.
Dan Dennedy [Sun, 29 Aug 2010 06:10:34 +0000 (23:10 -0700)]
Add an automatic profile feature to melt.
Here are the main use cases this feature provides:
- Given a regular (non-mlt-xml) media file, melt reads the media
attributes and generates an equivalent MLT profile. This makes it easier
to transcode without changing or specifying resolution, aspect, and
framerate.
- Given a MLT XML file containing a profile attribute or element, melt
loads the specified profile. A composition typically contains profile-
without you having to remember.
- Given a MLT XML containing a profile but also specifying a -profile
option, melt automatically uses the 'consumer' producer with the
requested profiles. This is similar to the above case, but when
explicitly choosing a profile different than the composition one should
use the consumer producer. This just makes melt smarter and more
automatic.
Dan Dennedy [Sun, 29 Aug 2010 05:59:35 +0000 (22:59 -0700)]
Add immutable meta.media-prefixed properties.
I am deprecating real_width, real_height, and source_fps in favor of new
properties prefixed by "meta.media." These are different than the
"meta.media.N.stream" and "meta.media.N.codec" properties because they
represent the selected tracks as well as some interpretation of the raw
AVFormat and AVCodec attributes in addition to reflecting "force_"
overrides.
There is still many changes to make throughout to full remove real_width
and real_height. This change just adds what melt's new auto-profile
feature needs for most use cases.
Handle --avformat-svn-version=0.5.
Fix building without swscale.
Fix compiling new colorspace stuff against FFmpeg <= v0.5.
FFmpeg libs are increasing; only support contemporary header layout.