Playlist File Format

From MediaLooks Knowledge Base

Jump to: navigation, search

All playlists are saved as *.mpl file in XML format.

Playlist XML file can contain file descriptions, playlist tags, Character Generator items, etc.

The following XML format can be used to manage playlists with Playlist Source or Playout:

<mgplayout >
	<file-props/>
	<user-props/>
	<schedule-global/>
	<schedule-24/>
	<files>
		<item>BA-2011 TRANSITIONS</item>
		<item>CG timeline-start='ba-demo-trans' timeline-path='CG/ba-demo-trams.xml'</item>
		<item>CG LOAD=blocks.ml-cgc</item>
		<item>TRANSITION TIME=2.0</item>
		<file path='Focus - NBA Playoffs 2010 Promo Commercial (Short Edit) [www.keepvid.com].mp4' in='00:00:00:00' out='00:00:10:00' duration='00:00:15:10' loop='no' id='focus_nba-0'>
			<video width='1280' height='720' rate='29.970' colorspace='UYVY' aspect-ratio='16:9' interlace='progressive' maintain-ar='default'/>
			<audio channels='2' bits='16' rate='44100'/>
			<file-props audio-tracks='1' video-tracks='1'/>
			<breaks>
				<cg time='-2.000'  cg-time-ramp=0.5  cg-time-show=4.0 cg-show=true display='info-trans' param='block-trans:info::text="Transition to next clip: Strips"'/>
			</breaks>
		</file>
		<item>TRANSITION TIME=2.0 DXNAME=DXImageTransform.Microsoft.Strips</item>
		<file path='HARLEY DAVIDSON _FREEDOM_ BLACK AND WHITE SHORT COMMERCIAL [www.keepvid.com].mp4' in='00:00:04:00' out='00:00:14:00' duration='00:00:15:20' loop='no' id='harley_davidson-0'>
			<video width='1280' height='720' rate='23.913' colorspace='UYVY' aspect-ratio='16:9' interlace='progressive' maintain-ar='default'/>
			<audio channels='2' bits='16' rate='44100'/>
			<file-props audio-tracks='1' video-tracks='1'/>
			<breaks>
				<cg time='-2.000'  cg-time-ramp=0.5  cg-time-show=4.0 cg-show=true display='info-trans' param='block-trans:info::text="Transition to next clip: RandomBars"'/>
			</breaks>
		</file>
		<item>TRANSITION TIME=2.0 Dxname=DXImageTransform.Microsoft.RandomBars</item>
		<file path='Officially New Audi A4 Allroad Quattro Driving 2010.mp4' in='00:00:00:00' duration='00:01:55:07' loop='no' id='officially_new_audi_a4'>
			<video width='638' height='360' rate='25.000' colorspace='UYVY' aspect-ratio='319:180' interlace='progressive' maintain-ar='default'/>
			<audio channels='2' bits='16' rate='44100'/>
			<file-props/>
			<user-props>
			</user-props>
			<breaks>
				<cg time='8.000'  cg-time-ramp=0.5  cg-time-show=4.0 cg-show=true display='info-trans' param='block-trans:info::text="Break starts. Transition type: Pixelate"'/>
				<break time='10.000' file-id='focus_nba' trans-in='time=2.0 dxname=DXImageTransform.Microsoft.Pixelate' trans-out='time=2.0 type=fade'/>
 
				<cg time='18.000' cg-time-ramp=0.5  cg-time-show=4.0 cg-show=true display='info-trans' param='block-trans:info::text="Break starts. Transition type: RandomDissolve"'/>
				<break time='20.000' file-id='harley_davidson' trans-in='time=2.0 dxname=DXImageTransform.Microsoft.RandomDissolve' trans-out='time=2.0 '/>
			</breaks>
		</file>
		<file path='Focus - NBA Playoffs 2010 Promo Commercial (Short Edit) [www.keepvid.com].mp4' in='00:00:00:00' out='00:00:10:00' duration='00:00:15:10' loop='no' id='focus_nba'>
			<video width='1280' height='720' rate='29.970' colorspace='UYVY' aspect-ratio='16:9' interlace='progressive' maintain-ar='default'/>
			<audio channels='2' bits='16' rate='44100'/>
			<file-props audio-tracks='1' video-tracks='1'/>
			<breaks>
				<cg time='-2.000'  cg-time-ramp=0.5  cg-time-show=4.0 cg-show=true display='info-trans' param='block-trans:info::text="Break ends. Transition type: Fade"'/>
			</breaks>
		</file>
		<item>TRANSITION TIME=2.0 DXNAME=DXImageTransform.Microsoft.Strips</item>
		<file path='HARLEY DAVIDSON _FREEDOM_ BLACK AND WHITE SHORT COMMERCIAL [www.keepvid.com].mp4' in='00:00:04:00' out='00:00:14:00' duration='00:00:15:20' loop='no' id='harley_davidson'>
			<video width='1280' height='720' rate='23.913' colorspace='UYVY' aspect-ratio='16:9' interlace='progressive' maintain-ar='default'/>
			<audio channels='2' bits='16' rate='44100'/>
			<file-props audio-tracks='1' video-tracks='1'/>
			<breaks>
				<cg time='-2.000'  cg-time-ramp=0.5  cg-time-show=4.0 cg-show=true display='info-trans' param='block-trans:info::text="Break ends. Transition type: Slide"'/>
			</breaks>
		</file>
 
	</files>
	<ml-chargen>
		<video-props interlace='auto' extra-buffer='false' width='720' height='576'/>
		<video-output background='Black(0)' top-video='no'>
			<input-rect left='0.000%' right='0.000%' top='0.000%' bottom='0.000%'/>
			<output-rect left='0.000%' right='0.000%' top='0.000%' bottom='0.000%'/>
		</video-output>
		<cg-items/>
		<cg-schedule>
			<timeline-file/>
		</cg-schedule>
		<cg-compositions/>
	</ml-chargen>
</mgplayout>

The description of Playlist tags, Breaks and Schedulling items can be found in this document that is available after Broadcast Automation Platform installation:

C:\Program Files\MediaLooks\Broadcast Automation Platform\Docs\Broadcast Automation Platform Manual.pdf

The description of transition tags can be found in this document that is available after Broadcast Automation Platform installation:

C:\Program Files\MediaLooks\Broadcast Automation Platform\Docs\Broadcast Automation Transitions.pdf

The description of Character Generator items can be found in this article:

http://wiki.medialooks.com/Character_Generator_DirectShow_Filter_User_Guide


This XML file, if saved with the .MPL extension, can be rendered in GraphEdit or loaded to a DirectShow media player (such as WMP) - the playlist will operate as if it were a single file.

Personal tools