Welcome to our community

Be a part of something great, join today!

  • Hey all, just changed over the backend after 15 years I figured time to give it a bit of an update, its probably gonna be a bit weird for most of you and i am sure there is a few bugs to work out but it should kinda work the same as before... hopefully :)

Digital Cinema Package

Are there any open source tools for DCP playback? So that I can output it with colorspace conversion on the graphics card in RGB.... in realtime...
 
I'm interesting about decompiling DCP into RGB-pictures sequence using asdcp-test and j2k_to_image:
%OCTDIRNAME%\asdcp-test -x %OUTDIRNAME% "%SOURCEFILE%"
FOR /F %%i IN ('dir /B "%OUTDIRNAME%*.j2c"') DO %OJPGDIRNAME%\j2k_to_image -i "%OUTDIRNAME%%%i" -o "%DECODEDIRNAME%%%i.bmp" -OutFor bmp
This piece of script works just fine, but there is a serious problem i can't resolve.
Does anybody know how to obtain right color space (rgb) using imagemagic?
So, how to "invert" this line:
convert "%DIRNAME%\%%i" -alpha Off -depth 12 -gamma 0.454545 -recolor "0.4124564 0.3575761 0.1804375 0.2126729 0.7151522 0.0721750 0.0193339 0.1191920 0.9503041" -gamma 2.6 "%DIRNAME%\processing\%%i.tif
???
 
Bruce Lindbloom's great pages on colorspace math list all the required steps and numbers. Basically you want to adjust reference white (which wouldn't be sRGB's D65 in a DCP's image material. It is, though, in your example above), recolor and compand to sRGB gamma.

Btw, with the linearization step in your example above ("-gamma 0.454545") the near black region got crushed beyond being recoverable and you might then indeed use "-gamma 2.2" in your X'Y'Z' -> sRGB conversion without further harm. Terrence has put some effort into building a LUT mechanism for OpenDCP which remedies the problem.
 
Wolfgang, thank you for the useful links! Now I now a little bit more about color representation technology.
XYZ to RGB conversion is quite simple. But I can't understand how to make chromatic adaptation using ImageMagick and Bruce's matrix
:mad2:
 
Unfortunately I do not have enough knowledge about color conversion or, maybe, gray matter in my head. All my experiments with Imagemagick command line and Bruce's matrix was unsuccessful. Please, help to find right pipeline to decompile XYZ .j2c to RGB .tif sequence using Imagemagick and Opencinematools.
 
Hello ArtReaktor,

save the following line as a .bat file. Replace [target_directory] with your target directory (e.g. c:\tif_rgb\ ) Copy it to the directory with the extracted .tif files. And run it.

for %%F IN (*.tif) DO convert %%F -alpha Off -gamma 0.3846153 -recolor "3.2404542 -1.5371385 -0.4985314 -0.9692660 1.8760108 0.0415560 0.0556434 -0.2040259 1.0572252" -gamma 2.2 -depth 12 [target_directory]\%%F.tif

Good luck!

Julius

http://digital-cinema-mastering.com
 
Here's a short update about some Digital Cinema related open source tools:

First of all: In addition to the nice chat here on reduser, and if you haven't already, head on over to dcinemaforum.com. It's a good entry-level resource for anything related to Digital Cinema. Run by Terrence Meiczinger, author of OpenDCP.

dcp_inspect (GPLv3) will inspect DCPs and check consistency and completeness. Basically it simulates ingest and validation, the process any cinema server must perform to make sure it has a valid package to play. One of dcp_inspect's benchmark targets was Mike Radford's awesome Fox Subtitle Test (aka Killer Reel) which consists of 3 packages actually. Mike's distribution isn't supposed to stress-test ingest but rather SMPTE subtitle implementations of various media blocks and servers. But its out-of-the-ordinary package structure made it an interesting target for ingest consistency checks. So there. dcp_inspect can be quite chatty, see http://pastie.org/2970568 for its report about the Killer Reel.

The proof-of-concept code for building encrypted packages and KDMs with Cinemaslides (GPLv3) is well-tested and stable. If you check it out please consider contributing test reports to Testing encrypted DCPs and KDMs, a server matrix which lists feedback on ingest and playback of encrypted (and signed) packages and KDMs made with open source tools.

