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. |
21st February 2005, 01:04 | #21 | Link | |||
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
Quote:
Quote:
TV-scale: YUV [16,235] -> RGB [16,235] PC-scale: YUV [16,235] -> RGB [0,255]. Like i said in http://forum.doom9.org/showthread.php?s=&threadid=87811 I also said it doesn't seem to work with vfapi 1.05/TMPGEnc (btw, i guess i forgot to use DGVfapi.vfp, have to check that). Last edited by Wilbert; 21st February 2005 at 01:06. |
|||
21st February 2005, 11:49 | #23 | Link |
Registered User
Join Date: Mar 2004
Location: france
Posts: 98
|
if dgdecode use reduced 16-235 in all cases when output YUV frames, why when scripting the .d2v in a .avs file and open this avs with vdubmod it look to be 0-255 ?
here is 16-235 : but vdub show 0-255 in all cases : if Dgdecode output 16-235 for YUV, there is inevitably a conversion from 16-235 to 0-255 somewhere. vdubmod don't change the colorspace by choosing fast recompress and my encoded movies are 0-255 too so i think there is no colorconversion in all the process. in conclusion, i think dgdecode output 0-255 for YUV frames. |
21st February 2005, 16:19 | #25 | Link | ||
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
Quote:
|
||
21st February 2005, 20:51 | #26 | Link | |
Registered User
Join Date: Mar 2004
Location: france
Posts: 98
|
Quote:
here is a screenshot of the same encoded movie from vdubmod : and here is a screenshot from dgindex using tv scale (16-235) before encoding : the movie has been encode with a .d2v file created using tv scale and with vdub using fast recompress (no colorspace change) media player classic show that the movie is 0-255 and i don't think media player classic do any color conversion ? Last edited by Spyn; 21st February 2005 at 21:01. |
|
21st February 2005, 22:36 | #27 | Link | |
Guest
Posts: n/a
|
Quote:
Last edited by KaiserS; 21st February 2005 at 22:46. |
|
21st February 2005, 22:45 | #28 | Link | |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
|
|
21st February 2005, 23:13 | #29 | Link | |
Registered User
Join Date: Mar 2004
Location: france
Posts: 98
|
Quote:
all players play the movie with 0-255 range expect bsplayer who use 16-235 who lie... |
|
21st February 2005, 23:45 | #30 | Link | |
Guest
Posts: n/a
|
Quote:
|
|
22nd February 2005, 00:44 | #32 | Link | |
Registered User
Join Date: Mar 2004
Location: france
Posts: 98
|
Quote:
i use xvid 1.0.3 |
|
22nd February 2005, 00:56 | #34 | Link |
Guest
Posts: n/a
|
Well I was talking about his encoded file, which he said was using PC scale as well, not the d2v source itself. The xvid encode shouldn't have PC scale as IIRC it clips the luma range to TV scale.
Last edited by KaiserS; 22nd February 2005 at 01:02. |
22nd February 2005, 12:09 | #35 | Link | |
Registered User
Join Date: Mar 2004
Location: france
Posts: 98
|
Quote:
this is an xvid movie, avs : AviSource("H:\le_jour_d_apres.avi") ColorYUV(analyze=true) what mean loose minimum and loose maximum ? |
|
22nd February 2005, 21:47 | #37 | Link | |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
1) XviD does NOT clamp when requesting YUV (it just returns YUV [0,255]). 2) It does 'clamp to YUV [16,235] prior conversion to RGB' when requesting RGB from the codec (using AviSource("Y8.avi",pixel_type="RGB24")) for example. |
|
26th February 2005, 00:23 | #38 | Link |
Moderator
Join Date: Nov 2002
Location: Inside
Posts: 718
|
I have updated Q07 of the FAQ to reflect the clarifications in this thread. Still waiting on final reports from neuron2 and wilbert on the strange behavior described towards the end of the thread.
Q07: What does the "YUV -> RGB" option do? A: First, understand that this option is ONLY used in two cases: when you use DGDecode's internal RGB conversion filters, or when a 3rd-party application, such as Gordian Knot or VFAPI, requests an RGB frame. In short, use PC Scale if you are going to mainly watch the final video on a PC, and TV Scale if you mainly are going to watch it on a TV. PC-scale: YUV [16,235] -> RGB [0, 255] TV-scale: YUV [16,235] -> RGB [16, 235/240] |
26th February 2005, 02:05 | #39 | Link | ||
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
(240 refers to the chroma of course) Quote:
Ok, when would you use TV-scale? Well never, but you can use it in the following theoretic cases: 1) Open the d2v file in TMPGEnc and check the "Output YUV data as Basic YCbCr not CCIR601" option (which is UNchecked by default). In this case the RGB->YUV conversion will be done preserving the luma range. 2) I guess CCE will do this similarly when feeding RGB and checking "luminance level 0 to 255". Since you are feeding RGB [16,235], it will map to YUV [16,235]. I guess, i don't have CCE, so i never tried it. I can't think of any other case. |
||
26th February 2005, 02:27 | #40 | Link | |
Moderator
Join Date: Nov 2002
Location: Inside
Posts: 718
|
Quote:
TV Scale: YUV [16,235(Y)/240(UV)] -> RGB [16, 235] Correct? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|