[FFmpeg-user] YUV->RGB conversion. What is the default matrix used?
Mike Scheutzow
mike.scheutzow at alcatel-lucent.com
Thu Jul 5 15:03:47 CEST 2012
Tim Nicholson wrote:
> If I could relate the coefficients as defined in the two files above I
> might be able to add 634/smpte 170m (they use the same values) to
> colormatrix to provide a workaround...
Did you look at the ff_yuv2rgb_coeffs[] table?
The comments imply that it already defines 170m. But the sws api doesn't
seem to give you an easy way to select it.
You could change SWS_CS_DEFAULT and recompile, if you're willing to
maintain a private build.
Mike Scheutzow
More information about the ffmpeg-user
mailing list