Jellyfin Forum
SOLVED: Failed to transcode to HEVC on mac mini - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Failed to transcode to HEVC on mac mini (/t-solved-failed-to-transcode-to-hevc-on-mac-mini)

Pages: 1 2


RE: Failed to transcode to HEVC on mac mini - nardisowhat - 2024-02-25

@gnattu very cool that you are working on Jellyfin on macOS.

I am not using homebrew’s ffmpeg. I am using what was installed with 10.8.13.

Does homebrew’s ffmpeg hardware transcode more efficiently on Apple silicon Macs than the default ffmpeg ? Thanks


RE: Failed to transcode to HEVC on mac mini - hczxpaul - 2024-02-27

(2024-02-24, 05:11 PM)gnattu Wrote: By the way the   <EncoderAppPathDisplay>ffmpeg</EncoderAppPathDisplay> is only how the path is displayed, you need to modify   <EncoderAppPath>ffmpeg</EncoderAppPath> as well.

If you are using homebrew's ffmpeg, then it will look like thie:


  <EncoderAppPath>/opt/homebrew/bin/ffmpeg</EncoderAppPath>
  <EncoderAppPathDisplay>/opt/homebrew/bin/ffmpeg</EncoderAppPathDisplay>

Thank you, I tried this and it worked, hevc transcoding works now with CPU usage around 170%~

The thing is that this line

<EncoderAppPath>/opt/homebrew/bin/ffmpeg</EncoderAppPath>

is not displayed in the encoding.xml by default, so I have to manully add this line by before the <EncoderAppPathDisplay> line.

So both of @TheDreadPirate and @gnattu are right, Jellyfin's default ffmpeg doesn't work for HEVC and required an apple silicon native ffmpeg build.


RE: Failed to transcode to HEVC on mac mini - nardisowhat - 2024-02-27

@hczxpaul Thanks for posting your results.

I am running latest Sonoma on base config M1 Mac Mini. I haven’t setup homebrew ffmpeg.
The ffmpeg I am using came with Jellyfin 10.8.13 install. It works for HEVC on my setup. I have tried 4K HEVC and 1080P HEVC. CPU usage varies from 100% to 200%+. My temps don’t get any warmer than 55 degrees C.

My n100 mini PC with Jellyfin does keep cooler at 49-51 degrees C.