> > Obviously for whatever reason files are tagged as limited, when in fact > they are full range. > > I couldn't find source of this bug. But your patch is wrong, as it ignores > color_range if it is set to limited, even if such files are useless. >
I think there is two problem here 1 - Frame tagged as limited instead of full 2 - Wrong calculation for rgb in unpremultiply offset Patch in attach, try to fix the second problem changing unpremultiply_offset, to avoid very wrong output with rgb input (8 bits or 16 bits) Not sure it's the best way to fix that. Martin
0002-avfilter-vf_premultiply-fix-unpremultiply_offset-for.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel