Creating the DCP via command line with a template (ubuntu 18.04, & another linux distro).
When removing the --template argument from the command, the DCP works.
Command: dcpomatic2_create --template "SOFA_T1" --config '/home/bjcpgd/dcpcreator/dcpconfig' -c SHR --content-ratio 178 -o '/home/bjcpgd/Videos/2_refactor/1080p_charts_audio_pass' --name '1080p charts audio pass' /home/bjcpgd/Videos/1_inbound/1080p_charts_audio_pass.mp4
Error: dcpomatic2_create: Programming error at ../src/lib/dcpomatic_time.h:208>
Main question: where is --template looking for templates? We are using scripts to dynamically write dcpomatic CLI instructions and we may be missing something.
template code:
<?xml version="1.0"?>
<Metadata>
<Version>36</Version>
<Name>Test</Name>
<UseISDCFName>1</UseISDCFName>
<DCPContentType>SHR</DCPContentType>
<Container>185</Container>
<Resolution>2K</Resolution>
<J2KBandwidth>50000000</J2KBandwidth>
<ISDCFMetadata>
<ContentVersion>1</ContentVersion>
<AudioLanguage>EN</AudioLanguage>
<SubtitleLanguage></SubtitleLanguage>
<Territory></Territory>
<Rating></Rating>
<Studio></Studio>
<Facility></Facility>
<TempVersion>0</TempVersion>
<PreRelease>0</PreRelease>
<RedBand>0</RedBand>
<Chain></Chain>
<TwoDVersionOfThreeD>0</TwoDVersionOfThreeD>
<MasteredLuminance>14fl</MasteredLuminance>
</ISDCFMetadata>
<VideoFrameRate>24</VideoFrameRate>
<AudioChannels>2</AudioChannels>
<ThreeD>0</ThreeD>
<Sequence>1</Sequence>
<Interop>0</Interop>
<Signed>1</Signed>
<Encrypted>0</Encrypted>
<Key>c6aa67d00f42d2de42db8ec7274a1ec4</Key>
<ContextID>3351c48a-6d1f-4331-b762-d2af145aa560</ContextID>
<ReelType>0</ReelType>
<ReelLength>2000000000</ReelLength>
<UploadAfterMakeDCP>1</UploadAfterMakeDCP>
<Playlist/>
</Metadata>
Programming Error for Creating DCP
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: Programming Error for Creating DCP
In templates wherever your configuration is; /home/bjcpgd/dcpcreator/dcpconfig in this case.Main question: where is --template looking for templates? We are using scripts to dynamically write dcpomatic CLI instructions and we may be missing something.
What version of DCP-o-matic is this?
-
- Posts: 114
- Joined: Mon Jan 17, 2022 5:13 pm
- Location: Montreal, Canada
Re: Programming Error for Creating DCP
Where is the templates location on macOS? TIA!
-
- Posts: 2804
- Joined: Tue Apr 15, 2014 9:11 pm
- Location: Germany
Re: Programming Error for Creating DCP
/<user>/Library/Preferences/com.dcpomatic/2/templates/
or /2/2.16/templates for current release candidate.
- Carsten
or /2/2.16/templates for current release candidate.
- Carsten