Still Confused about RGB and YUV » E-commerce » Forum
wr-forum WOW mod

ПоискПоиск   Users   Registration   Entrance
Today: 26.04.2025 - 11:28:09
Pages:  1  

Still Confused about RGB and YUV

Advertising

.
AuthorMessage

kapolani

user




Statistics:
Messages: 76
Registration: 03.01.2002

Hi all, First: Yup, I read the FAQ and many posts and am still confused. I have a modest 1.4 GHz PC using: Windows XP with SP1 Scenealyzer Live! 2.1 Vegas 4 CCE Version 2.67.00.23 Matrox DV Codec This is my receipe for capturing video and I'm not getting pure YUV in the video processing chain. (1) VHS tape connected to analog input of Canopus ADVC-100. (2) Output of Canopus over Firewire into PC. (3) Scenealyzer Live reads the ADVC-100 video and creates an AVI file, which should have the appearance of a DV capture. I am assuming that I am getting 100% YUV video on that AVI file. Is that correct??? (4) I ended up only using Vegas to snip off the ends of the captured AVI, which I should have done in CCE or TMPGEnc, directly. I thought Vegas would leave the YUV as YUV, when it rendered out as an AVI. I am wondering if Vegas has converted to RGB on the render out. (5) Using CCE, it seems to me that a test of a sample clip has created two different looking MPEGs, one for Luma 0-255, and the other for Lum 16-235. If CCE is reading raw YUV video from the captured AVI file, then RGB conversion would not be needed. Therefore, if a difference in the sample exists, it seems that CCE is converting from RGB. Right? Enough of my ranting. What the heck do I have to do to keep a nice tight Capture to MPEG chain and never have to use RGB conversion? Thanks, Gary

---------------------
Message # 1 10.12.23 - 00:10:55
RE: Still Confused about RGB and YUV

Ichiro

user




Statistics:
Messages: 22
Registration: 05.21.2002

Moved to DV forum, since your capture occurs externally, and your input method is DV.

---------------------
Message # 2 10.12.23 - 00:19:37
RE: Still Confused about RGB and YUV

85-318i

user




Statistics:
Messages: 53
Registration: 10.09.2003

GParent, in your conversion chain Vegas appears to use RGB internally. But as soon as you render the video to a DV AVI again, you should have the YUV colorspace back. Which codec did you use for Vegas output? The luma range can be affected in several steps. I suggest you use AviSynth's histogram functionality to test the luma range in the various conversion steps. bb

---------------------
Message # 3 10.12.23 - 00:28:16
RE: Still Confused about RGB and YUV

Jeff@eurobahn

user




Statistics:
Messages: 80
Registration: 05.15.2002

Vegas uses its proprietary DV Codec, refered to as SoFo Codec. Some say its from Main Concept and others say Sonic Foundry (now Sony) did it themselves. Essentially, you have control over what Codec that Vegas uses internally. If you check "IGNORE THIRD PARTY DV CODECS" and uncheck "USE MICROSOFT DV CODEC" it will use its own. However, the SoFo Codec is invisible. Let me repeat, the Vegas Codec is transparent and not exposed to the external world outside of Vegas. What Vegas renders will later be decompressed by the default 'dvsd' Codec. In my case, 'dvsd' is MATROX. Matrox will do both YUV and RGB, from what I understand. Since my captures are very straight forward, Im aiming to tighten the loop. STEP 1: Scenalyzer Live to Capture. Under options, I have set TYPE 2 DV AVI file (Premiere, etc.). My other option is the Canopus Compatible DV file. I am sticking with the Type 2 DV AVI ('dvsd'). Since Canopus ADVC-100 created the DV video I am capturing, I have no explanation why I am avoiding it. STEP 2: NO VEGAS. I'll go right into CCE to create the MPEG-2. If the Matrox Codec really does handle YUV, can I assume that the RGB Luma sttings will be ignored by CCE. NOTE: If I were converting to YUV using an AVISYNTH script, then CCE would ignore the RGB Luma settings. Right? If so, why can't CCE do the same for raw YUV directly out of the capture file??? Again, I am in the process of experimenting with some samples but I wanted to get the advice here before proceeding. Gary

---------------------
Message # 4 10.12.23 - 00:31:55
RE: Still Confused about RGB and YUV

bmwsmurf

user




Statistics:
Messages: 36
Registration: 08.02.2003

The Panasonic DV codec outputs RGB indeed. The conversion to YUY2 is necessary in this case, but takes time. So if you want to keep the VfW way with AviSource, then you may consider to install another DV codec, e.g. MainConcept or Canopus (remember that Canopus uses a different fourCC). DirectShowSource should not be slower than AviSource. Make sure you use the latest AviSynth version - there were several improvements in the DirectShow area. bb

---------------------
FS [Engine]: Starter, Alternator ,MAF, USB DCAN OBDII cable, Engine Mount, Water Pump FS [E30]: New Exhaust Mounting Parts FS [Lighting]: E36 New ApexCone headlights, stock headlights, cancellors FS [Suspension Parts]: e36/e46 CAB, shocks mounts, lol
Message # 5 10.12.23 - 00:43:28
RE: Still Confused about RGB and YUV

jimmiwin

user




Statistics:
Messages: 198
Registration: 05.18.2003

Used VCSwap to disable the Panasonic DV codec. Now I get an error that AVIsource doesn't have a dvsd decoder to read the AVI file. But I could swear it worked before I installed the Panasonic DV codec? Will try downloading the Free Canapus and change the FourCC to see if that works. I do have AVISynth 2.54. Thanks for the help.

---------------------
98 328i Slower does not mean safer.
Message # 6 10.12.23 - 00:51:28
RE: Still Confused about RGB and YUV

ScCab

user




Statistics:
Messages: 123
Registration: 12.05.2001

So you must have had another DV codec (or at least a decoder), which was set to handle dvsd. E.g. ffdshow is capable of decoding DV (even in VfW mode). bb

---------------------
Message # 7 10.12.23 - 00:57:14
RE: Still Confused about RGB and YUV

FabulosoM3

user




Statistics:
Messages: 161
Registration: 05.22.2003

Tried the canapus decoder, it worked and gave a colorspace Output of YUY2 on my script. FFDSHOW worked also and gave an output of YV12 on my script unless I disabled the YV12 in the Decoder/Output settings, then it outputed YUY2. What would be the preference Canapus or FFDshow decoder? Can't say I've used either in the past. If my capture is from a Sony DV cam DCR-PC101, is the native colorspace YUY2 or YV12?:confused: Wonder if my Sony Cam installed a DV codec that was disabled and lost when I installed the Panasonic DV codec.:eek: I've always had great results using VDUB filters with TMPGenc. But did some reading and wanted to try out AVISYNTH and CCE for speed and less colorspace conversions. Ohh well, time to play around and do some testing.:)

---------------------
SOLD Mods? A few here & there...
Message # 8 10.12.23 - 01:06:23
RE: Still Confused about RGB and YUV

dchen

user




Statistics:
Messages: 112
Registration: 10.07.2001

Your Sony DV codec must have been disabled when the Panasonic codec was registered to the same fourCC (there's only one codec per fourCC). It should be possible to re-register it again (don't ask me how :) ). Colorspace: DV is YUV 4:2:0 for PAL and YUV 4:1:1 for NTSC. bb

---------------------
Message # 9 10.12.23 - 01:17:34
RE: Still Confused about RGB and YUV
PVAStrumento makes it worse : Previous topicNext topic: Де в Києві купити великі алмазні диски?
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants