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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Capturing Video
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 11th December 2003, 18:32   #1  |  Link
barryland
Registered User
 
Join Date: Mar 2003
Posts: 5
Colour Space. Which?

I am currently working my way through my collection of shockingly crap martial arts films and I need to use various filters to de-interlace, resize, logo and sexify my ugly-ass video.

I just can't figure out what colour-space I should be capturing in. I use virtualdub for the cap and the format conversion and but have noticed all sorts of nasty artifacts when converting my Mjpeg captures to Xvid using Vdub's "full processing" option.

Can anyone tell me what the best colour-space to capture in would be? Or even in fact if I am barking up the wrong tree all-together.

(Sorry if this is a bit confused but I've been wading through Google translated web pages looking for an answer and my brain is fried)
barryland is offline   Reply With Quote
Old 11th December 2003, 19:26   #2  |  Link
trevlac
budala
 
Join Date: Oct 2003
Location: U.S.
Posts: 545
I can't say I'm an expert in this, but I have been reading a bit lately. Here is what I think I know.

The original source is basically YUV which in codec terms is YUY2 or UYVY or YVYU which are all 4:2:2 subsampled (or basically the same as the source).

So if you look here you'll see a recomendation to cap in one of the YUV flavors.

However, I believe Xvid or any MPEG compression uses 4:2:0 subsampling. (Mpeg2 does. You'd have to check on mpeg4 which I don't do.) Your card can probably do a decent job converting down to this which it will do as YV12. This is also the YUV color space so it is just a matter of removing some of the info on every other line.

Finally, It is my understanding that VirtualDub in full processing operates in the RGB color space. (As opposed to the YUV one.) I take it this means it converts from YUV to RGB whenever you use a filter. So if you use VDub full processing, from an mjpeg cap of YUV to an Xvid of YUV you are converting to RGB in the middle.

Disclaimer:
I don't do mpeg4 and I have not really worried about the colorspace thing when I filter my YUY2 caps. So maybe someone else can give you the 'right' thing to do. I just wanted to point you in the right direction.

Here is a link I found informative recently. As I post it, it does not work, but I'm sure it will be back.


Below is a forum topic that tells me someone caps in YV12, uses Avisynth to filter, and uses virtualDubMod fast recompress to encode YV12 to Xvid. No color space conversion. Just a downsample (by the card or maybe avisynth).

http://forum.doom9.org/showthread.ph...ighlight=rgb24

Last edited by trevlac; 11th December 2003 at 19:32.
trevlac is offline   Reply With Quote
Reply


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 17:50.


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