+ Reply to Thread
Results 1 to 19 of 19
-
rec.601 vs. rec.709 colors.
https://forum.videohelp.com/threads/329866-incorrect-collor-display-in-video-playback#post2045830 -
-
Here are some samples:
unflagged_rec709.mkv contains YUV 4:2:0 video with rec.709 colors, but the matrix isn't flagged
flagged_rec709.mkv contains YUV 4:2:0 video with rec.709 colors, flagged as rec.709
flagged_rec601.mkv contains YUV 4:2:0 video with rec.601 colors, flagged as rec.601
The RGB components of the color bars should be within 1 or 2 units of 0 or 191. Ie, the red bar should be 191,0,0 (r,g,b). The magenta bar should be about 191,0,191.
MPCHC on my computer displays all three with the correct colors. When the video doesn't specify the color matrix the general rule is to use rec.601 for SD video, rec.709 for HD video. Exactly what you see when you play these videos will vary depending on the player, the renderer the player is using, the graphics card you are using, and the graphics card's settings.Last edited by jagabo; 20th Jun 2017 at 09:45.
-
Thanks guys for reply
I tried VLC, PotPlayer, KMPlayer, SMPlayer, MPC-BE today (the last one has the same color changes).
Hi thanks, I have on VLC the same things on unflagged_rec709.mkv and flagged_rec709.mkv (red bar 191,0,1). flagged_rec601.mkv looks a bit orange (red bar 208,8,0)
On PP I have all the 'same' colors (imperceptible), but flagged_rec601.mkv show the grays a bit more bright
unflagged_rec709 red bar 190,0,0
flagged_rec709 red bar 190,0,0
flagged_rec601.mkv red bar 191,0,1
I tried some Video Renderers and there's no changes... -
So, looking with more attention with prints screens and the videos you sent, when I change PotPlayer to "Haali Video Renderer" I got the same colors of VLC, but when I put the two players with "OpenGL" they show the same colors like Potplayer's images I've upload above (in that case, PP has no changes, only VLC).
I don't understand this very well, what is "correct"? Haali Video Renderer, I suppose? Thank you (and sorry, I have to calibrate my english, hope you understand) -
This is what I picked color values of RGB for red bar using pickpick.
Potplayer (video renderer = auto, evr c/p), v1.7.2493
flagged_rec601 / 191, 0, 0
flagged_rec709 / 191, 0, 0
unflagged_rec709 / 191, 0, 0
mpc-hc with madVR (slightly varying), v1.7.11.36
flagged_rec601 / 191, 0, 1
flagged_rec709 / 192, 0, 1
unflagged_rec709 / 191, 0, 1
VLC (video renderer = auto, probably direct3d), v2.2.6
flagged_rec601 / 194, 32, 14
flagged_rec709 / 180, 16, 16
unflagged_rec709 / 180, 16, 16
VLC (video renderer = OpenGL), v2.2.6
flagged_rec601 / 208, 18, 0
flagged_rec709 / 191, 0, 1
unflagged_rec709 / 191, 0, 1
I double checked as the results are rather weird. There should be a way to correct it in preferences of VLC but you should not use VLC in windows at least by default.
ps. Thanks for the samples. I tried MPC-BE (all 191, 0, 0), MPV (all 191, 0, 1) and the results were the same as Potplayer. Clearly, the correct one is potplayer.Last edited by sheppaul; 20th Jun 2017 at 12:26.
-
I'm not sure what the default renderer is when you first install VLC. But whether you get the "right" colors depends on which renderer is used and what matrix was used to create the video. On my computer VLC with the OGL renderer always uses a rec.709 matrix. So rec.709 videos are displayed correctly, rec.601 videos are displayed incorrectly. On the other hand, the Direct3d, DirectX, Direct2D, and Windows GDI renders always use rec.601. So rec.709 videos are displayed incorrectly, rec.601 videos are displayed correctly. So, on my computer, there is no renderer in VLC 2.2.4 that will display all HD videos correctly. But there are several other factors which may cause other computers to behave differently: different version of VLC, different settings in VLC (accelerated video output, hardware YUV->RGB conversion, etc.), different graphics cards (with most renderer's YUV data is passed tot the graphics card and the graphics card performs the YUV to RGB conversion, Windows GDI is the exception, when using it VLC converts YUV to RGB and then passes RGB data to the graphics card), different graphics card drivers, different settings in those drivers, different codecs and different containers. I also haven't tested SD videos.
I hesitate to say a lot about PotPlayer because the version I'm using is four years old. It's behavior is likely to have changed since then. -
BTW, there is something strange. Is it correct to get a same rgb value for flagged_rec601.mkv ?
See the last result of VLC with openGL renderer. Which one is correct? VLC is the only one displaying rec601_flagged video correctly?
If the video is tagged with rec601, what should be rgb values? What values did you get from MPC-HC with flagged_rec601.mkv, jagabo?Last edited by sheppaul; 20th Jun 2017 at 12:57.
-
I did some more test with VLC 3.0 nightly build and found something different.
VLC (video renderer = directly set to direct3d), v3.0 Nightly, No changes
flagged_rec601 / 194, 32, 14
flagged_rec709 / 180, 16, 16
unflagged_rec709 / 180, 16, 16
VLC (video renderer = OpenGL), v3.0 Nightly
flagged_rec601 / 191, 0, 1
flagged_rec709 / 191, 0, 1
unflagged_rec709 / 191, 0, 1
I'm just wondering if it is corrected or it is not recognized correctly. -
All three videos should give the same RGB colors (within 1 or 2 units on each primary due to rounding errors in the YUV to RGB conversion) at playback. The rec.601 video used rec.601 to convert from the original RGB to YUV and using a rec.601 matrix to convert back to RGB should give the original colors.
-
VLC (video renderer = directly set to direct3d), v3.0 Nightly, No changes
flagged_rec601 / 194, 32, 14
flagged_rec709 / 180, 16, 16
unflagged_rec709 / 180, 16, 16
Direct3D renderer of VLC should be something like this.
So if you like colors in VLC, you can try VMR 9 Renderless. -
I made an account just to add my solution to this just in case someone else needs it. Under pixel shaders, check "Remap_16_235" and I found my video now matches what VLC and other players are showing. I also found "BT601BT709" also helped it get closer, but seemed to not quite be my issue. However, someone with a similar "video gamma seems off" issue might find that to be the fix.
Similar Threads
-
PotPlayer/MPC vs VLC - Color Problems!
By icer22x in forum Software PlayingReplies: 3Last Post: 11th Sep 2016, 15:45 -
PotPlayer - ZMBV poor/lossy color reproduction?
By largactyl in forum Software PlayingReplies: 8Last Post: 5th Jul 2015, 03:45 -
Potplayer & Color Spaces
By vdoep86 in forum Software PlayingReplies: 6Last Post: 26th Feb 2015, 06:09 -
PotPlayer playback problem
By IceToad in forum Newbie / General discussionsReplies: 5Last Post: 14th Dec 2013, 06:29 -
Potplayer playback problem
By halserrano in forum Newbie / General discussionsReplies: 4Last Post: 27th Sep 2012, 16:04