kdm-decrypt.rb will decrypt Interop (should you ever run into one) and SMPTE KDMs if you have access to the targeted key pair. Useful for testing round-trip.

xsd-check.rb will, via Libxml and Nokogiri and in conjunction with DC related schema files schema check Assetmaps, PKLs, CPLs and KDMs.

Point dc_crypto_context.rb at a directory holding X.509 certificates and it will tell you whether the certificates found in there are SMPTE/DC compliant, chain-complete and verifyable, thus usable for signing packages. Create a proof-of-concept chain of compliant certificates with make-dc-certificate-chain.rb. You will want to tweak the code if you intend to use these in production, of course.

So all of the above are building blocks for more. Get in touch if you have questions or need a custom solution.
 
There's a new (not that new) easy-to-use DCP authoring app called DVD-o-matic. Yeah, don't ask about the name, I don't know either :) It's the throw any kind of video file at it and take out a DCP on the other side kind of app, rather useful in quite a couple of scenarios.

It's a nice tool with just the right amount of switches and tweaks. JPEG2000 encoding optimizations in there. Will encode over a range of network nodes if asked to. Give it 2 or 3 beefy boxes to use and it will return decidedly decent encoding speeds. Open source, too. All in all: that app has a lot of potential.

So far the author, Carl Hetherington of Ardour fame, is providing Windows and Linux versions. Now he's set up an indiegogo funder to get a Mac Mini and port the app to Mac OS X. And that should get you excited. Please consider contributing.

Also: Jim and Jarred and all at RED, I hope you're well and busy building cameras. You sure shook the tree and it's freaking nice to look back to asking where will they take those apples to?. And to then see what you have achieved so far. And more coming up, I hear. Well done. Well done. See, getting me a Scarlet was what brought me here in the first place. But then with the upgrade I realized it would be serious overkill in my amateur hands. Been throwing a glance or two at the BMCC but my heart's not in it. So should you ever decide to build a wee bit smaller box, like inbetween the size of a BMCC and the Pocket, with 3 to 4K resolution and 48 shots of truth per second: I'm your's. I'll carry it. I'll groom it. I'll love it. Yes, we amateurs have these emotions, heh.
 
Create a proof-of-concept chain of compliant certificates with make-dc-certificate-chain.rb. You will want to tweak the code if you intend to use these in production, of course.

So all of the above are building blocks for more. Get in touch if you have questions or need a custom solution.
Hi Wolfgang Woehl! Can you help me?
How i can generate passphrase-protected signing keys with your make-dc-certificate-chain.rb?
Thanks!
 
Hi Wolfgang Woehl! Can you help me?
How i can generate passphrase-protected signing keys with your make-dc-certificate-chain.rb?
Thanks!
Thanks a lot for this beautiful scripts)
Question is closed)
 
Hi wolfgang whoel! can you help me?

I have a problem with dolby dss100 show store 4.3.5.13 and show player 4.0.8.10
Cannot play dcp convert from dcp-o-matic error message unsupported file.
 
DCP-o-matic

DCP-o-matic

There's a new (not that new) easy-to-use DCP authoring app called DVD-o-matic. Yeah, don't ask about the name, I don't know either :) It's the throw any kind of video file at it and take out a DCP on the other side kind of app, rather useful in quite a couple of scenarios.

It's a nice tool with just the right amount of switches and tweaks. JPEG2000 encoding optimizations in there. Will encode over a range of network nodes if asked to. Give it 2 or 3 beefy boxes to use and it will return decidedly decent encoding speeds. Open source, too. All in all: that app has a lot of potential.

So far the author, Carl Hetherington of Ardour fame, is providing Windows and Linux versions.

It is now called DCP-o-matic and I guess the British developer also knows the Wallace and Gromit characters and their *-o-matic inventions ... ( http://www.wallaceandgromit.com )
The new open source software is moved to http://dcpomatic.com/
It now comes in lots of flavors including Windows, OS X and several Linux versions ! http://dcpomatic.com/download

It is worth to mention that it is the first free program that allows for creation of encrypted DCP and KDM generation.
This functionality opens up new possibilities for distribution to festivals or theaters in general.

I have to test these features in detail. Very promising.

So. If somebody else wants to share some experiences with DCP-o-matic would be helpful.

Carl - keep up the great work ! Thanks !

Regards,

Marcus
 
Last edited:
Back
Top