Skip to content

This repository contains scripts and infos, directly or not directly related to Jellyfin

License

Notifications You must be signed in to change notification settings

Tontonjo/jellyfin

Repository files navigation

Jellyfin

Tonton Jo

Join the community:

Youtube Discord Tonton Jo

Support my work, give a thanks and help the youtube channel:

Ko-Fi Infomaniak Express VPN

jellyfin_compatibility_converter.sh

Convert your files in the most compatible format for Jellyfin clients

Prerequisits:

This script is intended to be executed from Jellyfin but should work with every ffmpeg installation

  • ffmpeg
  • A working GPU decoding setup if you want GPU transcode
    • Install needed dependencies IN container to have tonemap

enable tonemap capability for GPU:

docker exec -it $jellyfin bash
echo "deb http://deb.debian.org/debian buster-backports main contrib non-free" >> /etc/apt/sources.list  
apt-get update  
apt-get install aptitude
aptitude install nvidia-opencl-icd

Usage:

It will look in $inputpath for MKV movies and convert them to x264 SDR to $outputpath I recommand using tmux to start process

  • Put script in a jellyfin container accessible folder

  • If no outputpath is specified, original file will be overwritten

  • You can set a maximum amount of files to process

  • Use arguments to process only video or audio

  • Specify a blacklist

  • Make it executable

docker exec $jellyfin chmod +x jellyfin_compatibility_converter.sh
  • Run it
    • Connect into container
docker exec -u root:users -it $jellyfin bash
    • Run for every movie in $inputpath
bash jellyfin_compatibility_converter.sh

compatibility_checker.sh

Want to know what files contains not well supported format by jellyfin? Here you go

Usage:

It will look in $inputpath for HDR content and convert them to x264 SDR to $outputpath
Executing the script like this works but is not perfect - suggestions welcome!

  • Put script in a jellyfin container accessible folder

  • Edit the configuration in the script especially the path

    • Input path - script will recurse if there are subfolders
  • Run it

    • Connect into container
docker exec -it $jellyfin bash
    • Run for every movie in $inputpath
bash /path/to/compatibility_checker.sh

About

This repository contains scripts and infos, directly or not directly related to Jellyfin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages