Skip to content

Instantly share code, notes, and snippets.

@darth-veitcher
Created January 12, 2014 12:53
Show Gist options
  • Save darth-veitcher/8384237 to your computer and use it in GitHub Desktop.
Save darth-veitcher/8384237 to your computer and use it in GitHub Desktop.
WDTV device profile.xml for Plex Media Server
<Client name="WD TV Live HD Media Player">
<!-- Author: Plex Inc. -->
<!-- http://www.wdc.com/w...4779-705035.pdf -->
<!-- Model number tested: WDBAAN0000NBK -->
<!-- TODO - a few more limitations around codec profiles, which are high enough that they're probably not worth listing at present -->
<Identification>
<Header name="User-Agent" substring="alphanetworks" />
<Header name="User-Agent" substring="ALPHA Networks" />
</Identification>
<Settings>
<Setting name="IgnoreTranscodeByteRangeRequests" value="true" />
<Setting name="TimelineBufferOffset" value="5" />
</Settings>
<TranscodeTargets>
<VideoProfile container="mpeg" codec="mpeg2video" audioCodec="mp3" />
<!-- VideoProfile container="avi" codec="h264" audioCodec="ac3" / Doesn't work well -->
<!-- VideoProfile container="avi" codec="mpeg4" audioCodec="mp3" - Works, no ff -->
<!-- VideoProfile container="mpeg" codec="mpeg2video" audioCodec="ac3" - no audio on vevo -->
<!-- VideoProfile container="mpegts" codec="h264" audioCodec="ac3" - Doesn't work, unfortunately -->
<PhotoProfile container="jpeg" />
</TranscodeTargets>
<DirectPlayProfiles>
<VideoProfile container="avi" codec="mpeg1video,mpeg2video,mpeg4,h264,vc1" audioCodec="ac3,dca,mp2,mp3,pcm_u8" />
<VideoProfile container="mpeg" codec="mpeg1video,mpeg2video" audioCodec="ac3,dca,mp2,mp3,pcm_u8" />
<VideoProfile container="mkv" codec="mpeg1video,mpeg2video,mpeg4,h264,vc1" audioCodec="ac3,dca,aac,mp2,mp3,pcm_u8" />
<VideoProfile container="mpegts" codec="mpeg1video,mpeg2video,h264,vc1" audioCodec="truehd,ac3,dca,mp2,mp3" />
<VideoProfile container="mov" codec="h264" audioCodec="aac,pcm,pcm_s16le" />
<VideoProfile container="mp4" codec="mpeg4,h264" audioCodec="aac,ac3,mp3,lpcm" />
<!-- if I add h264 to above mp4 entry, vevo doesn't play -->
<VideoProfile container="asf" codec="vc1,mpeg2video" audioCodec="ac3,wmav2,wmapro" />
<VideoProfile container="flv" codec="h264" audioCodec="aac" />
<PhotoProfile container="jpeg,png,gif,bmp,tiff" />
</DirectPlayProfiles>
<CodecProfiles>
<VideoCodec name="h264">
<Limitations>
<UpperBound name="video.width" value="1920" />
<UpperBound name="video.height" value="1080" />
</Limitations>
</VideoCodec>
</CodecProfiles>
<ContainerProfiles>
<PhotoContainer name="jpeg">
<Limitations>
<UpperBound name="photo.width" value="4096" />
<UpperBound name="photo.height" value="4096" />
</Limitations>
</PhotoContainer>
<PhotoContainer name="png,gif,bmp,tiff">
<Limitations>
<UpperBound name="photo.width" value="2048" />
<UpperBound name="photo.height" value="2048" />
</Limitations>
</PhotoContainer>
</ContainerProfiles>
</Client>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment