Mappings.xml
On the player, a file called mapping.xml must exist.
This describes how to actually display the content.
An annotated example is shown below.
This file is created by the Acquire Advanced Configuration app and should not be edited manually.
<mapping>
<!-- what playlist file to read, where files are and transition slippage value. -->
<playlist filename="playlists.xml" transitionslippage="0.96" />
<!-- if id=0 then it means "all players" otherwise specify each player (inc backup ones)-->
<player id="">
<input>
<content>
<!--
multiple videos can be combined onto one canvas.
where to output these items on screen in the virtual canvas relative to 0,0
Areas of the source video should be defined here (NOT the ultimate output),
and can include a top x,y width and height.
If Angle !=0 then the output is rotated (degrees) around the top-left corner
Volume defaults to 0 if not set, range is 0..100
if cpudecode=1 then the GPU is not used to decode the video
-->
<output name="a" x="0" y="0" w="1024" h="2048" rotate="0" volume="100" />
<output name="b" x="1024" y="0" w="1024" h="2048" rotate="0" />
<output name="c" x="2048" y="0" w="1024" h="2048" rotate="0" />
<output name="d" x="3072" y="0" w="1024" h="2048" rotate="0" cpudecode="1"/>
</content>
</input>
<!--
The following may be needed if the input format isn't the same as the output
-->
<mappings enabled="0" showmonitornumbers="0">
<!--
used to override the monitor output if it is detected incorrectly or for testing
cms_width,
cms_height:only used in Configuration app so display monitors
-->
<monitors autodetect="0">
<monitor x="0" y="0" cms_width="1780" cms_height="3318" cms_locked="false" />
<monitor x="1920" y="0" />
<monitor x="3860" y="0" />
<monitor x="5760" y="0" />
<monitor x="7680" y="0" />
</monitors>
<!--
This section only used by the Configuration app.
cms_locked:do not allow Configuration app to edit (toggled in that app)
-->
<cms_slicesources>
<slicesource name="Slice 1" colourIndex="0" sourcex="-124" sourcey="1164" sourcew="5425" sourceh="1498" cms_locked="false" />
<slicesource name="Slice 2" colourIndex="1" sourcex="5386" sourcey="3618" sourcew="1080" sourceh="1080" cms_locked="false" />
<slicesource name="Slice 3" colourIndex="2" sourcex="2331" sourcey="3636" sourcew="1080" sourceh="1080" cms_locked="true" />
<slicesource name="Slice 4" colourIndex="3" sourcex="8004" sourcey="2763" sourcew="1080" sourceh="1080" cms_locked="true" />
</cms_slicesources>
<!--
Groups - if all on one monitor, you can just add each in the same group.
monitor: Monitor number to use as an X and Y offset
rotate: Angle in degrees to rotate the group (from the top left
corner clockwise)
offsetx,
offsety: How much to move the group across and down after
rotation
i.e. where to copy the slice to, relattive to the monitor
shiftx,
shifty: How much to shift the content INSIDE the group
** NOT supported by the current Configuration App
clipping,
clipw,
cliph: clip content to the size of the group
** NOT supported by the current Configuration App
-->
<group monitor="0" offsetx="0" offsety="1080" shiftx="0" shifty="0" clipping="0"
clipw="" rotate="-90" cliph="">
<!--
Where to copy the the slice FROM
** Currently the Configuration app limits 1 slice per group
It uses the slice source x/y/w/h
It ignores the slice dest x/y (always set to 0)
Slice dest it detemined by the group offset instead.
** coords+tl+tr+bl+br are for different shaped polygons
They are NOT currently not supprted by the Configuration app and will always be off\empty
-->
<slice sourcex="1244" sourcey="352" sourcew="752" sourceh="1792" destx="-12"
desty="0" destw="" desth="" alpha="1" coords="0" tl="" tr="" bl="" br="" />
</group>
<group monitor="1" offsetx="0" offsety="1080" shiftx="0" shifty="0" clipping="0"
clipw="" rotate="-90" cliph="">
<slice sourcex="2436" sourcey="352" sourcew="752" sourceh="1792" destx="0"
desty="0" destw="" desth="" alpha="1" />
</group>
</mappings>
</player>
</mapping>