R3D Conversion for Red One Workflow (Windows)


r2cf_workflow R2CF.exe is a Windows (only) shell-based tool that converts Red One™ R3D files into numerous CineForm file formats.  Images are converted into CineForm's online editing and mastering formats at spatial resolutions up to 4.5K. Resulting CineForm files are compatible with most Windows and Mac NLE/compositing applications including Adobe CS3, Sony Vegas, Final Cut Studio, Combustion, etc.  R2CF is included in the CineForm --> Tools folder under Start Menu when Neo 4K/HD or Prospect 4K/HD is installed. NOTE 1: R2CF will be integrated with a GUI into HD Link in the near future to augment the current command line tool.  NOTE 2:In advance of offering a GUI for R2CF, batch scripts (vbs scripts) are included to assist with batch conversion of directories full of R3D files.  Use of the scripts is discussed further below.  


•  CineForm output formats:

CineForm Master: 10-bit YUV 12-bit 444, 12-bit RAW (Neo 4K and Prospect 4K only) CineForm Express: 10-bit 1K "Mini-Me" versions of CineForm Master files

•  Spatial resolution:

SD up to 1920 x 1080 (Neo HD and Prospect HD SD up to 4K horizontal (Neo 4K and Prospect 4K)

•  Encoder curves:

Cineon, Gamma, Log (applied prior to CineForm compression)

•  Aspect ratio:

Unrestricted from 4:3 to 2.35:1 and beyond

•  Region of interest cropping:

Including 4000-wide rasters for support of Final Cut Pro

•  In/Out point selection in R3D file

•  R2CF also provides DPX file output


System Recommendation

Hardware:Compatible with P4 and above.      - Minimum: Core 2 Duo processor      - Recommended: Dual Core2 (or single Quadcore)      - Preferred: Dual Quad Core  

OS: Minimum: Windows XP/Vista.  Recommended: Windows XP64/Vista 64

Memory: 2GB (Minimum); 4GB (Preferred)


Using R2CF.exe

R2CF.exe is located in the CineForm --> Tools folder under Start Menu.  If you launch R2CF a command window will appear and display the syntax to use when invoking R2CF.  Usage syntax is shown below.  NOTE 1: If you want to change your working directory for file conversions into that of your media, you may find it convenient to copy both R2CF.exe and cfrndrfarm.exe from the Tools directory into your system path. (If you don't know what that is, use c:\windows\system32\.)  This will allow Windows to always find R2CF.exe, regardless of the path you are converting media in. NOTE 2: R2CF.exe is used for single file conversions.  The .vbs scripts described below (which call R2CF.exe) should be used for batch-converting a folder (or disk) full of R3D files. Notes to Using R2CF.exe and the Batch Scripts

•  In addition to R2CF.exe, to transcode into and edit CineForm Express files you must have Neo HD/4K or Prospect HD/4K installed because the converter uses the Cineform encoder in Neo/Prospect.    •  To transcode into and edit CineForm Master files and manipulate Active Metadata you MUST have Neo HD/4K version 4.x or Prospect HD/4K version 4.x installed in addition to R2CF.exe.  

R2CF Command Line Syntax (see below for VBS Script description)

r2cf output-template.(dpx|avi|mov) inputfile.r3d [switches] Switches:(Note: file or switch order on the command line is NOT significant)

-a  switches audio processing off (default is on for AVIs and MOVs)
-bX  black offset (R3D black typically ranges 35-55 - default 40)
-c985  use Cineon curve with 985 white point (default 685)
-dGX -dLX -dCX -dR  set the decode curve (default match source)
-eGX -eLX -eCX -eR  set the encode curve (default -eL90)
 -fX  framerate override for AVI and MOV media
 -hX  scale to new output height (use with -w)
 -iX  in point, start processing on frame X (default 0)
 -oX  out point, e.g. -o10 would process 0 thru 9 (default all frames)
 -PX  pixel aspect ratio for output (default 1.0)
 -pX  decode precision 1-full, 2-half, 3-quarter, 4-eighth (default 1)
 -qX  encoding quality for AVI and MOV (default 4, range 1-5)
 -r  CineForm RAW output (full res, AVI and MOV only (default is 4:4:4)
 -RO  R3D's OLPC filter control (-RO0 to -RO3, default is 0)
 -RN  R3D's deNoise filter control (-RN0 to -RN6, default is 0)
 -sX  starting number of the dpx sequence
 -S  keep -001.R3D, -002.R3D files split
 -tX  limit threading to X cores (default 4)
 -wX  scale to new output width (use with -h)
 -Xpath  external audio path for BWF files (default is off)
 -y  use YUV 4:2:2 for AVI or MOV non-RAW exports (default 4:4:4)
 -z  zoom so scales crop rather than letterbox
 -(x1,y1,x2,y2)  window source Top Left (x1,y1) to Bottom Right (x2,y2)

Active Metadata Controlsof the form +FOURCC=params)_array -add_metadata (specific examples below)

 +WBAL=r,g,b  White Balance Gaines (e.g. +WBAL=1.0,1.2,1.8)
 +GAMT=r,g,b  Gamma RGB levels (e.g. +GAMT=1.1,1.02,0.93)
 +COLM=(12 floats)  4 x 3 color matrix
 +LOOK=path/filename.look  Applies a specific look (e.g. +LOOK=D:\NewLUT.look)


r2cf -eG2.2 -p3 -q3 -y myclip.R3D Express.avi       (1K CineForm YUV [-y] Express files [-p3] at High quality [-q3] using 2.2 gamma {-eG2.2})
R2CF new444cin.MOV myclip.r3d -c   (CineForm 444 MOV file with Cineon curve)
R2CF -r newRAW.AVI myclip.r3d -eL90   (CineForm RAW [-r] AVI using log90 [-eL90] curve)
R2CF -eG2.2 -o100 new444.MOV (100 frames of CineForm 444 MOV using 2.2 gamma)
R2CF -r newRAW.MOV myclip.r3d -eL90 -(48,0,4048,2048) (CineForm RAW MOV using log 90 with center-crop spatial resolution of 4000x2048 pixels)
R2CF new%04d.dpx myclip.r3d -s1400 (dpx with 0000.dpx format)
 R2CF clip.r3d new.avi +WBAL-1.0,1.2,1.8 +GAMT=1.1,1.1,1.2  


Using .vbs Scripts for Batch Conversion

Inside the ../Program Files/CineForm/Tools folder is a folder called "Scripts" which include pre-defined VBS scripts allowing you to batch-convert directories full of R3D files to CineForm Express or Cineform Master files.  The scripts are somewhat self-explanatory by their title.  There are two ways to launch the vbs scripts:

1. Invoke from Start Menu: You can launch the preferred script from Start Menu (or double-clicking on it):

      Start Menu --> All Programs --> CineForm --> Tools --> Scripts --> DesiredScriptName. 

When launched, you'll be requested to provide a path to the source files and a path to the destination files as shown in the dialog boxes below.



2. Invoke from command shell: Alternatively you can launch the shell script from a command window.  Example syntax to invoke the script.  Normally you will launch through Start Menu, but if you want to customize scripts then execution from the command line can be convenient using the syntax below:

[path\]cscript [path\]BatchExpress.vbs [path\]SourceDirectoryName [path\]DestinationDirectoryName


Following is a description of the included scripts:

Batch to 1K Express: Batch converts R3D files to 1K 10-bit Cineform YUV Express files. For "typical" 4K 2:1 R3D files, Express Files become 1024x512.
Batch to 1920x1080 HD 422: Batch converts R3D files to 10-bit 1920x1080 Cineform YUV files.
Batch to 1920x1080 HD 444: Batch converts R3D files to 12-bit 1920x1080 Cineform 444 files
Batch o DPX Thumbnails: Creates a directory of thumbnails (first frame of each clip) Batch to NTSC 720x480 422: Batch converts R3D files to 10-bit Cineform YUV SD files (NTSC)
Batch to PAL 720x480 422: Batch converts R3D files to 10-bit SD Cineform YUV files (PAL)
Batch to RAW at source resolution: Back-converts to CineForm RAW from the RGB output of the Red SDK. This is not a direct Raw-to-Raw conversion.  But if a 4K online workflow is desired, we recommend choosing CineForm RAW rather than CineForm 444 because the files are about 40% the size of CineForm 444 for the same spatial resolution.
Batch using custom settings: When launched this script will query you for the R2CF parameters you want to use during conversion.

To modify the conversion parameters used by R2CF within the script, right-click on the script name (Windows Explorer) and select "Edit".  You'll see the parameters for the conversion defined at the top of the script.

Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk