<?xml version="1.0" encoding="UTF-8"?>
<Profiles version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.serviio.org/xsd/profiles/1.10/Profiles.xsd">
		
	<Profile id="flv_player" name="Flash player" extendsProfileId="1" alwaysEnableTranscoding="true" selectable="false">
		<Transcoding>
			<Video targetContainer="flv">
				<!-- remuxing back to FLV to enable seeking on flv files that would normally play natively -->
				<Matches container="flv" />
			</Video>
			<Video targetContainer="flv" targetACodec="mp3"  forceStereo="true" aSamplerate="44100">
				<Matches container="matroska" vCodec="h264" squarePixels="true" />
				<Matches container="mp4" vCodec="h264" squarePixels="true"/>
				<Matches container="avi" vCodec="h264" squarePixels="true"/>
				<Matches container="mpegts" vCodec="h264" squarePixels="true"/>
				<Matches container="3gp" vCodec="h264" squarePixels="true"/>								
			</Video>
			<Video targetContainer="flv" targetVCodec="flv" targetACodec="mp3" forceStereo="true" aSamplerate="44100">
				<Matches container="matroska" />
				<Matches container="mp4" />
				<Matches container="avi" />
				<Matches container="mpegts" />
				<Matches container="3gp" />
				<Matches container="asf" />
				<Matches container="mpeg" />
				<Matches container="mpegts" />
				<Matches container="ogg" />
				<Matches container="wtv" />
				<Matches container="rm" />
			</Video>
			<Audio targetContainer="mp3">
				<Matches container="mp4" />
				<Matches container="flac" />
				<Matches container="ogg" />
				<Matches container="lpcm" />
				<Matches container="adts" />
				<Matches container="asf" />
			</Audio>
		</Transcoding>
		<OnlineTranscoding keepStreamOpen="false">
			<Video targetContainer="flv" targetACodec="mp3" forceStereo="true" aSamplerate="44100">		
				<Matches container="flv" squarePixels="true"/> <!-- vp6, flv or h264 -->
				<Matches container="applehttp" vCodec="h264" squarePixels="true"/>
			</Video>
			<Video targetContainer="flv" targetVCodec="flv" targetACodec="mp3" forceStereo="true" aSamplerate="44100">			
				<Matches container="rtp"/>
				<Matches container="rtsp"/>
				<Matches container="applehttp"/>
				<Matches container="asf"/>
				<Matches container="flv"/>
			</Video>
		</OnlineTranscoding>
		<AlternativeQualities>
			<Quality type="MEDIUM">
				<Transcoding>
					<Video targetContainer="flv" targetVCodec="flv" targetACodec="mp3" forceStereo="true" aSamplerate="44100" maxVBitrate="1000" maxHeight="480">
						<Matches container="*" />
					</Video>
				</Transcoding>
				<OnlineTranscoding keepStreamOpen="false">
					<Video targetContainer="flv" targetVCodec="flv" targetACodec="mp3" forceStereo="true" aSamplerate="44100" maxVBitrate="1000" maxHeight="480">
						<Matches container="*" />
					</Video>
				</OnlineTranscoding>
			</Quality>
			<Quality type="LOW">
				<Transcoding>
					<Video targetContainer="flv" targetVCodec="flv" targetACodec="mp3" forceStereo="true" aSamplerate="22050" maxVBitrate="500" maxHeight="200">
						<Matches container="*" />
					</Video>
				</Transcoding>
				<OnlineTranscoding keepStreamOpen="false">
					<Video targetContainer="flv" targetVCodec="flv" targetACodec="mp3" forceStereo="true" aSamplerate="44100" maxVBitrate="500" maxHeight="200">
						<Matches container="*" />
					</Video>
				</OnlineTranscoding>
			</Quality>
		</AlternativeQualities>				
		<Subtitles>
			<SoftSubs mime-type="text/srt" />
			<HardSubs supported="false"/>
		</Subtitles>	
	</Profile>

	<Profile id="serviigo" name="ServiiGo" extendsProfileId="1" alwaysEnableTranscoding="true" selectable="false">
		<Transcoding>
         	<!-- Some devices support HW decoding when h264 is wrapped in mpegts, while others do not.
            If HW decoding does not work for you when playing back h264, you can try to uncomment
            the below Video block. -->
	         <!-- Video targetContainer="mpegts">
	            <Matches container="matroska" vCodec="h264" />
	            <Matches container="mp4" vCodec="h264" />
	            <Matches container="avi" vCodec="h264" />
	            <Matches container="mpegts" vCodec="h264" />
	            <Matches container="3gp" vCodec="h264" />
	         </Video -->         
	         <!-- Tanscode audio for the Media Player -->
	         <Audio targetContainer="mp3">
            	<Matches container="mp4" />
            	<Matches container="flac" />
				<Matches container="ogg" />
            	<Matches container="lpcm" />
            	<Matches container="adts" />
            	<Matches container="asf" />
         	</Audio> 
      	</Transcoding>
 		<OnlineTranscoding>
			<Video targetContainer="mpegts">
				<Matches container="flv" vCodec="h264" />
				<Matches container="mp4" />
				<Matches container="applehttp" vCodec="h264" />
			</Video>
			<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384" targetVCodec="mpeg2video" maxVBitrate="4000">
				<Matches container="flv" />
				<Matches container="asf" /> <!-- to support mms:// streams -->
				<Matches container="rtp" />
				<Matches container="rtsp" />
				<Matches container="applehttp" />
			</Video>
			<Audio targetContainer="mp3" aBitrate="192">
				<Matches container="flv" />
				<Matches container="asf" />
				<Matches container="rtp" />
				<Matches container="rtsp" />
				<Matches container="mp3" />
			</Audio>
		</OnlineTranscoding>
		<AlternativeQualities>
			<Quality type="MEDIUM">
				<Transcoding>
					<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="mp3" forceStereo="true" aSamplerate="44100" maxVBitrate="1000" maxHeight="480">
						<Matches container="*" />
					</Video>
				</Transcoding>
				<OnlineTranscoding keepStreamOpen="false">
					<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="mp3" forceStereo="true" aSamplerate="44100" maxVBitrate="1000" maxHeight="480">
						<Matches container="*" />
					</Video>
				</OnlineTranscoding>
			</Quality>
			<Quality type="LOW">
				<Transcoding>
					<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="mp3" forceStereo="true" aSamplerate="22050" maxVBitrate="500" maxHeight="240">
						<Matches container="*" />
					</Video>
				</Transcoding>
				<OnlineTranscoding keepStreamOpen="false">
					<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="mp3" forceStereo="true" aSamplerate="44100" maxVBitrate="500" maxHeight="240">
						<Matches container="*" />
					</Video>
				</OnlineTranscoding>
			</Quality>
		</AlternativeQualities>
		<Subtitles>
			<SoftSubs mime-type="text/srt" />
			<HardSubs supported="false"/>
		</Subtitles>
	</Profile>
	
	<Profile id="wp8" name="Windows Phone 8" extendsProfileId="1" alwaysEnableTranscoding="true" selectable="false">
		<Transcoding>
			<Video targetContainer="asf" targetACodec="wmav2" aBitrate="256" targetVCodec="wmv2" maxVBitrate="2000">
				<Matches container="*" />
			</Video>
			<Audio targetContainer="mp3" aBitrate="320">
				<Matches container="*" />
			</Audio>
      	</Transcoding>
 		<OnlineTranscoding>
			<Video targetContainer="asf" targetACodec="wmav2" aBitrate="256" targetVCodec="wmv2" maxVBitrate="2000">
				<Matches container="*" />
			</Video>
			<Audio targetContainer="mp3" aBitrate="320">
				<Matches container="*" />
			</Audio>
		</OnlineTranscoding>
		<AlternativeQualities>
			<Quality type="MEDIUM">
				<Transcoding>
					<Video targetContainer="asf" targetVCodec="wmv2" targetACodec="wmav2" forceStereo="true" aSamplerate="44100" maxVBitrate="1000" maxHeight="480">
						<Matches container="*" />
					</Video>
				</Transcoding>
				<OnlineTranscoding keepStreamOpen="false">
					<Video targetContainer="asf" targetVCodec="wmv2" targetACodec="wmav2" forceStereo="true" aSamplerate="44100" maxVBitrate="1000" maxHeight="480">
						<Matches container="*" />
					</Video>
				</OnlineTranscoding>
			</Quality>
			<Quality type="LOW">
				<Transcoding>
					<Video targetContainer="asf" targetVCodec="wmv2" targetACodec="wmav2" forceStereo="true" aSamplerate="22050" maxVBitrate="500" maxHeight="240">
						<Matches container="*" />
					</Video>
				</Transcoding>
				<OnlineTranscoding keepStreamOpen="false">
					<Video targetContainer="asf" targetVCodec="wmv2" targetACodec="wmav2" forceStereo="true" aSamplerate="22050" maxVBitrate="500" maxHeight="240">
						<Matches container="*" />
					</Video>
				</OnlineTranscoding>
			</Quality>
		</AlternativeQualities>
		<Subtitles>
			<SoftSubs mime-type="text/srt" />
			<HardSubs supported="false"/>
		</Subtitles>
	</Profile>
	
</Profiles>