]> git.sesse.net Git - mlt/log
mlt
13 years agoFix cleaning up decklink when stopped.
Dan Dennedy [Fri, 17 Dec 2010 07:27:52 +0000 (23:27 -0800)]
Fix cleaning up decklink when stopped.

13 years agoFix regression in Producer::set_speed when consumer stopped.
Dan Dennedy [Fri, 17 Dec 2010 07:14:51 +0000 (23:14 -0800)]
Fix regression in Producer::set_speed when consumer stopped.

This was causing a deadlock in Kdenlive and any app that calls set_speed
when the consumer is stopped.

13 years agoFix race-induced intermittent crash in sdl_still (kdenlive-1762).
Dan Dennedy [Fri, 17 Dec 2010 05:59:10 +0000 (21:59 -0800)]
Fix race-induced intermittent crash in sdl_still (kdenlive-1762).

13 years agoAdd mlt_version API.
Dan Dennedy [Fri, 17 Dec 2010 05:54:13 +0000 (21:54 -0800)]
Add mlt_version API.

Contributed by Jonathan Thomas.

13 years agoFix regression on return value of Producer::set_speed.
Dan Dennedy [Thu, 16 Dec 2010 07:54:12 +0000 (23:54 -0800)]
Fix regression on return value of Producer::set_speed.

13 years agoSynchronize Producer.set_speed(0) with sdl_preview.
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.

13 years agoPrevent a possible deadlock when pausing.
Dan Dennedy [Thu, 16 Dec 2010 05:40:48 +0000 (21:40 -0800)]
Prevent a possible deadlock when pausing.

13 years agoPrevent always fetching the "frozen" frame.
j-b-m [Sun, 12 Dec 2010 22:52:03 +0000 (14:52 -0800)]
Prevent always fetching the "frozen" frame.

Instead of using cache, which causes flicker in previews.

13 years agoFix crash when connecting the sdl_preview to a new producer.
Dan Dennedy [Sun, 12 Dec 2010 19:47:32 +0000 (11:47 -0800)]
Fix crash when connecting the sdl_preview to a new producer.

This occurs when you do not first stop the consumer.

13 years agoMake melt handle failure to start consumer.
Dan Dennedy [Sat, 11 Dec 2010 22:36:17 +0000 (14:36 -0800)]
Make melt handle failure to start consumer.

13 years agoFix tearing in decklink.
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.

13 years agoAdded Mlt::Properties::wait_for(string).
Dan Dennedy [Thu, 9 Dec 2010 08:56:10 +0000 (00:56 -0800)]
Added Mlt::Properties::wait_for(string).

13 years agoFix memory leak in swig on Properties::setup_wait_for.
Dan Dennedy [Thu, 9 Dec 2010 08:55:21 +0000 (00:55 -0800)]
Fix memory leak in swig on Properties::setup_wait_for.

13 years agoRemove exit() from Linsys sdi consumer.
Dan Dennedy [Thu, 9 Dec 2010 08:26:44 +0000 (00:26 -0800)]
Remove exit() from Linsys sdi consumer.

Replace it with a consumer-fatal-error event.

13 years agoAdd consumer-fatal-error event to avformat consumer.
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.

13 years agoAdd mlt_consumer_position (Mlt::Consumer::position).
Dan Dennedy [Thu, 9 Dec 2010 07:43:05 +0000 (23:43 -0800)]
Add mlt_consumer_position (Mlt::Consumer::position).

13 years agoA minor refactoring.
Dan Dennedy [Thu, 9 Dec 2010 07:13:45 +0000 (23:13 -0800)]
A minor refactoring.

13 years agoAdd a consumer-sdl-paused event.
Dan Dennedy [Thu, 9 Dec 2010 05:18:36 +0000 (21:18 -0800)]
Add a consumer-sdl-paused event.

13 years agoRefactor end-of-stream and speed change.
Dan Dennedy [Thu, 9 Dec 2010 05:17:37 +0000 (21:17 -0800)]
Refactor end-of-stream and speed change.

13 years agoLoad .xml file as MLT XML.
Dan Dennedy [Wed, 1 Dec 2010 06:17:12 +0000 (22:17 -0800)]
Load .xml file as MLT XML.

13 years agoAdd example of using SWF with variables.
Dan Dennedy [Tue, 30 Nov 2010 19:33:15 +0000 (11:33 -0800)]
Add example of using SWF with variables.

13 years agoMake --luma-compress imply --luma-8bit.
Dan Dennedy [Tue, 30 Nov 2010 19:23:47 +0000 (11:23 -0800)]
Make --luma-compress imply --luma-8bit.

