post(tutorials): does re-encoding to HEVC actually shrink your files? I measured it (EN+ZH) + og/banner
Deploy / build (push) Successful in 19s
Deploy / build (push) Successful in 19s
Measured on real files with quality held fixed (SSIM vs the source, harness self-tested at 1.0000): hevc_nvenc cq27 produced 115% and 119% of the source video bitrate on two of three files while cq30/31 landed 51-84%; libx265 crf26 landed 33.7/56.7/67.0% at min SSIM 0.988-0.993, i.e. 10-22% smaller than NVENC at matched quality. Two sources with identical bpp (0.0437) shrank 49% vs 17%, so bpp classifies files but does not predict the ratio. Notes the audio floor (a 33.7% video stream still yields a 53% file because AAC dominates what is left) and why VP9/AV1 sources have no headroom (copy the video).
This commit is contained in:
@@ -361,6 +361,12 @@ TERMINALS['it-reported-success-nothing-had-changed'] = `
|
||||
<div class="line"><span class="prompt">$</span><span class="cmd">read-back hash -> mismatch</span></div>
|
||||
<div class="line"><span class="prompt"> </span><span class="cmd">re-upload -> hash match</span><span class="fix">-> verified</span></div>`;
|
||||
|
||||
TERMINALS['does-hevc-actually-shrink-your-files'] = `
|
||||
<div class="line"><span class="prompt">$</span><span class="cmd">hevc_nvenc -cq 27 -> 115% of source bitrate</span></div>
|
||||
<div class="line"><span class="prompt"> </span><span class="err">the "high quality" default made it BIGGER</span></div>
|
||||
<div class="line"><span class="prompt">$</span><span class="cmd">libx265 -crf 26 -> 56.7%</span></div>
|
||||
<div class="line"><span class="prompt"> </span><span class="cmd">min SSIM 0.988 · 22% smaller than NVENC</span><span class="fix">-> measured</span></div>`;
|
||||
|
||||
// ---------- read frontmatter ----------
|
||||
const postPath = join(ROOT, 'src', 'content', 'posts', `${slug}.md`);
|
||||
if (!existsSync(postPath)) {
|
||||
|
||||
Reference in New Issue
Block a user