2025-01-14, 05:48 PM
(This post was last modified: 2025-01-14, 06:03 PM by jellyfin. Edited 3 times in total.)
OK, I made some more tests.
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."
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!
But then, h.264 should work in any container.
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!
And, I see new 76 files to be created in the transcodes cache, directly after starting the video - together they have the same size as my test file!
That means, that watching any video will rewrite the same amount of data to disk - every time I watch a video! This is not how it should work.
I need to get rid of this.
I will now create other containers and test with them!
Before, this is the full MediaInfo output for the file without audio and subtitles:
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."
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!
But then, h.264 should work in any container.
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!
And, I see new 76 files to be created in the transcodes cache, directly after starting the video - together they have the same size as my test file!
That means, that watching any video will rewrite the same amount of data to disk - every time I watch a video! This is not how it should work.
I need to get rid of this.
I will now create other containers and test with them!
Before, this is the full MediaInfo output for the file without audio and subtitles:
Code:
General
Unique ID : 196208340346919720067586282130649630699 (0x939C5A0FA5D1FD15BAA628E04FB3C7EB)
Complete name : /Volumes/WDBLACK/CACHES/PRIDE_AND_PREJUDICE_2005-standard265NoAudioNoSubtitles.mkv
Format : Matroska
Format version : Version 4
File size : 275 MiB
Duration : 7 min 19 s
Overall bit rate : 5 255 kb/s
Frame rate : 23.976 FPS
Movie name :
Encoded date : 2025-01-14 17:17:33 UTC
Writing application : HandBrake 1.9.0 2024120100
Writing library : Lavf61.7.100
ErrorDetectionType : Per level 1
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 7 min 19 s
Bit rate : 5 150 kb/s
Width : 1 914 pixels
Height : 818 pixels
Display aspect ratio : 2.35:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 0)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.137
Stream size : 270 MiB (98%)
Writing library : x265 4.1+1-1d117be:[Mac OS X][clang 16.0.0][64 bit] 10bit
Encoding settings : cpuid=98 / frame-threads=8 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1914x818 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / temporal-layers=0 / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=1 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / selective-sao=4 / no-early-skip / rskip / rskip-edge-threshold=0.050000 / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=0.75 / psy-rdoq=4.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=22.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=1 / chromaloc-top=0 / chromaloc-bottom=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass / no-mcstf / no-sbrc / no-frame-rc
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709