How to make dpx and wav files that can be converted to a DCP (Digital Cinema Package) with Fraunhofer EasyDCP Creator using Final Cut Studio 3

UPDATE: In Easydcp 2.0 you can make DCPs from (Prores 422) Quicktime files. .

Example:

Convert a short film in 1920×1080 16/9 25fps 10 bit Rec. 709 ProRes 422 (or 4444) with 5.1 sound to a standard DCP (DCI, 24 fps XYZ colorspace, 2.6 gamma, 5.1 sound) .

Note: Check that the DPX sequence from Color matches your monitor. You may have to compensate that the picture gets darker.

Update: To export a DPX sequence from After Effects follow this step by step guide.

Use Cinema Tools to convert to 24 fps

  • Make a copy of the ProRes file (or just rename it ….24 fps.mov) and open it in Cinema Tools
  • Meny: Clip – Open
  • Meny: Clip – Conform: 24 fps

Video

Open the 24 fps conformed Cinema Tools Prores file in Apple Color to export a DPX sequence

  • Import the 24 fps conformed prores file
  • Go to setup tab- Project settings
  • Change Render Dir to where you want to render
  • Resolution Presets: 1920 x 1080 (or 1998 x 1080)
  • Render File Type: DPX
  • Printing Density: Linear (0 Black – 1023 White)
  • Go to “Render Queue” Tab
  • Click “Add selected” button
  • Click “Render” button

Sound

Open the 24 fps conformed Cinema Tools prores file in Soundtrack Pro to export wav files (without pitch shift)
Update:Another option is to use Wave Agent and Audacity to do this

  • In Soundtrack Pro: Drag the Prores file from browser to a Video track in a Multitrack Project.
  • Select Audio Track
  • Export
  • All Tracks, Wave, multiple mono, 24 bits, 48 khz

These files can now be used to make a DCP with Fraunhofer EasyDCP Creator. Choose the first image in the DPX sequence to make the picture part. Compare the frame count with the sound part, they should be the same.

Link to Fraunhofer EasyDCP Creator (mac/pc)


To ingest a DCP on Doremi and Sony Cinema Server you can use a NTFS disk.

Update: Or you could copy the DCP to a linux ext3 harddrive

Fraunhofer EasyDCP assumes the DPX files are in the REC.709 2.2 gamma. You should check how it looks in a cinema and adjust your settings or make a 3D LUT.

Other stuff



Updated : This step is no longer necessary. Easydcp 1.2.0 support dpx sequences from Color and 16 bit tiff sequences.Convert DPX (changes endian type and dpx version)

Install Macports http://www.macports.org/

  • Open Terminal
  • Install ImageMagic with this command
    sudo port install ImageMagick
  • Go to directory with DPX sequence eg.
    cd /Volumes/RAID/dpx/short1/1
  • convert dpx with this command


find . -iname "*dpx" | while read f;do mogrify -verbose -depth 10 -format dpx "$f";done

Or try this: (thanks Eirik Schwenke. see comments for more info).


find . -iname "*.dpx" -exec mogrify -verbose -depth 10 -format dpx "{}" \;





Using Soundtrack Pro with pitch shift

Stretch the sound from 25 fps to 24 fps.
24 fps at 48 khz is 2000 samples per frame.
25 fps at 48 khz is 1920 samples per frame.
23,97 fps at 48 khz is 2002 samples per frame.
Example:
50000 samples 25 fps / 1920 = 26,041666 frames
26,041666 frames x 2000 = 52083,3333 samples 24 fps

  • Use Process – timestretch to new samplerate.
  • Save as Wave, 24 bit 48 khz. This works best if the 5.1 mix uses the center channel only, otherwise phase sync could be lost. Time stretch works best on the source audio files.


Notes on time stretch/pitch shift:

To keep phase sync on a 5.1 mix or music mixed in stereo try Prosoniq TimeFactory 2. Quote from their website: “Version 2 supports all popular file formats and offers 5.1, 6.1 and even N.1 surround processing in perfect phase sync – converting between different frame rates for film and TV has never been easier!”

The pitch change is: 0.706724268642822855 semitones

In Timefactory you can use the original sound from the 25 fps file and convert between 25 fps to 24 fps to get the correct pitch shift. You can also keep the formant with the natural setting. To get a good result on more difficult mixes I recommend using a professional.

It’s easier to do a pitch change when going from 24 fps to 25 fps.

If the 24 fps mix is the most important, most of the sound mix could be done in 24 fps natively. Then change the pitch to do the 25 fps mix.

6 comments

  1. Hey Knut. Thank you for making this available. It’s been very useful for me. However, I can’t get the command to convert the dpx files with imagemagick to work. I just want to double-check that there are no typos here. I’m not very accustomed to using shell commands, so I wouldn’t be able to spot any sort of syntax error. I’m using a macbookpro 2.8 GHz intel Core 2 Duo with Mac OS ver 10.5.6

    Thanks again,

    Craig

  2. Hi,

    the command was a quick hack, based on a different more complicated script, and was whipped up in a second while we were working on converting a demo in time for a screening.

    It is a bit easier to debug if you rewrite it like this:

    find . -iname “*.dpx” -exec mogrify -format dpx “{}” \;

    Note also that OS X rewrites regular quotes (like you get from shift-2 on most keyboards/setups” to pretty typographic quotes when you copy-paste text.

    To try to figure out what’s wrong, start out by trying to just run the mogrify-command by hand:

    mogrify

    If that works, try to see if find, finds your files:

    find . -iname “*.dpx”

    If that also works, echo can help with debugging the command line:

    find . -iname “*.dpx” -exec echo mogrify -format dpx “{}” \;
    #Note the above command does nothing with the files, it just lists the
    #commands find would run on the files that match the pattern.

    Hope that helps.

    -Eirik

  3. Hey Eric, That helps a lot. You guys are great for getting this info out there. BUt I’m still running into some issues. I ran the echo command string you posted and got this:

    [hal-mbp2oo8:~/desktop/1] craigcobb% find . -iname “*.dpx” -exec echo mogrify -format dpx “{}” \;
    mogrify -format dpx ./Altshotscolortest_g1.0000000.dpx
    mogrify -format dpx ./Altshotscolortest_g1.0000001.dpx

    But when I ran the actual string to mogrify the files (double-checking for simple quotes), I get this:

    [hal-mbp2oo8:~/desktop/1] craigcobb% find . -iname “*.dpx” -exec mogrify -format dpx “{}” \;
    find: mogrify: No such file or directory
    find: mogrify: No such file or directory

    Any ideas? I double-checked that imagemagick was installed, and it appears that everything is there. The “echo” command is a “dry run” and wouldn’t have worked if something was wrong, no?

    You guys are my heros. 🙂

    Craig

  4. Actually, after a LOT of installing and re-installing both macports and imagemagick, I found the problem. Someone had posted the same error message I got on installing imagemagick involving the directory where it was looking for things. Basically I downloaded the archive, unzipped it and placed in the top level directory of my hard-drive, not in my user “home” directory. My .dpx s are all converted now.

    I just ran my first test with easyDCP and ended up with something that looked like a DCP. Now I’ll do the trailer I’ve been working on and tomorrow I’ll take it to a cinema and see if it works.

    Thanks again, guys. This is a great thing to be able to do.

    Craig

  5. When I export the files from soundtrack pro they end up with a different duration than the video, I have no idea how to solve this.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.