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.

 

Go Back   Doom9's Forum > General > DVD2AVI / DGIndex

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th August 2017, 02:00   #1  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
Does the "YUV -> RGB" parameter actually do anything?

Does it matter if it's PC scale or TV scale?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 15th August 2017, 09:23   #2  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
http://rationalqm.us/dgmpgdec/DGInde....html#YUVtoRGB
sneaker_ger is offline   Reply With Quote
Old 15th August 2017, 15:25   #3  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
Okay. Second question: what is "DGVfapi"?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 15th August 2017, 18:12   #4  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by Katie Boundary View Post
Okay. Second question: what is "DGVfapi"?
http://www.avisynth.org.ru/docs/engl...rs/dgvfapi.htm

From distant memory, VFAPI, is some kind of frameserver thing, I believe that it can be used as input to TmpGenc (which I know you have experience of).
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 15th August 2017, 21:44   #5  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
But it's not something that's automatically invoked as part of the normal VOB -> D2V -> AVS -> Premiere/vdub/tsunami/etc. workflow?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 16th August 2017, 00:14   #6  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
You could eg process something in VDub, and pass it on the TmpGenc without save to file.
Not sure why I ever used it with DGIndex, but I think I have done.
Maybe it allowed you to directly read from a d2v file. (GOPS and stuff from d2v, video data directly from DGIndex though VFAPI memory pipe)

Just found on my hard drive in a TmpGenc Non install directory of shortcuts, Installers.
# README.TXT
Code:
Need To Install READAVS.REG to use Avisynth & virtual dub frame serving

Also good idea to install DIVX 5.x for YV12 decoding (otherwise
need to convert to RGB24 for TMPGenc which slow it down a lot)

and HUFFYUV for YUY2
#ReadAVS.reg # Install_As_Client_For_VirtualDub_Avisynth
#(REGEDIT4, seems to be from W2K, I think, is REGEDIT5 in XP)
Code:
REGEDIT4
; Replace the path below with the real path to the DLL.
; Be sure to type each backslash twice, as in the example.

[HKEY_CURRENT_USER\Software\VFPlugin]
"Avisynth"="C:\\NON-INSTALL\\TMPGEnc\\MyExtras\\ReadAVS.dll"
TmpGenc Options menu/Environmental

Above Priority took some time to get in order, methinks (Also seem to be missing a good number).


Page from TmpGenc site:- http://www.tmpgenc.net/en/e_vfapi.html

Think there was a lot of stuff for TmpGenc VFAPI, much of it in Japanese:- https://www.google.co.uk/search?site...k1.n1uIziIzsgo

Dont remember much else and dont really wanna go back there, way too ghetto
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 16th August 2017 at 00:20.
StainlessS is offline   Reply With Quote
Old 16th August 2017, 05:32   #7  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
Quote:
Originally Posted by StainlessS View Post
You could eg process something in VDub, and pass it on the TmpGenc without save to file.
That sounds extremely useful for Vobsub/VSrip projects. But the bottom line is, can I safely ignore the YUV -> RGB parameter when using a VOB -> D2V -> AVS -> Premiere workflow?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 16th August 2017, 16:06   #8  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
YUV->RGB Table of Contents

When you use DGVfapi to frame serve, the video is always converted to RGB. This option specifies how the colorspace conversion to RGB is to be performed.
PC scale - Map output RGB to full range: YUV [16, 235(Y)/240(UV)] -> RGB [0, 255]
TV scale - Map output RGB to clipped range: YUV [16, 235(Y)/240(UV)] -> RGB [16, 235]

This option affects conversion to RGB, which occurs in only two places in DGMPGDec: 1) in the display window of DGIndex, and 2) the video served by DGVfapi. Generally, unless you have a good reason to clip the RGB, you should select the PC scale option.
I would say yes, ignore it (leave at PC levels). AVS would want 0->255 PC levels RGB, and not 'Studio RGB' 16->235 range.

If AVS output is usually OK (0>255 RGB, or 16-235 YUV), then see no reason why you would want input into AVS to be 16->235 RGB.

However, can't speak for what Premiere wants, I dont not got it
Why not just do a test and see if you get out what you were expecting.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 17th August 2017, 22:11   #9  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
By "ignore it", I mean "ignore it regardless of whatever it's currently at", not "be sure that it's always set to PC scale". This is an important distinction because I tried setting it to TV scale and setting Tsunami to YCbCr in an attempt to correct excessive lightening of black areas, which I later found out was actually a VLC problem, not an encoding problem... the point is, does this parameter actually do anything when using a VOB -> D2V -> AVS -> Vdub/Tsunami/Premiere/etc. workflow?

I don't know how many different ways I can phrase this question.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 17th August 2017, 22:13   #10  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
It does not.
sneaker_ger is offline   Reply With Quote
Old 18th August 2017, 17:40   #11  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
Okay, thank you.

EDIT: I guess this fellow asked the question that I should have asked: "how do I know if I'm using dgvfapi?"
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.

Last edited by Katie Boundary; 18th August 2017 at 17:43.
Katie Boundary is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:09.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.