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 > Capturing and Editing Video > DV
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th April 2013, 11:26   #1  |  Link
carlaron
Registered User
 
Join Date: Dec 2009
Posts: 7
Capture from DV-CAM Colorspace confusion (YV12 RGB24)

Hi,

I am digitizing old 8mm/Hi8 and D8 Videos. I am using an old Sony Cam to transfer/digitize the tapes.

I am using DVCapture (old tool from Mainconcept) similar to WinDV to save the stream as type2

When I open the file with avisynth and info() it tells me that the colorspace is RGB24.

Now my question: I thought old video material is always YV12, why does avisynth tell me it is rgb24?
where was the conversion? does this result in any quality loss through "capture"/saving the stream from the camera?

Thanks for any insight.
carlaron is offline   Reply With Quote
Old 8th April 2013, 16:16   #2  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Probably your VFW DV decoder is outputting RGB24

I think old mainconcept DV decoders did this or had an option to configure the output

If it doesn't try a different decoder e.g. cedocida, or FFMS2
poisondeathray is offline   Reply With Quote
Old 8th April 2013, 17:04   #3  |  Link
carlaron
Registered User
 
Join Date: Dec 2009
Posts: 7
Does this cost a lot of quality?

WinDV also outputs rgb24

How do I check which dv Codec is used? (winxp)
carlaron is offline   Reply With Quote
Old 8th April 2013, 17:12   #4  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by carlaron View Post
Does this cost a lot of quality?

WinDV also outputs rgb24

How do I check which dv Codec is used? (winxp)
Yes, RGB output will cause quality loss. The conversion to RGB by your decoder will clip superbrights/darks, and have rounding losses

In vdub, load your AVI directly, look at file=>file information it should tell you which VFW DV decoder is currently being used
poisondeathray is offline   Reply With Quote
Old 8th April 2013, 18:34   #5  |  Link
carlaron
Registered User
 
Join Date: Dec 2009
Posts: 7
thanks for the input!

i just checked one file on a different laptop (internal dv decoder (dvsd))

any way to figure which codec is used by winDV or MainConcept DVrecorder?

why don't they just transfer the data stream? is that due to using type2 avi?
carlaron is offline   Reply With Quote
Old 8th April 2013, 18:58   #6  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Not sure about mainconcept dvrecorder, but windv just copies the data stream from the tape

The damage isn't done by windv, it's done by your decoder .

There are no video quality differences between type 1 or type 2
poisondeathray is offline   Reply With Quote
Old 8th April 2013, 22:43   #7  |  Link
carlaron
Registered User
 
Join Date: Dec 2009
Posts: 7
well, this is strange now... (or probably i am just not getting it) xD

i record with winDV on an old XP machine; then i copy over network to new/fast machine; using avisynth and info() it tells me when opening in virtualDub that it is rgb24...

(probably having panasonicDV on that machine)

Last edited by carlaron; 8th April 2013 at 22:46.
carlaron is offline   Reply With Quote
Old 8th April 2013, 23:39   #8  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
panasonic is known to convert to rgb

when I said open in vdub directly and check file=>file information, I mean directly, not through an avs script
poisondeathray is offline   Reply With Quote
Old 9th April 2013, 01:37   #9  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
For VFW install Cedocide and configure it to output YUY2 or YV12
IanB is offline   Reply With Quote
Old 9th April 2013, 21:12   #10  |  Link
carlaron
Registered User
 
Join Date: Dec 2009
Posts: 7
Quote:
Originally Posted by poisondeathray View Post
panasonic is known to convert to rgb

when I said open in vdub directly and check file=>file information, I mean directly, not through an avs script
did so to check; but through avs script gets me the same result...



mei will try when I get back home; i am on business trip for a 10 days
carlaron is offline   Reply With Quote
Old 9th April 2013, 23:37   #11  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by carlaron View Post
did so to check; but through avs script gets me the same result...


Yes, I know...The point was to identify the decoder. It will usually say which decoder. If it says panasonic and RGB24, then you have your answer

avisynth frameserves uncompressed data, so it will never identify the decoder if you feed an avs script, just the pixel format

The solution was mentioned above, change your decoder e.g. cedocida (you might have to uninstall your current decoder or use vcswap to manage the VFW codecs)
poisondeathray is offline   Reply With Quote
Old 10th April 2013, 19:34   #12  |  Link
carlaron
Registered User
 
Join Date: Dec 2009
Posts: 7
that is what i did.

i opended the file directly and it said "internal"; that is why i was confused.
carlaron is offline   Reply With Quote
Old 21st April 2013, 10:44   #13  |  Link
fvisagie
Registered User
 
Join Date: Aug 2008
Location: Isle of Man
Posts: 588
Quote:
Originally Posted by carlaron View Post
i opended the file directly and it said "internal"; that is why i was confused.
Turn off VirtualDub > Options > Preferences > AVI > Prefer internal video decoders over installed third-party codecs (MJPEG and DV). Then File > File Information will tell you what external decoder is being used.

Another possibility: what media file filter do you use to input into Avisynth? With YV12 DV input, using DirectShowSource() with default parameters would always produce RGB24 output on my system with Avisynth 2.5.8 (I haven't yet checked what happens with 2.6.0).

Cheers,
Francois
fvisagie is offline   Reply With Quote
Old 12th May 2013, 14:46   #14  |  Link
TheSkiller
Registered User
 
Join Date: Dec 2007
Location: Germany
Posts: 632
It has been mentioned already, I as well highly recommend installing Cedocida DV Codec. It outputs whatever you want (there's a config window).
Usually, you would want YV12 or YUY2 with MPEG2 chroma placement (DV stores with it's own chroma placement, something one should not forget about).
TheSkiller 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 12:45.


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