Al een tijdje ben ik wat mediabestanden aan het omzetten naar HEVC/H265 om ruimte te besparen zonder al teveel kwaliteit in te leveren. it doe ik met Handbrake.
Voor DVD's uit mijn DVD collectie merk ik dat door het SD formaat erg kleine bestanden ontstaan, maar bij een blu-ray valt me op dat er soms nagenoeg geen verschil zit tussen H264 of H265. Hier kwam ik per toeval achter omdat ik eens tussendoor wilde weten wat een blu-ray deed in H264 en H265.
Als voorbeeld dit bestand, is een aflevering van een serie:
Heb even een hoop ondertitelingen er tussenuit gehaald, om het in te korten.
H265:
H264
Origineel: 6,46GB
Output is 1080P naar 720P
H265: 1,13GB - omzetten duurde bijna 3 uur.
H64: 1,13GB - omzetten duurde 45 minuten.
Kijk ik naar het aantal KB/s dan zie ik dat in H265 het bestand ongeveer 100MB kleiner is.
Ik heb nog niet het verschil in kwaliteit bekeken, maar zit mezelf wel af te vragen waarom ik dan alles naar H265 omzet. H264 werkt beter op veel apparaten. Voor mij is de afweging een goede kwaliteit in ee zo'n klein mogelijke bestandsgrootte.
Zijn anderen er wel eens tegenaan gelopen dat er soms geen groot verscil in bestandsgrootte zit?
Ik ga eens verder testen met een film.
Voor DVD's uit mijn DVD collectie merk ik dat door het SD formaat erg kleine bestanden ontstaan, maar bij een blu-ray valt me op dat er soms nagenoeg geen verschil zit tussen H264 of H265. Hier kwam ik per toeval achter omdat ik eens tussendoor wilde weten wat een blu-ray deed in H264 en H265.
Als voorbeeld dit bestand, is een aflevering van een serie:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
| Algemeen
Formaat : Matroska
Formaatversie : Version 4
Bestandsgrootte : 6,46 GiB
Duur : 45 min 38s
Totale bitratemodus : Variabel
Totale bitrate : 20,3 Mb/s
Datum codering : UTC 2017-10-29 00:12:13
Gebruikt programma : mkvmerge v16.0.0 ('Protest') 64-bit
Gebruikte encoderbibliotheek : libebml v1.3.5 + libmatroska v1.4.8
Video
ID : 1
Formaat : AVC
Formaat/Info : Advanced Video Codec
Formaatprofiel : High@L4
Formaatinstellingen : CABAC / 2 Ref Frames
Formaatinstellingen, CABAC : Ja
Formaatinstellingen, RefFrames : 2 frames
Codec-ID : V_MPEG4/ISO/AVC
Duur : 45 min 34s
Bitrate-modus : Variabel
Bitrate : 15,9 Mb/s
Breedte : 1 920 pixels
Hoogte : 1 080 pixels
Beeldverhouding : 16:9
Frameratemodus : Constant
Framerate : 23,976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scansoort : Progressief
Bits/(Pixel*Frame) : 0.320
Stroomgrootte : 5,06 GiB (78%)
Default : Ja
Forced : Nee
Audio #1
ID : 2
Formaat : MLP FBA
Formaat/Info : Meridian Lossless Packing FBA
Commercial name : Dolby TrueHD
Codec-ID : A_TRUEHD
Duur : 45 min 35s
Bitrate-modus : Variabel
Bitrate : 3 206 kb/s
Maximale bitrate : 4 557 kb/s
Kanaal(en) : 6 kanalen
Channel layout : L R C LFE Ls Rs
Samplerate : 48,0 kHz
Framerate : 1 200,000 FPS (40 SPF)
Compression mode : Lossless
Stroomgrootte : 1,02 GiB (16%)
Titel : TrueHD 5.1
Taal : Engels
Default : Ja
Forced : Nee
Audio #2
ID : 3
Formaat : AC-3
Formaat/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec-ID : A_AC3
Duur : 45 min 38s
Bitrate-modus : Constant
Bitrate : 640 kb/s
Kanaal(en) : 6 kanalen
Channel layout : L R C LFE Ls Rs
Samplerate : 48,0 kHz
Framerate : 31,250 FPS (1536 SPF)
Compression mode : Lossy
Stroomgrootte : 209 MiB (3%)
Titel : AC-3 5.1 (Embedded)
Taal : Engels
Service kind : Complete Main
Default : Nee
Forced : Nee
Audio #3
ID : 4
Formaat : AC-3
Formaat/Info : Audio Coding 3
Commercial name : Dolby Digital
Formaatinstellingen : Dolby Surround
Codec-ID : A_AC3
Duur : 45 min 35s
Bitrate-modus : Constant
Bitrate : 192 kb/s
Kanaal(en) : 2 kanalen
Channel layout : L R
Samplerate : 48,0 kHz
Framerate : 31,250 FPS (1536 SPF)
Compression mode : Lossy
Stroomgrootte : 62,6 MiB (1%)
Titel : Commentarty with show creators Steven Kane and Hank Steinberg
Taal : Engels
Service kind : Complete Main
Default : Nee
Forced : Nee
Tekst #3
ID : 7
Formaat : PGS
Codec-ID : S_HDMV/PGS
Codec-ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duur : 45 min 27s
Bitrate : 35,1 kb/s
Count of elements : 1154
Stroomgrootte : 11,4 MiB (0%)
Titel : Dutch
Taal : Nederlands
Default : Nee
Forced : Nee
Menu
00:00:00.000 : en:00:00:00.000
00:15:46.946 : en:00:15:46.946
00:22:27.304 : en:00:22:27.304
00:28:16.320 : en:00:28:16.320
00:33:00.353 : en:00:33:00.353
00:44:58.362 : en:00:44:58.362 |
Heb even een hoop ondertitelingen er tussenuit gehaald, om het in te korten.
H265:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
| Algemeen Formaat : Matroska Formaatversie : Version 4 Bestandsgrootte : 1,13 GiB Duur : 45 min 35s Totale bitrate : 3 561 kb/s Datum codering : UTC 2022-03-08 14:05:11 Gebruikt programma : HandBrake 1.4.2 2021100300 Gebruikte encoderbibliotheek : Lavf58.76.100 ErrorDetectionType : Per level 1 Video ID : 1 Formaat : HEVC Formaat/Info : High Efficiency Video Coding Formaatprofiel : Main 10@L4.1@High Codec-ID : V_MPEGH/ISO/HEVC Duur : 45 min 34s Bitrate : 2 850 kb/s Breedte : 1 280 pixels Hoogte : 720 pixels Beeldverhouding : 16:9 Frameratemodus : Constant Framerate : 23,976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.129 Stroomgrootte : 929 MiB (80%) Gebruikte encoderbibliotheek : x265 3.5+1-f0c1022b6:[Windows][clang 12.0.0][64 bit] 10bit Instellingen codering : cpuid=1111039 / frame-threads=3 / numa-pools=8 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1280x720 / interlace=0 / total-frames=0 / level-idc=41 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / 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 / hist-scenecut=0 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / 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 / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=20.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=50000 / vbv-bufsize=50000 / vbv-init=0.9 / min-vbv-fullness=50.0 / max-vbv-fullness=80.0 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / 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=255 / sar-width / : / sar-height=540:539 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=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 / hist-threshold=0.03 / 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 Default : Ja Forced : Nee Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Formaat : E-AC-3 Formaat/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec-ID : A_EAC3 Duur : 45 min 35s Bitrate-modus : Constant Bitrate : 640 kb/s Kanaal(en) : 6 kanalen Channel layout : L R C LFE Ls Rs Samplerate : 48,0 kHz Framerate : 31,250 FPS (1536 SPF) Compression mode : Lossy Video vertraging : -5 ms Stroomgrootte : 209 MiB (18%) Titel : TrueHD 5.1 Taal : Engels Service kind : Complete Main Default : Ja Forced : Nee Tekst ID : 3 Formaat : PGS Codec-ID : S_HDMV/PGS Codec-ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duur : 45 min 32s Titel : Dutch Taal : Nederlands Default : Nee Forced : Nee Menu 00:00:00.000 : :00:00:00.000 00:15:46.946 : :00:15:46.946 00:22:27.304 : :00:22:27.304 00:28:16.320 : :00:28:16.320 00:33:00.353 : :00:33:00.353 00:44:58.362 : :00:44:58.362 |
H264
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
| Algemeen Formaat : Matroska Formaatversie : Version 4 Bestandsgrootte : 1,27 GiB Duur : 45 min 35s Totale bitrate : 3 978 kb/s Datum codering : UTC 2022-03-08 13:20:21 Gebruikt programma : HandBrake 1.4.2 2021100300 Gebruikte encoderbibliotheek : Lavf58.76.100 ErrorDetectionType : Per level 1 Video ID : 1 Formaat : AVC Formaat/Info : Advanced Video Codec Formaatprofiel : High 10@L4.1 Formaatinstellingen : CABAC / 5 Ref Frames Formaatinstellingen, CABAC : Ja Formaatinstellingen, RefFrames : 5 frames Codec-ID : V_MPEG4/ISO/AVC Duur : 45 min 34s Bitrate : 3 259 kb/s Breedte : 1 280 pixels Hoogte : 720 pixels Beeldverhouding : 16:9 Frameratemodus : Constant Framerate : 23,976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Scansoort : Progressief Bits/(Pixel*Frame) : 0.148 Stroomgrootte : 1,04 GiB (82%) Gebruikte encoderbibliotheek : x264 core 163 r3059 b684ebe0 Instellingen codering : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / vbv_maxrate=150000 / vbv_bufsize=187500 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00 Default : Ja Forced : Nee Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Formaat : E-AC-3 Formaat/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec-ID : A_EAC3 Duur : 45 min 35s Bitrate-modus : Constant Bitrate : 640 kb/s Kanaal(en) : 6 kanalen Channel layout : L R C LFE Ls Rs Samplerate : 48,0 kHz Framerate : 31,250 FPS (1536 SPF) Compression mode : Lossy Video vertraging : -5 ms Stroomgrootte : 209 MiB (16%) Titel : TrueHD 5.1 Taal : Engels Service kind : Complete Main Default : Ja Forced : Nee Tekst ID : 3 Formaat : PGS Codec-ID : S_HDMV/PGS Codec-ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duur : 45 min 32s Titel : Dutch Taal : Nederlands Default : Nee Forced : Nee Menu 00:00:00.000 : :00:00:00.000 00:15:46.946 : :00:15:46.946 00:22:27.304 : :00:22:27.304 00:28:16.320 : :00:28:16.320 00:33:00.353 : :00:33:00.353 00:44:58.362 : :00:44:58.362 |
Origineel: 6,46GB
Output is 1080P naar 720P
H265: 1,13GB - omzetten duurde bijna 3 uur.
H64: 1,13GB - omzetten duurde 45 minuten.
Kijk ik naar het aantal KB/s dan zie ik dat in H265 het bestand ongeveer 100MB kleiner is.
Ik heb nog niet het verschil in kwaliteit bekeken, maar zit mezelf wel af te vragen waarom ik dan alles naar H265 omzet. H264 werkt beter op veel apparaten. Voor mij is de afweging een goede kwaliteit in ee zo'n klein mogelijke bestandsgrootte.
Zijn anderen er wel eens tegenaan gelopen dat er soms geen groot verscil in bestandsgrootte zit?
Ik ga eens verder testen met een film.