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

We get policy trailers all the time on DVD. We also get them on USB sticks which are formatted in FAT32, EXT3, or once in awhile HFS+. The distributor of the trailers doesn't know what servers we use, so I would assume it is pretty standard all the major ones read these formats.

Thanks, Terrence.
This info is very enlightening for me. I have some colleagues who are as surprised as I am by this knowledge. It's good news.

It's a funny thing that in the back of my mind, a little voice was wondering, "Why only hard drives?" I realize now that I was mislead by the people that I've been hanging around with. Since the Academy requires DCPs on hard drives, I (and my producer colleagues) wrongly accepted that the requirement was standard accross the industry.
 
Excellent. I just got back from the theater, and UDF 1.5 worked like a charm... although it took a loooooooong time to copy it over for playback. It wasn't quite synced properly, and it was kinda choppy, but that was a poor conversion from 60i on my part. I just wanted to test the ease of use of openDCP and I kinda rushed it lol. Two thumbs up!
 
Thanks Terrence

so i need to create same amount of frames in PNG as the clip?
(is there a way in avisynth to create PNG from *.smi text file or other programs?)
and then use asdcp-test to create the subtitle MXF
(i'm a new to asdcp-test what would the command line look like for create subtitle MXF ?)
and finaly use OpenDCP version 0.15 for "mux"

thanks for your help

The overall duration of the subtitle MXF needs to match that of the main picture, but you don't need a PNG file for each frame. You only need 1 PNG file per subtitle and in the XML you give it the in and out time to show each subtitle.

So a 60 second clip might have a series of lines like (not real syntax)

<subtitle="1" TimeIn="00:00:05:00" TimeOut="00:00:05:48">subtitle1.png</subtitle>
<subtitle="2" TimeIn="00:00:10:00" TimeOut="00:00:10:23">subtitle2.png</subtitle>
<subtitle="3" TimeIn="00:00:30:00" TimeOut="00:00:30:23">subtitle3.png</subtitle>
<subtitle="4" TimeIn="00:00:60:00" TimeOut="00:00:60:00">subtitle4.png</subtitle>

I've never created a subtitle track, so I'm just kinda guessing on this stuff a bit.
 
Excellent. I just got back from the theater, and UDF 1.5 worked like a charm... although it took a loooooooong time to copy it over for playback. It wasn't quite synced properly, and it was kinda choppy, but that was a poor conversion from 60i on my part. I just wanted to test the ease of use of openDCP and I kinda rushed it lol. Two thumbs up!

Hopefully, OpenDCP made things easier!
 
Hello Wolfgang,

please can you help me?
i read the post about DCP free creation here.
I can create DCP files with picture and sound.

Please can you help me with subtitles?

How can i add subtitles to the DCP package?

thank you for your help

Best regards

Peter Nevedal
peter@filmpark.sk
 
Hello Wolfgang,

please can you help me?
i read the post about DCP free creation here.
I can create DCP files with picture and sound.

Please can you help me with subtitles?

How can i add subtitles to the DCP package?

thank you for your help

Best regards

Peter Nevedal
peter@filmpark.sk

Hello, Peter
Perhaps I can assist you. I'll include here everything that I know about DCP subtitles. I strongly request that other forum members contribute to this.

I must say that in my research on the subject, I have found several different versions of the "correct" way to do this. These varying explanations are similar, but sometimes contradictory and confusing as to what is the "exact and proper" way to do it. I have not yet made a DCP myself that includes subtitles, so I have no real experience as to which of all these options really works. I hope that other members here (especially any members who have accompished a finished DCP with subtitles) will add, comment, and correct what I write here so that we can eliminate all the extraneous info to arrive at what actually works on any DCP server.

I understand that subtitles can be made by either of two methods:
1. Generated automatically from the .xml on a server that has the Texas Instruments "Cine-Canvas" software
or (for precise control of subtitle appearance)...
2. Superimposed by the DCP server from .png image files of each subtitle.

If not using a Cine-Canvas system...
The font files referred to in the subtitle XML file must be supplied.
The PNG files referred to in the subtitle XML file must be supplied.
1998x1080 PNG files must be supplied in one directory per reel with the XML file.
PNG file names must include the film title, language, reel number, and title number.
Ex: "MOVIE_TITLE_English_Reel1_0001.png"

Here are THREE similar but varying examples of how a good XML file should appear when viewed in a text editor.

The format of the timecode is Hours:Minutes:Seconds:Ticks
where a “Tick” is a value of between 0 and 249 and lasts 4 milliseconds.
The approximate conversion is 1 frame = 10 ticks.

Optional <Font> attributes:
Color="FFFFFFFF" Size="28" Id="Font1" Italic="yes" EffectColor="FF000000" Effect="border"

The file MUST include a valid UUID in the file using the switch <SubtitleID>

.xml EXAMPLE 1:
"MOVIETITLE.subtitle.reel1.xml"
-------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!-- *** XML Subtitle File *** -->
<!-- *** Created by Your Company *** -->
<!-- *** Creation Date *** -->
<!-- *** FFP = 00:00:00:000 Running Speed = 24fps *** -->
<DCSubtitle Version="1.0">
<SubtitleID>urn:uuid:xxxxxxxx-xxxx-4xxx-xxxx-?xxxxxxxxxxx</SubtitleID>
<MovieTitle>Name of Movie</MovieTitle>
<ReelNumber>1</ReelNumber>
<Language>Your Language</Language>
<LoadFont Id="Arial" URI="arial.ttf" />
<Font Id="Arial" Effect="shadow" Size="42">
<Subtitle SpotNumber="0001" TimeIn="00:00:05:042" TimeOut="00:00:07:156">
<Text VAlign="bottom" VPosition="15.00">Top line of first subtitle.</Text>
<Text VAlign="bottom" VPosition="9.00">Bottom line of first subtitle</Text>
</Subtitle>
<Subtitle SpotNumber="0002" TimeIn="00:00:08:113" TimeOut="00:00:10:218">
<Text VAlign="bottom" VPosition="9.00">Single line second title.</Text>
</Subtitle>
<Subtitle SpotNumber="0003" TimeIn="00:00:12:204" TimeOut="00:00:15:016">
<Text VAlign="bottom" VPosition="9.00"><Font Italic="yes">Third title in italics.</Font></Text>
</Subtitle>
</Font>
</DCSubtitle>


.xml EXAMPLE 2:
"YOUR_MOVIE_TITLE_English_Reel1.xml"
-----------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!-- *** FFP = 00.00.00.000 Running Speed = 24fps *** -->
<SubtitleReel
xmlns:dcst="http://www.smpte-ra.org/schemas/428-7/2007/DCST"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.smpte-ra.org/schemas/428-7/2007/DCST ../dcst.xsd">
<SubtitleID>urn:uuid:xxxxxxxx-xxxx-4xxx-xxxx-?xxxxxxxxxxx</SubtitleID>
<ContentTitleText>YOUR_MOVIE_TITLE_English_Reel1</ContentTitleText>
<IssueDate>2001-12-17T09:30:47-00:00</IssueDate>
<Language>en-us</Language>
<EditRate>24 1</EditRate>
<TimeCodeRate>24</TimeCodeRate>
<StartTime>00:00:00:00</StartTime>
<LoadFontID="FontFileName" URI="FontFileName.ttf" />
<SubtitleList>
<Subtitle
SpotNumber="0"
TimeIn="00:00:05:00"
TimeOut="00:00:05:23"
FadeUpTime="00:00:00:00"
FadeDownTime="00:00:00:00">
<Image
Valign="bottom"
Vposition="9.00">
urn:uuid:YOUR_MOVIE_TITLE_English_Reel1_00001.png
</Image>
</Subtitle>
</SubtitleList>
</SubtitleReel>


.xml EXAMPLE 3:
----------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<DCSubtitle Version="1.0">
<SubtitleID>urn:uuid:xxxxxxxx-xxxx-4xxx-xxxx-?xxxxxxxxxxx</SubtitleID>
<MovieTitle>MOVIE_TITLE</MovieTitle>
<ReelNumber>1AB</ReelNumber>
<Language>en-us</Language>
<LoadFont Id="theFont" URI="Font/FONTNAME.TTF" />
<Font Id="theFont" Color="FFFFFFFF" Effect="shadow" EffectColor="FF000000" Size="60">
<Subtitle SpotNumber="1" TimeIn="01:00:42:125" TimeOut="01:00:43:177">
<Text HAlign="center" HPosition="0.0" VAlign="bottom" VPosition="13.00">??</Text>
</Subtitle>
<Subtitle SpotNumber="2" TimeIn="01:00:46:219" TimeOut="01:00:47:167">
<Text HAlign="center" HPosition="0.0" VAlign="bottom" VPosition="13.00">??!</Text>
</Subtitle>
<Subtitle SpotNumber="3" TimeIn="01:00:54:010" TimeOut="01:00:55:031">
<Text HAlign="center" HPosition="0.0" VAlign="bottom" VPosition="13.00">??</Text>
</Subtitle>
</DCSubtitle>

regards, ~RR
 
Hi guys could anyone help me on this.

Im getting an error while converting tiff to jpeg2000 using opendcp. Please see attached image.
photo0257w.jpg
I extracted the tiff file from mp4 using ffmpeg.

Photo0257.jpg
 
Hello, Vincent.
This is what I think may be the situation.

First, did you use something like this command to get your TIFs?
"ffmpeg -r 24 -i YOURMOVIE.mp4 -f tif %08d.tif"

Second, all you need now to go to J2Ks is...
"opendcp_j2k -i tif -o j2c"
(-p cinema2k -r 24) should not be used

"-p cinema2k" is already exactly what opendcp_j2k is already doing.
"-r 24" was already done with ffmpeg
(Your original movie should already be rendered at 24fps and you should already have 24 TIFs per second)

regards, ~RR
 
Oh, silly me!
(I shouldn't be giving advice when it is so late and I am this tired.)

Vincent,
I neglected to say also that I suspect you have not converted your TIFs from RGB to XYZ color space. It must be done.
 
Hi guys could anyone help me on this.

Im getting an error while converting tiff to jpeg2000 using opendcp. Please see attached image.
photo0257w.jpg
I extracted the tiff file from mp4 using ffmpeg.

Photo0257.jpg

This error indicates your images are not 8, 12, or 16-bit tifs. What command did you use with ffmpeg?
 
Hello, Vincent.
This is what I think may be the situation.

First, did you use something like this command to get your TIFs?
"ffmpeg -r 24 -i YOURMOVIE.mp4 -f tif %08d.tif"

Second, all you need now to go to J2Ks is...
"opendcp_j2k -i tif -o j2c"
(-p cinema2k -r 24) should not be used

"-p cinema2k" is already exactly what opendcp_j2k is already doing.
"-r 24" was already done with ffmpeg
(Your original movie should already be rendered at 24fps and you should already have 24 TIFs per second)

regards, ~RR

The frame rate is independent of whatever ffmpeg does. That is opendcp_j2k would require a frame rate value for anything other than the default, which is 24. Also, opendcp_j2k performs the xyz colorspace conversion.
 
Thanks Rodney and Terrrence for the inputs. I used this command on ffmpeg "ffmpeg -i sample.mp4 -an -r 24 -vcodec tif tif/%06d.tif" I guess Terrence is right regarding the bit depth. I think ffmpeg converts it to tiff in 32-bit. I'm also using an old 32-bit windows version of ffmpeg under 64-bit Windows 7. I'll try this later on Linux.

By the way I used this bat script "MD converted
FOR %%a in (*.tif) DO convert %%a -type TrueColor -alpha Off -depth 12 -gamma 0.454545 -gamma 2.6 converted\%%a
PAUSE" with the tiff files then opendcp_j2k works with it. I'll test the DCPs i've created on our office tomorrow.

And oh before i forgot i could help for the testing of DCPs (or KDMs), we have Qube, DC20, Doremi and Dolby servers.
 
Vincent, testing encrypted packages and KDMs (SMPTE variant) would be nice. There's a tiny test DCP at https://github.com/wolfgangw/digital_cinema_tools/raw/master/CRYPT-BLUE_TST_F_2K_20101208_WOE_OV.zip. Post your server info (serial numbers etc.) and I'll get you a set of KDMs to test. Results so far are being collected at https://github.com/wolfgangw/digital_cinema_tools/wiki/Digital-Cinema-Authentication (bottom of the page).

If you are familiar with linux boxes you might want to try running cinemaslides yourself to create encrypted packages and KDMs, probably more fun. Also Terrence is working on signature code for opendcp. Anyway, thanks in advance for the offer to test.
 
Hi!
I am designer and one of my business is DCP adaptation. Usually it is short adv clips.
I'm using Adobe AfterEffects for preparation source video.
The question is: is there some requirements about safe-margins of significant information (i.e. logo or text titles) from screen edges?
We have a dispute at our russian-language DCP-forum about right DCP-pipeline. My position is to keep significant content inside AfterEffect's title safe area to prevent clipping. If significant information is placed near screen edges I add black margins and reduce source video to fit safe area. Is it right?
My search in DCI Specification was ineffectual, so it will be great to hear your opinion or to get a link to specialized technical literature about this subj.
 
Hi Wolfgang,

Do I need to get the server certificates (.pem , .sha, etc..)?
Below are some serial numbers of cinema servers.

DC20 server: QCPD-10048-12-09
Doremi: 208711D
Dolby: 601704
Dolby:
 
Back
Top