Otherwise, we get unloadable 16-bit PNG.

13 years agoAdd example of how to list of codecs.
Dan Dennedy [Tue, 30 Nov 2010 06:49:54 +0000 (22:49 -0800)]
Add example of how to list of codecs.

13 years agoMake the formats and codecs available through properties.
Dan Dennedy [Tue, 30 Nov 2010 06:49:12 +0000 (22:49 -0800)]
Make the formats and codecs available through properties.

13 years agoFix reading uncompressed video (bug 3121436).
Dan Dennedy [Tue, 30 Nov 2010 05:53:00 +0000 (21:53 -0800)]
Fix reading uncompressed video (bug 3121436).

13 years agoMake VDPAU decoding a tad more resilient.
Dan Dennedy [Tue, 30 Nov 2010 05:49:03 +0000 (21:49 -0800)]
Make VDPAU decoding a tad more resilient.

13 years agoAdd support for swfdec variables.
Dan Dennedy [Sat, 27 Nov 2010 00:42:24 +0000 (16:42 -0800)]
Add support for swfdec variables.

The new 'variables' property takes a URL-encoded string, e.g.
variables="title=Hello World&subtitle=swfdec variables".

13 years agoFix AVCHD detected as double frame rate.
Dan Dennedy [Wed, 24 Nov 2010 00:20:11 +0000 (16:20 -0800)]
Fix AVCHD detected as double frame rate.

The heuristic is based upon fact that there is really no such thing as
50 or 59.94 _frames_ per second interlaced.

13 years agoAdd suggested udev rules for Linsys cards.
Dan Dennedy [Sun, 21 Nov 2010 04:54:45 +0000 (20:54 -0800)]
Add suggested udev rules for Linsys cards.

13 years agoFix affine on non-square pixels (kdenlive-1880).
Dan Dennedy [Sat, 20 Nov 2010 06:21:35 +0000 (22:21 -0800)]
Fix affine on non-square pixels (kdenlive-1880).

13 years agoRefactor image conversion in swfdec.
Dan Dennedy [Thu, 18 Nov 2010 07:43:28 +0000 (23:43 -0800)]
Refactor image conversion in swfdec.

13 years agoAdd support for F0R_COLOR_MODEL_BGRA8888
Dan Dennedy [Thu, 18 Nov 2010 06:57:27 +0000 (22:57 -0800)]
Add support for F0R_COLOR_MODEL_BGRA8888

13 years agoFix crash in pango on very long strings.
Till Theato [Thu, 18 Nov 2010 05:31:47 +0000 (21:31 -0800)]
Fix crash in pango on very long strings.

Fix frame width and height get -1 when using producer pango with long
strings (large text files).

13 years agoFix the size argument handling.
Dan Dennedy [Sun, 14 Nov 2010 20:51:15 +0000 (12:51 -0800)]
Fix the size argument handling.

13 years agoAdd locks around avcodec_open/_close for thread protection.
Dan Dennedy [Wed, 10 Nov 2010 02:37:13 +0000 (18:37 -0800)]
Add locks around avcodec_open/_close for thread protection.

13 years agoFix regression on 1920x1088 clips.
Dan Dennedy [Wed, 10 Nov 2010 01:53:59 +0000 (17:53 -0800)]
Fix regression on 1920x1088 clips.

13 years agoAdd configure script to detect optional swfdec dependency.
Dan Dennedy [Mon, 8 Nov 2010 07:39:10 +0000 (23:39 -0800)]
Add configure script to detect optional swfdec dependency.

13 years agoSupport build on swfdec 0.8 as well.
Dan Dennedy [Mon, 8 Nov 2010 07:33:39 +0000 (23:33 -0800)]
Support build on swfdec 0.8 as well.

13 years agoAdd swfdec producer.
Dan Dennedy [Mon, 8 Nov 2010 07:28:09 +0000 (23:28 -0800)]
Add swfdec producer.

No audio or variables/parameters yet.

13 years agoAdd Blackmagic Design DeckLink consumer.
Dan Dennedy [Sun, 7 Nov 2010 05:11:29 +0000 (22:11 -0700)]
Add Blackmagic Design DeckLink consumer.

13 years agoAnother apsect ratio fix in affine.
Dan Dennedy [Thu, 28 Oct 2010 04:48:00 +0000 (21:48 -0700)]
Another apsect ratio fix in affine.

13 years agoFix aspect- and size-related issues in affine.
Dan Dennedy [Thu, 28 Oct 2010 03:25:32 +0000 (20:25 -0700)]
Fix aspect- and size-related issues in affine.

13 years agoFix edit points when using auto-profile.
Dan Dennedy [Fri, 22 Oct 2010 04:11:21 +0000 (21:11 -0700)]
Fix edit points when using auto-profile.

13 years agoFix frame rate detection when the muxer rate is 0/0.
Dan Dennedy [Fri, 22 Oct 2010 04:10:15 +0000 (21:10 -0700)]
Fix frame rate detection when the muxer rate is 0/0.

13 years agoAdd support for frei0r string parameter.
Dan Dennedy [Thu, 21 Oct 2010 02:54:16 +0000 (19:54 -0700)]
Add support for frei0r string parameter.

13 years agoDisable colorspace normalization - not working yet.
Dan Dennedy [Thu, 21 Oct 2010 02:51:59 +0000 (19:51 -0700)]
Disable colorspace normalization - not working yet.

13 years agoFkx crash converting string property with null value.
Dan Dennedy [Tue, 19 Oct 2010 04:16:42 +0000 (21:16 -0700)]
Fkx crash converting string property with null value.

13 years agoFix serializing xmldata in kdenlivetitle (kdenlive-1841).
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.

13 years agoFix including SDL headers (3087522).
Dan Dennedy [Mon, 18 Oct 2010 01:15:14 +0000 (18:15 -0700)]
Fix including SDL headers (3087522).

13 years agoDo not serialize profile when consumer profile is null.
Dan Dennedy [Thu, 14 Oct 2010 05:42:33 +0000 (22:42 -0700)]
Do not serialize profile when consumer profile is null.

13 years agoFix regression using codec frame rate.
Dan Dennedy [Thu, 14 Oct 2010 03:10:39 +0000 (20:10 -0700)]
Fix regression using codec frame rate.

13 years agoAdd null pointer checks around profile in consumer xml.
Dan Dennedy [Thu, 14 Oct 2010 03:00:23 +0000 (20:00 -0700)]
Add null pointer checks around profile in consumer xml.

13 years agoAdd colorspace to auto-profile.
Dan Dennedy [Thu, 14 Oct 2010 02:42:47 +0000 (19:42 -0700)]
Add colorspace to auto-profile.

13 years ago(De)serialize colorspace in profile.
Dan Dennedy [Thu, 14 Oct 2010 02:42:11 +0000 (19:42 -0700)]
(De)serialize colorspace in profile.

13 years agoFix version support for AVCodec:colorspace.
Dan Dennedy [Thu, 14 Oct 2010 02:23:03 +0000 (19:23 -0700)]
Fix version support for AVCodec:colorspace.

13 years agoAdd --avformat-no-vdpau configure option.
Dan Dennedy [Thu, 14 Oct 2010 02:22:15 +0000 (19:22 -0700)]
Add --avformat-no-vdpau configure option.

13 years agoAdd math header for lrint().
Dan Dennedy [Wed, 13 Oct 2010 17:14:58 +0000 (10:14 -0700)]
Add math header for lrint().

13 years agoAdd #frame# variable substitution in data_show filter.
Dan Dennedy [Wed, 13 Oct 2010 17:12:48 +0000 (10:12 -0700)]
Add #frame# variable substitution in data_show filter.

13 years agoFix timecode conversion with non-integral framerate.
Dan Dennedy [Wed, 13 Oct 2010 17:11:50 +0000 (10:11 -0700)]
Fix timecode conversion with non-integral framerate.

13 years agoFix consumer producer not updating frames in Kdenlive.
Dan Dennedy [Mon, 11 Oct 2010 03:46:31 +0000 (20:46 -0700)]
Fix consumer producer not updating frames in Kdenlive.

13 years agoHandle consumer properties that alter the profile.
Dan Dennedy [Sun, 10 Oct 2010 06:01:07 +0000 (23:01 -0700)]
Handle consumer properties that alter the profile.

13 years agoCheck for colorspace change on profile.
Dan Dennedy [Sun, 10 Oct 2010 05:58:45 +0000 (22:58 -0700)]
Check for colorspace change on profile.

13 years agoMove logic for when to auto-insert consumer producer.
Dan Dennedy [Fri, 8 Oct 2010 05:07:55 +0000 (22:07 -0700)]
Move logic for when to auto-insert consumer producer.

Move it into the loader producer so apps other than melt can use it too.
To use it, an app must set the profile to explicit.

13 years agoAdd mlt_profile_clone().
Dan Dennedy [Fri, 8 Oct 2010 05:01:52 +0000 (22:01 -0700)]
Add mlt_profile_clone().

13 years agoFix compile errors in latest commits to melt.c.
Dan Dennedy [Sun, 26 Sep 2010 20:50:42 +0000 (13:50 -0700)]
Fix compile errors in latest commits to melt.c.

13 years agoUse denominators as the litmus test for generating profile.
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.

13 years agoFactor out usage help from main() processing.
Dan Dennedy [Sun, 26 Sep 2010 19:24:00 +0000 (12:24 -0700)]
Factor out usage help from main() processing.

13 years agoFactor out processing -consumer option.
Dan Dennedy [Sun, 26 Sep 2010 19:21:19 +0000 (12:21 -0700)]
Factor out processing -consumer option.

13 years agoFix some framerate-related issues on playback.
Dan Dennedy [Mon, 20 Sep 2010 05:46:26 +0000 (22:46 -0700)]
Fix some framerate-related issues on playback.

Usage of stream->avg_frame_rate and seting aspect_ratio on fallback.

13 years agoFix crash on invalid and audio only clips.
Dan Dennedy [Mon, 20 Sep 2010 05:44:15 +0000 (22:44 -0700)]
Fix crash on invalid and audio only clips.

13 years agoImprove some media attributes detection.
Dan Dennedy [Mon, 20 Sep 2010 04:16:59 +0000 (21:16 -0700)]
Improve some media attributes detection.

These are for the new meta.media properties:
square pixel fallback, use new avg_frame_rate, converting 1088 to 1080.

13 years agoAdd an automatic profile feature to melt.
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.

13 years agoAdd immutable meta.media-prefixed properties.
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.

13 years agoDo not let consumer producer alter the profile when validating input.
Dan Dennedy [Sun, 29 Aug 2010 05:53:56 +0000 (22:53 -0700)]
Do not let consumer producer alter the profile when validating input.

13 years agoAdd (de)serialization of profile to XML.
Dan Dennedy [Sun, 29 Aug 2010 05:35:25 +0000 (22:35 -0700)]
Add (de)serialization of profile to XML.

In addition to the 'profile' element, one can also set the 'profile'
attribute of the root element to a named profile.

13 years agoAdd support for short-hand vpre to avformat consumer.
Dan Dennedy [Tue, 5 Oct 2010 06:58:15 +0000 (23:58 -0700)]
Add support for short-hand vpre to avformat consumer.

For example, when vcodec=libx264, you can use vpre=medium as shorthand
for $prefix/share/ffmpeg/libx264-medium.ffpreset.

13 years agoFFmpeg build improvements (3078007).
Dan Dennedy [Tue, 5 Oct 2010 06:07:44 +0000 (23:07 -0700)]
FFmpeg build improvements (3078007).

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.

13 years agoFix TextColor+Outline+Typewriter=wrong color in titler (kdenlive-1829).
j-b-m [Tue, 5 Oct 2010 03:44:40 +0000 (20:44 -0700)]
Fix TextColor+Outline+Typewriter=wrong color in titler (kdenlive-1829).

13 years agoFix race conditions in SDL (kdenlive-1711).
Dan Dennedy [Wed, 29 Sep 2010 02:22:47 +0000 (19:22 -0700)]
Fix race conditions in SDL (kdenlive-1711).

Contributed patch by 'jem' - thanks!

13 years agoFix crash in SDL with new kdenlive audio VU meter.
j-b-m [Wed, 29 Sep 2010 01:43:04 +0000 (18:43 -0700)]
Fix crash in SDL with new kdenlive audio VU meter.

Below, a patch that fixes a crash in the SDL still consumer, the bug was
triggered by the recent audio monitor feature of Kdenlive.

Basically, it just sets test_audio to 1 on the SDL still consumer
frames.

13 years agoSet default colorspace (from profile) on frames.
Dan Dennedy [Mon, 27 Sep 2010 03:25:58 +0000 (20:25 -0700)]
Set default colorspace (from profile) on frames.

Also, allow affirmatively setting luma to _not_ full range
(force_full_luma=0).

13 years agoFix indentation in producer_framebuffer.c.
Dan Dennedy [Mon, 27 Sep 2010 03:09:55 +0000 (20:09 -0700)]
Fix indentation in producer_framebuffer.c.

13 years agoAdd mlt_cache.h to set of all mlt headers.
Dan Dennedy [Mon, 27 Sep 2010 02:51:40 +0000 (19:51 -0700)]
Add mlt_cache.h to set of all mlt headers.

13 years agoDocument new colorspace and force_full_luma frame properties.
Dan Dennedy [Mon, 27 Sep 2010 01:01:17 +0000 (18:01 -0700)]
Document new colorspace and force_full_luma frame properties.

13 years agoTractor needs to pass along new frame properties.
Dan Dennedy [Mon, 27 Sep 2010 00:56:08 +0000 (17:56 -0700)]
Tractor needs to pass along new frame properties.

13 years agoSet libdv producer to Rec 601 colorspace.
Dan Dennedy [Mon, 27 Sep 2010 00:42:50 +0000 (17:42 -0700)]
Set libdv producer to Rec 601 colorspace.

13 years agoAdd colorspace to all profile presets.
Dan Dennedy [Sun, 26 Sep 2010 23:13:51 +0000 (16:13 -0700)]
Add colorspace to all profile presets.

13 years agoParse colorspace profile property and add hardcoded default.
Dan Dennedy [Sun, 26 Sep 2010 23:13:02 +0000 (16:13 -0700)]
Parse colorspace profile property and add hardcoded default.

13 years agoRename variables and properties around luma range for clarity.
Dan Dennedy [Sun, 26 Sep 2010 22:47:35 +0000 (15:47 -0700)]
Rename variables and properties around luma range for clarity.

Frame property "force_full_luma" controls this and can be set via
producer property "set.force_full_luma." However, it is not really ready
for use until libswscale can respect its full_range parameter in a RGB
to YUV conversion.

13 years agoAdd conversion to profile colorspace.
Dan Dennedy [Tue, 14 Sep 2010 05:38:40 +0000 (22:38 -0700)]
Add conversion to profile colorspace.

13 years agoExpand colorspace support to explicit 601.
Dan Dennedy [Tue, 14 Sep 2010 05:37:46 +0000 (22:37 -0700)]
Expand colorspace support to explicit 601.

13 years agoSet colorspace in codec context.
Dan Dennedy [Tue, 14 Sep 2010 05:27:49 +0000 (22:27 -0700)]
Set colorspace in codec context.

13 years agoMap profile colorspace to consumer property.
Dan Dennedy [Tue, 14 Sep 2010 05:23:22 +0000 (22:23 -0700)]
Map profile colorspace to consumer property.

13 years agoRemove hardcoded luma scaling and passing skip_luma_scale to frame.
Dan Dennedy [Tue, 14 Sep 2010 04:04:16 +0000 (21:04 -0700)]
Remove hardcoded luma scaling and passing skip_luma_scale to frame.

Luma scaling does not work and passing skip_luma_scale can be done by
setting set.skip_luma_scale on the producer.

13 years agoRename yuv_std to colorspace.
Dan Dennedy [Tue, 14 Sep 2010 03:46:13 +0000 (20:46 -0700)]
Rename yuv_std to colorspace.

13 years agoRequire skip_luma_scale explicitly <> 0.
Dan Dennedy [Tue, 24 Aug 2010 08:57:40 +0000 (01:57 -0700)]
Require skip_luma_scale explicitly <> 0.

13 years agoAdd input YUV colorspace (601 vs 709) handling.
Dan Dennedy [Tue, 24 Aug 2010 08:49:22 +0000 (01:49 -0700)]
Add input YUV colorspace (601 vs 709) handling.

Still need to work on the output side including normalization and
setting the encoder.

13 years agoRevert new image types.
Dan Dennedy [Tue, 24 Aug 2010 07:29:07 +0000 (00:29 -0700)]
Revert new image types.

I think we can just use frame properties.

13 years agoGet initial skipping of luma scaling to work.
Dan Dennedy [Tue, 24 Aug 2010 07:24:25 +0000 (00:24 -0700)]
Get initial skipping of luma scaling to work.

When the avformat producer property skip_luma_scale is set to 1, then we
do not scale the luma on the first YCbCr to RGB conversion. This is only
done once because swscale always downscales luma when converting RGB to
YCbCr, and we need to keep the conversions symmetrical to prevent luma
contraction (loss of contrast).

13 years agoImprove colorspace handling (work in progress)
Dan Dennedy [Tue, 24 Aug 2010 06:32:40 +0000 (23:32 -0700)]
Improve colorspace handling (work in progress)

Trying to add support for non-scaling luma between YCbCr and RGB
conversions as well as support for ITU Rec. 709 luma conversion for HD
formats.