MSEPlayer Test Description:
------------------
MSEPlayer application has been provided as both a sample and as a validation test 
for NXMSESource. The application takes as its first argument the path to an MPD file 
which lists the segments that should be appended to the source for playback. 
The segment files must reside in the same location as the MPD file. When the application 
is launched, it parses this file, sequentially loads all specified segments, and then 
starts playback of the media content.


MSEPlayer Build Instruction:
------------------
nact platforms=NXFP2,NXFP2-a64 specs=NX BUILD=Develop,Release -d Tests/Multimedia/Sources/Tests/MSEPlayer/


MSEPlayer Run Instruction:
------------------
<MSEPlayer executable> <mpd path> -script <path to lua script>

Example command line to run the test:
----------
C:\testMultimedia_MSEPlayer.nsp C:\test_01_Segments.mpd

Example MPD file (test_02_Seg.mpd)
Contents of file:
----------------

<?xml version="1.0"?>
<!-- MPD file Generated with GPAC version 0.5.1-DEV-rev4193 -->
<MPD type="static" xmlns="urn:mpeg:DASH:schema:MPD:2011" minBufferTime="PT1.5S" mediaPresentationDuration="PT0H10M0.00S" profiles="urn:mpeg:dash:profile:isoff-main:2011">
 <ProgramInformation moreInformationURL="http://gpac.sourceforge.net">
  <Title>mp4-main-multi-mpd-AV-NBS.mpd generated by GPAC</Title>
  <Copyright>TelecomParisTech(c)2012</Copyright>
 </ProgramInformation>
 <Period start="PT0S" duration="PT0H10M0.00S">
  <AdaptationSet segmentAlignment="true" maxWidth="1920" maxHeight="1080" maxFrameRate="25" par="16:9">
   <ContentComponent id="1" contentType="video"/>
   <Representation id="h264bl_low" mimeType="video/mp4" codecs="avc1.42c00d" width="320" height="180" frameRate="25" sar="1:1" startWithSAP="1" bandwidth="50877">
    <SegmentList timescale="1000" duration="10000">
     <Initialization sourceURL="H264_1280x720_30sec_01.mp4init.mp4"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp41.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp42.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp43.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp44.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp45.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp46.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp47.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp48.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp49.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp410.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp411.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp412.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp413.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp414.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp415.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp416.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp417.m4s"/>
    <SegmentURL media="H264_1280x720_30sec_01.mp418.m4s"/>
    </SegmentList>
   </Representation>
  </AdaptationSet>
 </Period>
</MPD>


Pass Condition:
------------------
The test will pass if,
 * the MPD file is read successfully.
 * the media content plays.
 * the application shuts down once the media content finishes playback.

Remarks:
------------------
The lua script file needs to contain the function start_playback which takes an MSE source.

