Skip to content

Instantly share code, notes, and snippets.

@ahawthorne
Created March 15, 2015 22:43
Show Gist options
  • Save ahawthorne/d0fc239d143dad4f631e to your computer and use it in GitHub Desktop.
Save ahawthorne/d0fc239d143dad4f631e to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<Client name="Chromecast">
<!-- Author: Plex Inc. -->
<TranscodeTargets>
<VideoProfile protocol="http" container="matroska" codec="h264" audioCodec="aac" subtitleCodec="ass" context="streaming">
<Setting name="VideoEncodeFlags" value="-x264opts bframes=3:cabac=1" />
</VideoProfile>
<MusicProfile container="matroska" codec="mp3" />
<PhotoProfile container="jpeg" />
</TranscodeTargets>
<TranscodeTargetProfiles>
<VideoTranscodeTarget protocol="http" context="streaming">
<VideoCodec name="*">
<Limitations>
<UpperBound name="video.width" value="1920" />
<UpperBound name="video.height" value="1080" />
</Limitations>
</VideoCodec>
</VideoTranscodeTarget>
</TranscodeTargetProfiles>
<DirectPlayProfiles>
<VideoProfile container="mp4" codec="h264" audioCodec="aac" />
<MusicProfile container="mp4" codec="aac" />
<MusicProfile container="mp3" codec="mp3" />
<PhotoProfile container="jpeg,gif,bmp,png" />
</DirectPlayProfiles>
<ContainerProfiles>
<VideoContainer name="mp4">
<Limitations>
<Match name="part.optimizedForStreaming" value="1" />
</Limitations>
</VideoContainer>
</ContainerProfiles>
<CodecProfiles>
<VideoCodec name="*">
<Limitations>
<UpperBound name="video.width" value="1920" />
<UpperBound name="video.height" value="1080" />
</Limitations>
</VideoCodec>
<VideoAudioCodec name="mp3">
<Limitations></Limitations>
</VideoAudioCodec>
<VideoAudioCodec name="aac">
<Limitations></Limitations>
</VideoAudioCodec>
<MusicCodec name="mp3">
<Limitations>
<UpperBound name="audio.channels" value="2" />
</Limitations>
</MusicCodec>
</CodecProfiles>
</Client>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment