AppFeed/templates/ich777sRepository/ich777/Jellyfin-AMD-Intel-Nvidia.xml
2021-03-23 04:02:47 -04:00

124 lines
8.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Container version="2">
<Name>Jellyfin-AMD-Intel-Nvidia</Name>
<Repository>ich777/jellyfin</Repository>
<Registry>https://hub.docker.com/r/ich777/jellyfin</Registry>
<Network>bridge</Network>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://forums.unraid.net/topic/102787-support-ich777-jellyfin-amdintelnvidia/</Support>
<Project>https://jellyfin.org/</Project>
<Overview>Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media. It is an alternative to the proprietary Emby and Plex, to provide media from a dedicated server to end-user devices via multiple apps..&#13;
&#13;
This version of Jellyfin is optimized for hardware transcoding on AMD Ryzen APU Platforms and also for Nvidia hardware transcoding - Nvidia-Driver Plugin needed (Intel hardware transcoding is only supported up to Coffe Lake 9th gen. for now).&#13;
&#13;
&#13;
AMD Hardware transcoding (Please note that you have to be on Unraid 6.9.0beta35 to enable the moduel for AMD):&#13;
- Open up a Terminal from Unraid and type in: 'modprobe amdgpu' (without quotes or you edit your 'go' file to load it on every restart of Unraid - refer to the support thread)&#13;
- At 'Device' at the bottom here in the template add '/dev/dri'&#13;
- In Jellyfin select the VA-API Transcoder at 'Playback' in the Admin section and enable: 'h264', 'HEVC', 'VC1', 'VP9', 'VP8', at the bottom 'Throttle Transcoding' and click 'Save'.&#13;
&#13;
Intel Hardware transcoding:&#13;
- Download and install the Intel-GPU-TOP Plugin from the CA App&#13;
- At 'Device' at the bottom here in the template add '/dev/dri'&#13;
- In Jellyfin select the Intel Quick Sync Transcoder at 'Playback' in the Admin section and enable: 'h264', 'MPEG2', 'HEVC', 'VC1', 'VP9', 'VP8', at the bottom 'Throttle Transcoding' and click 'Save'.&#13;
&#13;
Nvidia Hardware transcoding:&#13;
- Download and install the Nvidia-Driver Plugin from the CA App&#13;
- Turn on the 'Advanced View' here in the template and at 'Extra Parameters' add: '--runtime=nvidia'.&#13;
- At 'Nvidia Visible Devices' at the bottom here in the template add your GPU UUID.&#13;
- In Jellyfin select the NVENC Transcoder at 'Playback' in the Admin section and enable: 'h264', 'HEVC', 'VC1', 'VP9', 'VP8' (depending on the capabilities of your card), at the bottom 'Throttle Transcoding' and click 'Save'.</Overview>
<WebUI>http://[IP]:[PORT:8096]/</WebUI>
<Icon>https://raw.githubusercontent.com/ich777/docker-templates/master/ich777/images/jellyfin.png</Icon>
<ExtraParams>--restart=unless-stopped</ExtraParams>
<PostArgs></PostArgs>
<CPUset></CPUset>
<DonateText>Please Donate to the developers of Jellyfin</DonateText>
<DonateLink>https://opencollective.com/jellyfin</DonateLink>
<Networking>
<Mode>bridge</Mode>
<Publish>
<Port>
<HostPort>8096</HostPort>
<ContainerPort>8096</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
<Port>
<HostPort>8920</HostPort>
<ContainerPort>8920</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
</Publish>
</Networking>
<Data>
<Volume>
<HostDir>/mnt/user/appdata/jellyfin</HostDir>
<ContainerDir>/config</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir></HostDir>
<ContainerDir>/movies</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir></HostDir>
<ContainerDir>/tv</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir></HostDir>
<ContainerDir>/music</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/appdata/jellyfin/cache</HostDir>
<ContainerDir>/cache</ContainerDir>
<Mode>rw</Mode>
</Volume>
</Data>
<Environment>
<Variable>
<Value></Value>
<Name>NVIDIA_VISIBLE_DEVICES</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>all</Value>
<Name>NVIDIA_DRIVER_CAPABILITIES</Name>
<Mode></Mode>
</Variable>
</Environment>
<Config Name="Data Path" Target="/config" Default="/mnt/user/appdata/jellyfin" Mode="rw" Description="Main data path" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/jellyfin</Config>
<Config Name="Movies" Target="/movies" Default="" Mode="rw" Description="Path to your Movie library." Type="Path" Display="always" Required="false" Mask="false"></Config>
<Config Name="TV Shows" Target="/tv" Default="" Mode="rw" Description="Path to your TV-Shows library." Type="Path" Display="always" Required="false" Mask="false"></Config>
<Config Name="Music" Target="/music" Default="" Mode="rw" Description="Path to your Music library." Type="Path" Display="always" Required="false" Mask="false"></Config>
<Config Name="Cache" Target="/cache" Default="" Mode="rw" Description="Cache path (strongly recommended to use)." Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/jellyfin/cache</Config>
<Config Name="Device" Target="" Default="" Mode="" Description="Path to AMD or Intel device - fill in with '/dev/dri' if you want to use AMD or Intel hardware transcoding (ATTENTION: Delete this value if you don't want to use Intel or AMD hardware transcoding otherwise the container won't start)." Type="Device" Display="always" Required="true" Mask="false"></Config>
<Config Name="Nvidia Visible Devices" Target="NVIDIA_VISIBLE_DEVICES" Default="" Mode="" Description="Nvidia Visible Devices - enter your GPU UUID here (only required if you plan to use Nvidia hardware transcoding otherwise leave empty, don't forget to add '--runtime=nvidia' to your 'Extra Parameters' in the template)." Type="Variable" Display="always" Required="false" Mask="false"></Config>
<Config Name="http - WebGUI" Target="8096" Default="" Mode="tcp" Description="WebGUI Port http." Type="Port" Display="always" Required="false" Mask="false">8096</Config>
<Config Name="https - WebGUI" Target="8920" Default="" Mode="tcp" Description="WebGUI Port https." Type="Port" Display="always" Required="false" Mask="false">8920</Config>
<Config Name="Nvidia Driver Capabilities" Target="NVIDIA_DRIVER_CAPABILITIES" Default="" Mode="" Description="Nvidia Driver Capabilities (This value can be left in the template even if you don't want to use Nvidia hardware transcoding)." Type="Variable" Display="advanced" Required="false" Mask="false">all</Config>
<Description>Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media. It is an alternative to the proprietary Emby and Plex, to provide media from a dedicated server to end-user devices via multiple apps..&#13;
&#13;
This version of Jellyfin is optimized for hardware transcoding on AMD Ryzen APU Platforms and also for Nvidia hardware transcoding - Nvidia-Driver Plugin needed (Intel hardware transcoding is only supported up to Coffe Lake 9th gen. for now).&#13;
&#13;
&#13;
AMD Hardware transcoding (Please note that you have to be on Unraid 6.9.0beta35 to enable the moduel for AMD):&#13;
- Open up a Terminal from Unraid and type in: 'modprobe amdgpu' (without quotes or you edit your 'go' file to load it on every restart of Unraid - refer to the support thread)&#13;
- At 'Device' at the bottom here in the template add '/dev/dri'&#13;
- In Jellyfin select the VA-API Transcoder at 'Playback' in the Admin section and enable: 'h264', 'HEVC', 'VC1', 'VP9', 'VP8', at the bottom 'Throttle Transcoding' and click 'Save'.&#13;
&#13;
Intel Hardware transcoding:&#13;
- Download and install the Intel-GPU-TOP Plugin from the CA App&#13;
- At 'Device' at the bottom here in the template add '/dev/dri'&#13;
- In Jellyfin select the Intel Quick Sync Transcoder at 'Playback' in the Admin section and enable: 'h264', 'MPEG2', 'HEVC', 'VC1', 'VP9', 'VP8', at the bottom 'Throttle Transcoding' and click 'Save'.&#13;
&#13;
Nvidia Hardware transcoding:&#13;
- Download and install the Nvidia-Driver Plugin from the CA App&#13;
- Turn on the 'Advanced View' here in the template and at 'Extra Parameters' add: '--runtime=nvidia'.&#13;
- At 'Nvidia Visible Devices' at the bottom here in the template add your GPU UUID.&#13;
- In Jellyfin select the NVENC Transcoder at 'Playback' in the Admin section and enable: 'h264', 'HEVC', 'VC1', 'VP9', 'VP8' (depending on the capabilities of your card), at the bottom 'Throttle Transcoding' and click 'Save'.</Description>
<templatePath>/tmp/GitHub/AppFeed/templates/ich777sRepository/ich777/Jellyfin-AMD-Intel-Nvidia.xml</templatePath>
</Container>