Some preliminaries:
- Firstly make sure you have an up-to-date version of ffmpeg. There have been some improvements in performance in ffmpeg over time;
- set the number of cores in Serviio console, on the Delivery tab, Transcoding to the maximum you have;
- Ensure the drive where your temporary transcoded files are stored is a fast drive and has plenty of space;
- If you don't use subtitles - in Serviio console, on the Delivery tab, Subtitles select Enable Subtitles and disable (uncheck) all other options. The other options are CPU intensive
See how the above goes first.
The only way to really tune transcoding is to avoid it

. Depending on your renderer, you can tweak your profile to minimise the amount of transcoding going on. You need to work out what level of transcoding is required for each file type you play. Most of the profiles that come with Serviio are pretty good at doing this - some are better than others - but each can be tweaked depending on the exact model of your TV/renderer. The following are some "rules" to apply when doing this - ranking from least processor intensive to most:
- Renderer can play the file natively - do not transcode, stream the file as is. This has lowest CPU usage.
- Renderer can handle both video and audio streams, but not the container type - in the profile set rules to remux the video and audio into a new container. This has low CPU usage.
- Renderer can handle the video stream, but does not support the audio stream - in the profile set rules to remux the video, and change the audio type to a supported type. This has low - mid CPU usage.
- Renderer cannot support the video type - in the profile set rules to transcode the video (and audio if necessary). This has high to extremely high CPU usage.
Only the last case has high CPU usage. It is this type we need to avoid as much as possible.
Where it cannot be avoided, the only choice then is to use an external program to permanently transcode (convert) the video into something your renderer supports (this moves the file from a type 4 to type 1). Plenty of free stuff on the web to do this - I have used XMedia Recode in the past for this, but there's plenty of others.
So a bit of work - people on the forum can assist but give it a go yourself. You'll need to let us know what type of media files you are playing (MediaInfo details) and what your renderers are to help further.