DPX or TIF File Conversion (Windows)


DPX2CF.exe is a (Windows only) shell-based tool that converts DPX or TIFF image sequences into CineForm files.  The current version will also convert Left and Right folders of DPX files into a CineForm 3D file in a single pass. CF2DPX.exe is a (Windows only) shell-based tool that converts CineForm files into DPX files.  TIFF is not supported as a destination format. A Few Notes:

These utilities are installed with all Neo family products.

The utilities are currently shell based (only).  We might add a GUI around the utilities later.

Give us any feedback, especially if you find any incompatibilities with specific DPX files.

Update Log- CF2DPX.exe and DPX2CF.exe updated 5/21/10


Note the Following:

This utility requires an installation of our Neo family products.

º Normally you would use Neo HD (up to 1920x1080) or Neo 4K/Neo3D (up to 4096x4096) for encoding to CineForm files. Conversions maintain full 10-bit precision for all YUV 4:2:2 source, and 12-bit CineForm 444 for RGB source.

If you convert into CineForm MOV files you must have a recent version of QuickTime installed which you can get from the Apple site.

Where do I find DPX2CF? DPX2CF.exe is found in the Start Menu --> All Programs --> CineForm --> Tools directory for all CineForm products. From a shell (in the directory of your DPX files), type (for resulting AVI files) > dpx2cf *.dpx c:\output\new.avi -f23.976 or for resulting MOV files > dpx2cf *.dpx c:\output\new.mov -f23.976 That's it -  it's threaded, so it goes as fast as your CPUs and disks allow. Syntax:

-fX where x is the framerate (e.g. -f23.976)

-qX(+) where X is the quality declaration (default is 4=filmscan1. 1-3 = Low to High. 5=Overkill), (adding the "+" will quantize RGB equally rather than optimizing for the green channel)

-nX where X is the number of frames to convert

-iX where X is the IN frame for all continuous frames

-oX where X is the OUT frame (continuous from the in-frame number)

-pX where X is the pixel aspect ratio (default is 1.0)

-wX output width (scale if needed)

-hX output height (scale if needed)

-z     zoom will scale and centercrop the image (rather than letterbix) while obeying the defined width/height declaration

-sF or -sT  which defines the image sequence sort criterion; where F defines sort by (F)ilename (default) or T defines sort by (T)imecode.

-cYUV or -cRGB (default is RGB)

-dX delay right eye X frames (for 3D encoding/muxing)

-l(x1,y1,x2,y2) defines the window function performed on the Left/Primary channel

-r(x1,y1,x2,y2) defines the window function performed on the Right channel (e.g. -r(0,100,1920,980)

-g to generate a new GUID (sometimes handy for DPX-C sources)

2D Examples: Ex1: > dpx2cf v:\clips\abc*.dpx c:\output\abc001.avi -f24 -n120 -q4 -cyuv Ex2: > dpx2cf frames*.dpx seq.avi -q5+ Ex3: > dpx2cf source*.tif clip.mov -w1920 -h1080 Ex4: > dpx2cf *.dpx *.dpx clip.avi -w1920 -h1080 -l(0,0,640,720) -r(640,0,1280,720) 3D Examples:Ex5: > dpx2cf LEye*.tif REye*.tif clip3D.mov -w1920 -h1080 Ex6: > dpx2cf L*.dpx R*.dpx NewLR.avi -q5+ -w1920 -h1080 NOTE1: Ex4 shows how to extract two separate image sequences that are stored side-by-side in the same DPX file sequence. NOTE2: DPX2CF now supports DPX-C (CineForm compressed DPX sources) which will be directly transferred into AVI or MOV without recompression.  For DPX-C transfers resizing is disabled.


Note the Following:

You must have a recent version of QuickTime installed.  You can get this from the Apple site.

Where do I find CF2DPX? CF2DPX.exe is found in the Start Menu --> All Programs --> CineForm --> Tools directory for all CineForm products. Syntax

-iX where X is the input frame number

-oX where X is the output frame number

-dX where X is the duration, extract X frames

-bX where X is the base frame count for the sequence (name - base = start)

An example of a full command line might be > cf2dpx source.avi:mov output_template.dpx -i134 -d24 -b1000 NOTE 1: Ordering of parameters in the syntax is required as shown. NOTE 2: Notice that the syntax allows multiple CineForm files to be converted in sequence.  The numerical increment for the resulting DPX files does not change when the second CineForm file begins conversion, so the result is the second file is essentially appended to the DPX sequence. LICENSES ****** DPX2CF includes LibTIFF with the following License: ****** Copyright (c) 1988-1997 Sam Leffler Copyright (c) 1991-1997 Silicon Graphics, Inc. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that (i) the above copyright notices and this permission notice appear in all copies of the software and related documentation, and (ii) the names of Sam Leffler and Silicon Graphics may not be used in any advertising or publicity relating to the software without the specific, prior written permission of Sam Leffler and Silicon Graphics. THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ****** END LibTIFF License: ******

Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk