View Full Version : VirtualDub and 10bit
kolak
18th April 2007, 16:10
Does Virtualdub support real 10 bit avi files (eg. cineform)?
foxyshadis
19th April 2007, 03:33
Only in 8-bit RGB mode, or direct stream copy. In editing mode, it would convert from 10-bit YUV to 8-bit RGB, then on export back to 10-bit YUV, or whatever other format you export to. (If you have the vfw codec installed.) If you use fast recompress to a codec like xvid, you can probably skip the RGB conversion step, although you don't really lose any quality with the 10-bit source.
kolak
19th April 2007, 09:54
So,it doesn't.
Thanks.
zcream
4th December 2013, 14:35
Does Virtualdub support 10-bit video processing now ?
kolak
5th December 2013, 01:17
Not really- it can decode v210 (pass through), but as far as I know all internal processing is still done at 8bit.
zcream
10th December 2013, 08:50
Not really- it can decode v210 (pass through), but as far as I know all internal processing is still done at 8bit.
So if I have Fast Recompress - and use a DirectShow interface passing 8-bit 4:2:2 or 10-bit 4:2:2 and compress with say, Cineform - then I can still avoid the YUV->RGB->YUV roundtrip ?
kolak
10th December 2013, 20:21
Yes.
Cineform codec can pass/take 10bit in Vdub. You just have to set Color Depth to v210 for Decompression and Output.
For example you can encode v210 AVI to Cineform keeping 10bit (if not filters applied).
Vdub is not locked to RGB, most if not all filters can work in YUV, so there is no need to go to RGB if you have YUV based source/target format.
We're 6 years in time since 1st post and many things have changed in Vdub :)
lansing
16th January 2015, 21:20
Yes.
Cineform codec can pass/take 10bit in Vdub. You just have to set Color Depth to v210 for Decompression and Output.
For example you can encode v210 AVI to Cineform keeping 10bit (if not filters applied).
Vdub is not locked to RGB, most if not all filters can work in YUV, so there is no need to go to RGB if you have YUV based source/target format.
We're 6 years in time since 1st post and many things have changed in Vdub :)
so the source will be forced to convert to RGB anyway once we pass it to the filter chain?
Asmodian
17th January 2015, 02:27
Vdub is not locked to RGB, most if not all filters can work in YUV, so there is no need to go to RGB if you have YUV based source/target format.
We're 6 years in time since 1st post and many things have changed in Vdub :)
Which filters can work with v210? I have not found any in VirtualDub 1.10.4. A lot of filters still seem to be forced to 8-bit RGB. For example "null transform" seems to require 8-bit RGB while "deinterlace" will use YUV444 (I assume this is 8-bit). There does not seem to be a way to change the color spaced used by a filter, instead there is an automatic conversion to the closest color space that is available?
so the source will be forced to convert to RGB anyway once we pass it to the filter chain?
No, some filters can accept YUV data (deinterlace for example). I could be wrong but as far as I am aware color depth limitations are due to the individual filters not VirtualDub's filter chain itself.
kolak
17th January 2015, 19:59
Many Vdub filters can work in YUV, but 8bit only.
I never said that Vdub filters can work in 10bit as none of them can.
Vdub 10bit pipe is very limited, but you can do some direct transcoding at 10bit, v210 to Cineform.
The point is that Vdub does not work only in RGB, it's happy to stay in YUV with many filters. 10bit is yet another story.
lansing
18th January 2015, 04:46
The main issue I have is that I'm trying to find a direct streamline processing from avisynth->Virtualdub filter->avisynth in YUV. Since Virtualdub will by default, convert everything to RGB first before passing to the filter chain, vdub filters that do 16 bit processing will have to be force to go through their own internal RGB->16 bit YUV->RGB conversion, such as Neatvideo that I'm using.
I want to post a request in the Neatvideo forum to do everything straight in YUV, but I have to first clear out my confusions. The first question about whether Vdub is able to take 10 bit video has been answered by kolak. I was able to load a 10 bit, v210 vapoursynth script into Virtualdub
ret = core.fmtc.resample(ret, css="422")
ret = core.fmtc.bitdepth(ret, bits=10)
ret.set_output()
enable_v210 = True
The second question is if I pass in a 10 bit video to vdub, can a filter that supports 16 bit yuv process able to work on the clip directly in YUV, without vdub converting it to RGB before passing to the filter chain?
v210->vdub->16 bit filter->vdub
v210->vdub->RGB->16 bit filter->RGB->vdub
kolak
18th January 2015, 17:40
I don't think that you can have 10bit pipe in Vdub with use of any filter, including NeatVideo.
I would suggest to ask this on Vdub forum.
I don't think NeatVideo can work in YUV, so this is yet another issue.
If you want to use NeatVideo and keep 10bit use AE.
With vapoursynth you have virtual file system, which will create virtual v210.avi file, so you can load this to AE and do processing with Neat plugin.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.