Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
12-bit Mjpeg Inside Virtualdub, MJPEG
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
zcream
Posted: Dec 4 2013, 01:52 PM


Member


Group: Members
Posts: 17
Member No.: 22447
Joined: 17-November 07



I am going to use a USB3 MVC in 12-bit 4:2:2 RAW mode.
It has a DirectShow driver.

The JPEG spec support 12-bit 4:2:2 JPEG files.
Does the MJPEG codec inside Virtualdub support writing 4:2:2 12-bit MJPEG files ?

I think VD is still 8-bit in RGB colorspace. However, I am hoping that the DirectShow driver can supply 10-bit 4:2:2
or even 12-bit 4:2:2 and then this can be captured within VD.

If I turn on Direct Stream Copy - perhaps the resolution and data is preserved.
 
     Top
raffriff42
Posted: Dec 4 2013, 10:56 PM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



Virtualdub is limited to 8-bit, as you can confirm by looking at all the available pixel formats under Video, Color Depth.

I can open deep color video (tested ProRes 10-bit and FFV1 10-, 12- & 16-bit) using the FFInput plugin, but the video is converted (truncated, I think) to 8 bits. Direct stream copy does not work.

I gather VfW itself is limited to 8 bits max, so there's not much chance of an upgrade.
 
     Top
raffriff42
Posted: Dec 10 2013, 08:54 PM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



I stand corrected.
QUOTE
http://www.virtualdub.org/blog/pivot/entry.php?id=268

v210 and NV12 are now supported by the blitter engine and can be selected as input and output formats.

EDIT - more information:
QUOTE (phaeron @ Feb 12 2010, 04:25 AM)
... support is fairly limited. What VirtualDub's v210 support enables is:
CODE

[*] Selecting v210 as a pass-through format between codecs.
[*] Displaying 10-bit/channel video, if Direct3D display mode is enabled with "high precision" on. In this case, the 30-bit data is dithered down to 24-bit.

Processing is still limited to 8-bits/channel -- any filtering options will force a downconversion.
 
     Top
phaeron
Posted: Dec 28 2013, 09:54 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Correct, VirtualDub itself doesn't support processing 10-bit or 12-bit per component data.

However, it can pass that data onto a codec without downconverting it, so if you have a codec that can take 12 bpc data directly, VirtualDub can pipe it through.
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
3 replies since Dec 4 2013, 01:52 PM Track this topic | Email this topic | Print this topic

<< Back to Codec Discussion