License | Features | Documentation | Download | FAQ | Change log | Related Software | Contact | Back

R3D input plugin for VirutalDub

Screenshot of the R3D VirtualDub plugin in action This plugin allows you to load Redcode™ RAW files (that is: footage shot with a RED ONE™ Camera) in VirtualDub, the popular video processing application for Windows.

For a better Windows RED workflow, see also my free R3D shell extension.

Important: In spite of what a few articles on the web may suggest, this software is not developed or released by RED. Please do not contact RED with any support questions regarding this product. Read the license below for more information.

License

By downloading and using the R3D input plugin for VirtualDub you agree to the terms and conditions set forth in this End User License Agreement ("EULA").

The R3D input plugin for VirtualDub ("Plugin") is freeware. You may use it without time or legal restrictions for either commercial or non-commercial purpose.

The plugin was developed and tested by Gábor Kertai ("Author") to his best knowledge, however Author takes absolutely no responsibility that the Plugin works as expected.

You can use the Plugin at your own risk. This Plugin is provided to you "as is", and Author expressly disclaims all warranties of any kind, either implied or express, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement. Author makes no warranty, either implied or express, that any part of the Plugin will be error-free, virus-free, secure, accurate, reliable, or of any quality.

In no event will Author be liable to you for any damages, claims or costs whatsoever arising from this EULA and/or your use of the Plugin of any component thereof.

The Plugin uses technology licensed from RED Digital Cinema Camera Company ("RED") in the form of the R3D SDK, however it has NOT been approved, tested or certified by RED. RED makes no warranties regarding the stability, accurateness and performance of their technology. As per licensing instructions of the R3D SDK, the Plugin is only made available to you in binary format.

You must not reverse engineer, decompile, disassemble or otherwise try to discover the source code of the Plugin and/or the file formats related to RED poducts, especially the Redcode™ RAW (R3D) file format.

The Plugin and any authorized copies that you make are intellectual property of Author and also contain copyrighted material from RED. You agree that all copies of the Plugin reproduced for any reason by you will contain the same copyright and trademark notices as this EULA.

The Plugin may not be redistributed, sold or otherwise made available through any channel other than a download from this website.

RED Digital Cinema, RED ONE, and REDCODE are trademarks of the RED Digital Cinema Camera Company.

Documentation
(sort of)

Extract R3D.vdplugin from the ZIP file and place it in the plugins32 folder of your VirtualDub installation. Start VirtualDub. R3D files should now show up in the "Open video file..." dialog. Note: The plugins32 folder does not exists by default, so you might have to create it. Do not copy the file into the plugins folder, it will not work there (it is reserved for older video filters, not for input plugins).

If you open a R3D file, it will be decoded at its best possible resolution and quality (most probably 4K), which may take a good amount of processing time. In the file open dialog check the "Ask for extended options after this dialog" checkbox before opening the file, and you can specify some processing options.

Screenshot of options dialog

Render Size

The table below shows what image dimensions you'd get if you fed the plugin with R3D files in certain resolutions and choose any of the different render size settings.

Decoded image sizes (widths) for different input resolutions and "Render Size" settings
Render Size
setting
Input file resolution Description
4K 3K 2K
Full resolution 4096px 3072px 2048px Renders the file at its original resolution.
Half resolution 2048px 1536px 1024px Renders the file at half its original width and height.
Quarter resolution 1024px 768px 512px Renders the file at one quarter of its original width and height.
Eighth resolution 512px 384px 256px Renders the file at one eighth of its original width and height.
Sixteenth resolution 256px 192px 128px Renders the file at one sixteenth of its original width and height.
2K max 2048px 1536px 2048px Chooses automatically from the above options so that the rendered video is no bigger than 2K wide.
1K max 1024px 768px 1024px Chooses automatically from the above options so that the rendered video is no bigger than 1K wide.

Render Quality & Image Denoise

Well, they're just the quality settings that the R3D SDK currently offers. Lower quality decoding is somewhat faster. Otherwise I have no clue what the difference is, or what goes on behind the curtains. Feel free to experiment.

OLPF comp.

OLPF compensation adds some artifical sharpening to compensate for the image softness, which is caused by the optical low-pass filter (hence the name "OLPF") in front of the camera sensor.

Corrections

Gamma Curve, Color Space, ISO, Kelvin: These allow you to specify some exposure and color correction settings that will be applied to the video when decoding. If you pick "Clip default" then the camera settings (stored in the clip metadata) will be used.

Default button: Pressing this resets all correction settings to use clip metadata values.

RAW button: Pressing this sets correction values so that the resulting image looks much like the "View RAW" option on the camera. Very little contrast with default exposure and color of the Mysteryum CMOS.

