Log in

View Full Version : Knowing when to use Rec601 or Rec709 with RGB source


fifteen
22nd May 2009, 04:46
Question 1: Say I have an RGB source that I want to encode to various formats: DVD, Bluray, Quicktime movie, etc.

Which matrix do I use when using ConvertToYV12()?? Would it be different for each format?


From Avisynth wiki:

Default "Rec601", scaled to TV range [16,235].

* "PC.601" : Use Rec.601 coefficients, keep full range [0,255].
* "Rec709" : Use Rec.709 coefficients, scaled to TV range.
* "PC.709" : Use Rec.709 coefficients, keep full range.


Question 2:If I have a Bluray file and I plan on encoding it to DVD do I need to do adjustment to the color matrix before encoding??? Or vice-versa?

If there is a site out there that explains in layman's terms the color matrices and when/where they need to be used, please post it, thanks.

Esurnir
22nd May 2009, 05:10
Most of the time you'll be safe if you use Rec.601 for SD material and Rec709 for HD material.

Mounir
22nd May 2009, 17:51
What's the difference between PC.601 and Rec601 or PC.709 and Rec709 ? I don't quite understand 601 is 16-235 so why: "PC.601" : Use Rec.601 coefficients, keep full range [0,255]. ???
(edit: nevermind i found out)

As far as ConvertToYV12() the luma range could be full or 601 it's not a problem i believe.

I read somewhere that if you "upscale" the luma range 16>0 / 235>255 you'd have to adjust the contrast aswell, right/wrong?

fifteen
23rd May 2009, 03:55
Most of the time

When wouldn't you do this? Do Bluray players support PC709? Also, if Bluray players play SD and HD content alike shouldn't the player be able to handle HD content in rec601 too?

Mounir
24th May 2009, 18:22
I'm back on this topic as this is interesting.

The thread starter "fifteen" said he has a Blu Ray which is full scale (0-255) as one may know yet he was advised to use rec709 which have a restrained scale 16-235 (tv scale). So i beg to differ on the solution i would use PC.709. But i'm a beginner with avisynth so maybe something escaped me ...