Add some hacks, mostly subtitle alignment tests.
[dcpomatic.git] / hacks / subtitle_alignment / dcp_2 / metadata.xml
diff --git a/hacks/subtitle_alignment/dcp_2/metadata.xml b/hacks/subtitle_alignment/dcp_2/metadata.xml
new file mode 100644 (file)
index 0000000..a5294a7
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Metadata>
+  <Version>32</Version>
+  <Name>subs test 2</Name>
+  <UseISDCFName>1</UseISDCFName>
+  <DCPContentType>TST</DCPContentType>
+  <Container>185</Container>
+  <Resolution>2K</Resolution>
+  <J2KBandwidth>50000000</J2KBandwidth>
+  <ISDCFMetadata>
+    <ContentVersion>1</ContentVersion>
+    <AudioLanguage></AudioLanguage>
+    <SubtitleLanguage></SubtitleLanguage>
+    <Territory></Territory>
+    <Rating></Rating>
+    <Studio></Studio>
+    <Facility></Facility>
+    <PackageType></PackageType>
+    <TempVersion>0</TempVersion>
+    <PreRelease>0</PreRelease>
+    <RedBand>0</RedBand>
+    <Chain></Chain>
+    <TwoDVersionOfThreeD>0</TwoDVersionOfThreeD>
+    <MasteredLuminance></MasteredLuminance>
+  </ISDCFMetadata>
+  <VideoFrameRate>24</VideoFrameRate>
+  <ISDCFDate>20150826</ISDCFDate>
+  <AudioChannels>6</AudioChannels>
+  <ThreeD>0</ThreeD>
+  <SequenceVideo>1</SequenceVideo>
+  <Interop>0</Interop>
+  <Signed>1</Signed>
+  <Encrypted>0</Encrypted>
+  <Key>530ea647e9de4fc12cbf3eed06673dd9</Key>
+  <Playlist>
+    <Content>
+      <Type>Image</Type>
+      <Path>/home/c.hetherington/src/dcpomatic2/hacks/subtitle_alignment/grid.png</Path>
+      <Digest>dfe02ada2710af47c30eee9c20054e7c61668</Digest>
+      <Position>0</Position>
+      <TrimStart>0</TrimStart>
+      <TrimEnd>0</TrimEnd>
+      <VideoLength>720</VideoLength>
+      <VideoWidth>1998</VideoWidth>
+      <VideoHeight>1080</VideoHeight>
+      <VideoFrameRate>24</VideoFrameRate>
+      <VideoFrameType>0</VideoFrameType>
+      <LeftCrop>0</LeftCrop>
+      <RightCrop>0</RightCrop>
+      <TopCrop>0</TopCrop>
+      <BottomCrop>0</BottomCrop>
+      <Scale>
+        <Ratio>185</Ratio>
+      </Scale>
+      <ColourConversion>
+        <InputTransferFunction>
+          <Type>ModifiedGamma</Type>
+          <Power>2.4</Power>
+          <Threshold>0.04045</Threshold>
+          <A>0.055</A>
+          <B>12.92</B>
+        </InputTransferFunction>
+        <YUVToRGB>0</YUVToRGB>
+        <RedX>0.64</RedX>
+        <RedY>0.33</RedY>
+        <GreenX>0.3</GreenX>
+        <GreenY>0.6</GreenY>
+        <BlueX>0.15</BlueX>
+        <BlueY>0.06</BlueY>
+        <WhiteX>0.3127</WhiteX>
+        <WhiteY>0.329</WhiteY>
+        <OutputGamma>2.6</OutputGamma>
+      </ColourConversion>
+      <FadeIn>0</FadeIn>
+      <FadeOut>0</FadeOut>
+    </Content>
+    <Content>
+      <Type>DCPSubtitle</Type>
+      <Path>/home/c.hetherington/src/dcpomatic2/hacks/subtitle_alignment/dcp_2/subs.xml</Path>
+      <Digest>01f3845eeebfec3ed64bee961d73ec5f1249</Digest>
+      <Position>0</Position>
+      <TrimStart>0</TrimStart>
+      <TrimEnd>0</TrimEnd>
+      <UseSubtitles>1</UseSubtitles>
+      <BurnSubtitles>0</BurnSubtitles>
+      <SubtitleXOffset>0</SubtitleXOffset>
+      <SubtitleYOffset>0</SubtitleYOffset>
+      <SubtitleXScale>1</SubtitleXScale>
+      <SubtitleYScale>1</SubtitleYScale>
+      <SubtitleLanguage>en</SubtitleLanguage>
+      <Font>
+        <Id>arial</Id>
+      </Font>
+      <Length>2880000</Length>
+    </Content>
+  </Playlist>
+</Metadata>