Library to parse Digital Cinema Packages folders and Content Titles
Find a file
2024-08-26 13:36:40 +02:00
cmd Produce Markdown tables for DCP information 2024-07-28 08:06:48 +02:00
dcp Produce Markdown tables for DCP information 2024-07-28 08:06:48 +02:00
title Initial commit 2024-07-17 00:39:30 +02:00
.gitignore Initial commit 2024-07-17 00:39:30 +02:00
build-tools.sh Initial commit 2024-07-17 00:39:30 +02:00
go.mod Initial commit 2024-07-17 00:39:30 +02:00
go.sum Initial commit 2024-07-17 00:39:30 +02:00
LICENSE Initial commit 2024-07-17 00:39:30 +02:00
README.md Add command help 2024-08-26 13:36:40 +02:00

go-dcp

Library to parse Digital Cinema Packages folders and Content Titles

TODO:

  • Adjust Matroska REPLAYGAIN_GAIN and REPLAYGAIN_PEAK to bring 85 dBc to 89 according to: Cinemas are calibrated to the SMPTE RP 200:2012 standard where a -20 dB RMS pink noise signal is measured to 85 dBc and the reference fader level is set to 0.

DCP Samples

Compilation

GOROOT=~/go/go1.22.4 ./build-tools.sh

dcp tool

This tool can be used to view information, verify or split DCPs.

-dcp parameter can be either a DCP folder or an ASSETMAP path. Supports HTTP(s) URLs.

info

Outputs DCP information in Markdown

./bin/dcp -mode info \
-dcp /path/to/dcp/tos_version_05/

verify

Verifies DCP SHA1 hashes, media files and outputs the information in Markdown

./bin/dcp -mode verify \
-dcp /path/to/dcp/tos_version_05/

split

Splits multi packing lists DCPs into single DCP into its own folder and soft-links files where possible.

./bin/dcp -mode split \
-output /path/to/split/output/ \
-dcp /path/to/dcp/tos_version_05/

concat tool

This tool can be used to merge a DCP into a single playable output via ffmpeg.

Subtitles not currently supported.

See help for additional parameters to provide a custom CPL, select a specific packing list or drop specific reel ids.

-dcp parameter can be either a DCP folder or an ASSETMAP path. Supports HTTP(s) URLs.

./bin/concat -mode split \
-audio-channel-mapping auto \
-flac \
-out /path/to/output.mkv \
-dcp /path/to/dcp/tos_version_05/