Audio Decoding

Disabled: Audio will not be decoded, even if it exists in the R3D file. You can use this option to save some processing power when you don't need audio at all, or in case you have trouble with the audio in some files.

Mono: Each audio channel will be decoded to a mono stream. You can choose which stream to use in the "Audio" menu of VirtualDub (look for the "Source audio" item). If you have forced silent tracks (see below), then the clip will always have exactly 4 mono streams with complete silence on channels where there was no audio recorded in the R3D file. If you have not forced silent tracks, then the clip will show only as many audio streams as the R3D file contains. In the latter case however there is no guarantee that audio stream numbers will match audio channel numbers from the camera.

Stereo: Audio will be decoded to two stereo audio streams. In camera terms the first stream will have channel 1 on the left and channel 2 on the right. The second stream will carry channel 3 on the left and channel 4 on the right. If any of these channels were not recorded on camera, silence is automatically generated for it.

Add silent tracks: This option is available for mono decoding only. When checked, channels recorded by the camera will be decoded as is, and channels not recorded by the camera will be substituted with silence. You can benefit from this when running batch conversions, because this option guarantees that stream #1 will be camera channel #1 and so on. If unchecked, then streams will only be created for channels that were recorded.

Normalize: Check this option to normalize the audio (i.e. turn up the volume to the highest without clipping). The camera records audio at 24 bits, but it's converted to 16 bits before passed on to VirtualDub, so normalizing before the downconversion should give you better results than doing it afterwards (by way of an audio filter).

The two channels for a stereo stream will be normalized together, so if one of the channels is very loud and the other is very quiet, then the quiet one will not change much. You can use mono decoding to work around this, when each channel is normalized independently.

The normalize function does not check for a noise threshold. If your audio is noise only (such as a channel recorded without a microphone plugged in), it will be amplified to the extreme and sound kind of unpleasant. I might improve this in a future version.

Dimensions

Crop allows you to select a frame aspect ratio to which the decoded image is automatically cropped. Select "Disabled" if you don't want the image to be cropped, or select "Clip default" to use the frame guide setting from the clip's metadata.

Letterbox allows you to automatically add black borders around the decoded image so that it ends up being of 4:3 or 16:9 aspect ratio.

File handling

When the Load first segment only checkbox is ticked, and you try to open an R3D file, VirtualDub will refuse to load it if it's not the first segment of a multi-segment clip. This can help you avoid duplicate renders when batch processing directories. (Note: whichever segment of an R3D sequence you open, you always get the same clip, with frames spanning all .R3D files of that sequence.)

Saving settings

Since VirtualDub does not offer any way to remember import options, I've implemented a solution of my own. As of V1.2, there's a Save button at the bottom of the import settings dialog. Clicking this will give you two options to save the current settings.

User global: If you choose this one, the import settings are stored in the Windows registry. They become the "default" import settings for R3D files, so the next time you open up the options dialog, you'll see the same settings show up.

Local config: This is trickier. Well, it's pretty much a hack, which I conceived because the VirtualDub API lack support for saving configurations. If you click this button, the current import settings are saved in a configuration file called VirtualDubR3D.cfg. The file is placed in the same folder that you opened the R3D file from, except when the folder is a .RDC folder, in which case it goes to the parent folder. This configuration file will affect every R3D file opened from the folder in which the config file is, and every subfolder thereof.

Here's what happens config-wise, when you open a clip: First, the user global defaults are loaded from the registry. Then the plugin looks for a VirtualDubR3D.cfg file in the directory of the R3D file. If it's found, it's loaded. If not, then it keeps looking in all parent directories, until it finds one, or it reaches the root of the directory tree.

Features & Limitations

Download

Latest version: VirtualDub_R3D_Input_V1.4.zip (396.6 kilobytes)

Older versions:
VirtualDub_R3D_Input_V1.3.zip (343.1 kilobytes)
VirtualDub_R3D_Input_V1.2.zip (340.5 kilobytes)

If you need something to experiment with, but don't have any recordings of your own, you can grab sample R3D files from the Official Red User Forums.

Frequently Asked Questions

Version History

V1.4 (released: 2009-12-05) V1.3 (released: 2009-07-03) V1.2 (released: 2009-02-07) V1.1 (released: 2009-01-10) V1.0 (released: 2008-12-27) V0.9

Related Software

If you're handling Redcode™ RAW files on Windows, you will probably find my R3D Shell Extension useful.

If you're into AviSynth scripting, check out my R3D source plugin for AviSynth.

Contact

Should you have any useful feedback, bug report, comment or idea for improvement, you can reach me at my email address.

I reserve the right to ignore any emails with a bad attitude or lack of respect.

Verified XHTML