2025-01-14, 06:49 PM
(2025-01-14, 05:48 PM)jellyfin Wrote: First let me say that the above link says that h.265 / HEVC on Safari or iOS is "is only supported in MP4, M4V, and MOV containers."I also want to point out that Jellyfin will show "direct" next to the video if it's not being transcoded.
That does not seem to be true!
-> I can play H265 from a MKV container and it will be shown as "direct" in the JF dashboard!
You're misinterpreting things though. It's just saying that the video stream is direct, not that the whole container is being direct played.
(2025-01-14, 05:48 PM)jellyfin Wrote: But then, h.264 should work in any container.Nothing is wrong. As you stated before, Safari on iOS only supports some codecs in MP4, M4V, or MOV containers.
That does not seem to be true!
-> I can play H264 from a MKV as "direct" but it still get's remixed!
Something is wrong here.
For this, I created both H264 and H265 videos in a MKV container - and the Dashboard in both cases says that the video is played "Direct".
Also, in both cases, the video get's remuxed - because of the container!
I repeated the same with videos without any audio and then even without any subtitles, just to be sure - same behaviour!
Jellyfin is taking that into account to make sure you can direct stream your video.
It just switches the MKV container to one that is supported.
If you want to avoid this specifically on Safari on iOS, switch your containers to MP4.
A lot of things in life has trades and balances. By switching to MP4, you will be losing out on some other things such as not being able to include certain audio or subtitle tracks along with the video as what MKV provides.
Just let Jellyfin transcode/remux when it's needed for you. That's why Jellyfin has that capability. It's to make your life easier instead of having to worry about making all your files compatible with every single device.
And just in case, and to repeat again, the most compatible format for most clients is as follows:
Video: H264 (AVC) 8-bit
Audio: AAC 2.0 (128kbps total / 64kbps per channel)
Subtitles: SRT
Container: MP4