Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
15th January 2014, 03:28 | #1 | Link |
Registered User
Join Date: Jun 2013
Posts: 65
|
Colour difference?
Hi there, recently I was playing with some game footage to practice some encoding and I'm having an issue, the colour of the original and the colour of the encoded file are different.
Original: Encoded: The source video 720p, lossless RGB, and I use MPC-HC with madVR as video player so I don't think it can be a renderer issue. My settings are: CRF18, Very slow Code:
--level 4.1 --keyint 30 --open-gop --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --output-csp i444 Thanks. Last edited by EncodedMango; 15th January 2014 at 03:36. |
15th January 2014, 04:13 | #3 | Link | |
Registered User
Join Date: Jun 2013
Posts: 65
|
Quote:
But like you mentioned, it will only work with madVR so it isn't an ideal option. I've never used Avisynth, what exactly are you suggesting I use it for? EDIT: I just checked with MediaInfo and the encoded file shows: Is this normal? I set bt470bg for all of them when encoding Last edited by EncodedMango; 15th January 2014 at 04:24. |
|
15th January 2014, 04:34 | #4 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
He' s suggesting to use avisynth for the RGB=>YUV conversion using a Rec709 matrix instead of the Rec601 that x264 uses. So you don't have to rely on madvr or flags (but you should still flag it bt709)
ConvertToYV24(matrix="rec709") |
15th January 2014, 04:54 | #5 | Link | |
Registered User
Join Date: Jun 2013
Posts: 65
|
Quote:
I'll try it out, thanks. |
|
15th January 2014, 05:27 | #6 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
PC matrix would actually be better quality wise (you're "mapping" 0-255 RGB to 0-255 Y'CbCr, instead of 0-255 to 16-235 Y' , 16-240 CbCr), but the majority of setups will convert back to RGB for display using Rec709 matrix and the levels will look incorrect. But the setups that obey full range flags will decode it correctly if you used a PC matrix for the actual RGB=>YUV conversion The other option is to encode as RGB, but it's not as efficient as YUV 444 encoding for x264 |
Tags |
color, colour, luminescence, x264 |
|
|