Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
Here is what I have come up with for 10-bit YUV to RGB, BT.709, range = 0 - 1023.
r = y + 1.53964687446332*(v-512)
g = y - 0.457674666142168*(v-512) - 0.183142873500381*(u-512)
b = y + 1.8141786671051*(u-512)Last edited by chris319; 24th Aug 2023 at 11:16.
-
Source please and specify if this is 709 or 601.
Last edited by pandy; 24th Aug 2023 at 05:32.
-
Last edited by chris319; 24th Aug 2023 at 11:43.
-
Thx, whenever i see so many digits after point it's trig my curiosity and raise some question about computing accuracy.
-
Well it works the best of anything I've tried for BT.709, and I've tried several. There are still some off-by-one errors and one off-by-two error in 10 bit. It is probably what avisynth and ffmpeg should be using for BT.709. It works fine with single-precision floats and does not need double-precision floats. Again, I am using the values in RP-219 as a reference.
Sharc's math is over my head.Last edited by chris319; 25th Aug 2023 at 04:39.
Similar Threads
-
Converting a 10-bit YUV to RGB
By muhahah in forum ProgrammingReplies: 0Last Post: 21st Dec 2021, 06:25 -
FFmpeg problem with rgb to yuv
By Selur in forum Video ConversionReplies: 1Last Post: 17th Jul 2021, 07:56 -
quality while converting RGB-YUV
By taigi in forum EditingReplies: 34Last Post: 24th May 2021, 00:23 -
Converting Blu-Ray YUV to RGB and back to YUV?
By killerteengohan in forum RestorationReplies: 17Last Post: 17th Mar 2020, 21:42 -
Help Converting YUV to RGB
By chris319 in forum Video ConversionReplies: 7Last Post: 24th Sep 2018, 19:51