Open GoogleCodeExporter opened 9 years ago
[deleted comment]
Correction, no professional yuv 444 *10-bit codecs exist. Quicktime's 410 comes
close but is, basically, supported by nothing.
Also tested with 10-bit RGB codecs like AJA's, same fidelity and color shifting
issues.
Original comment by gtrply...@gmail.com
on 10 May 2013 at 11:23
Seems like I've come across a better solution. "-color_primaries bt470bg" as an
argument after input seems like a cleaner conversion (whatever it's doing
exactly, I've yet to look in source) with no minute color shift and better
accuracy than the video filter color matrix.
Original comment by gtrply...@gmail.com
on 11 May 2013 at 10:38
"FFMPEG's legacy ProRes encoder (not prores_kostya) seems to handle RGB
material without a color shift but it is limited to yuv422p10."
This is very suspicious.
Can you please use rc8 and post your file that seems to not have a color shift ?
It would be nice if colormatrix would handle 10 bits, yes. Feel free to send a
patch or sponsor the feature.
Original comment by baptiste...@gmail.com
on 13 May 2013 at 8:56
Original comment by baptiste...@gmail.com
on 13 May 2013 at 8:57
Can you also please upload your source file somewhere ?
Original comment by baptiste...@gmail.com
on 13 May 2013 at 9:01
After researching the issue further, my summary, findings, and solution are as
follows:
When encoding HD sized material in ProRes originating from an RGB-based codec,
there is a color shift due to some misinterpretation of color primaries during
RGB-YUV conversion.
This can be resolved during encoding by using the flag "-color_primaries
bt470bg". This avoids or mitigates a procedural color conversion based on frame
size achieved in lines 282-304 of proresenc.c (as of 0.7rc8). This also seems
to preserve full 10-bit fidelity.
Rather than writing a patch, it may be more beneficial to include this flag's
usage in documentation.
Original comment by gtrply...@gmail.com
on 10 Jul 2013 at 8:23
It's not a proper "fix".
Default:
RGB->601 YUV (due to ffmbc bug)-> ProRes tagged as 709->decoding through
709=wrong RGB on display
With your tagging:
RGB->601 YUV (due to ffmbc bug)-> ProRes tagged as 601->decoding through
601=correct RGB on display (but this is not a proper fix)
This ProRes file has 601 color spaces, where it should have 709, as it's HD
file. Also some software don't read flags but use matrix based on frame size
and than your file will still look wrong.
Proper way (for HD file):
RGB->709 YUV -> ProRes tagged as 709->decoding through 709=correct RGB on
display (and proper color space)
Original comment by andrew.k...@gmail.com
on 9 Nov 2013 at 9:42
Related to http://code.google.com/p/ffmbc/issues/detail?id=114
The issue is the RGB to / from YCbCr conversion, all of which are hardcoded to
601 in FFMPEG / FFMBC. Also applies to SSE / MMX optimizations.
Affected files:
swscale.c
swscale.h
utils.c
Original comment by troy.sob...@gmail.com
on 30 Jun 2014 at 9:39
I can confirm that I'm also seeing this issue.
Using either full range DPX or full range v210 files at both 1920x1080 and
3840x2160 produces a ProRes 422HQ file with ITU-R BT.601 colourspace (according
to MediaInfo)
Original comment by cy.thomp...@googlemail.com
on 4 Feb 2015 at 1:51
Original issue reported on code.google.com by
gtrply...@gmail.com
on 10 May 2013 at 10:17