Branch: refs/heads/master
  Home:   https://github.com/mltframework/mlt
  Commit: 6834acd8779dbf5224a294c22a6d5f69f1903d3e
      
https://github.com/mltframework/mlt/commit/6834acd8779dbf5224a294c22a6d5f69f1903d3e
  Author: Dan Dennedy <d...@dennedy.org>
  Date:   2014-01-20 (Mon, 20 Jan 2014)

  Changed paths:
    M src/modules/avformat/filter_avcolour_space.c
    M src/modules/avformat/producer_avformat.c

  Log Message:
  -----------
  Fix a few problems with YCbCr colorspace conversion.

In avformat producer on libav (and FFmpeg < v2.1) conversion from RGB to
YCbCr would not use the destination colorspace because
sws_getColorspaceDetails() fails. Switch to calling only
sws_setColorspaceDetails().

In full luma yuvj420p->mlt_image_yuv420p conversion, the luma range was
always scaled down to MPEG range. The swscale implementation does not
let one override the range as the conversion routines are initialized at
the time a swscale context is allocated and initialized. Any changes in
sws_setColorspaceChanges() are mute.

In RGB->YCbCr conversion, the existing (source) colorspace was used
instead of the profile colorspace. Also, we need to set the new
colorspace as a property of the frame.


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to