ternava / x264

x264 Git mirror
GNU General Public License v2.0
0 stars 0 forks source link

measuring the effect of removed options in videos #11

Open ternava opened 3 years ago

ternava commented 3 years ago

The effect of removing option --trellis #4 in five random videos

--trellis included (1) or removed (0)

--trellis included and --preset="medium" (default preset with --trellis=1)

video 1: -------------------------------------- (to measure again) video 2: -------------------------------------- (to measure again) video 3: --- 9,4 MB (9 402 468 bytes) video 4: --- 84,4 MB (84 420 320 bytes) video 5: --- 17,7 MB (17 686 851 bytes)

--trellis removed and --preset="medium" (default preset with --trellis=1, which is removed)

video 1: --- 2,7 MB (2 654 652 bytes) video 2: --- 23,6 MB (23 598 368 bytes)
video 3: --- 9,2 MB (9 196 118 bytes) video 4: --- 78,3 MB (78 250 931 bytes) video 5: --- 17,1 MB (17 093 065 bytes)

--trellis included and --preset="veryfast" (preset with --trellis=0)

video 1: --- 3,6 MB (3 638 612 bytes) video 2: --- 25,9 MB (25 857 570 bytes) video 3: --- 9,1 MB (9 095 964 bytes) video 4: --- 78,8 MB (78 828 728 bytes) video 5: --- 17,3 MB (17 250 395 bytes)

--trellis removed and --preset="veryfast" (preset with --trellis=0, which is removed)

video 1: --- 3,6 MB (3 645 910 bytes) video 2: --- 25,9 MB (25 906 911 bytes) video 3: --- 9,2 MB (9 153 657 bytes) video 4: --- 79,8 MB (79 849 357 bytes) video 5: --- 17,6 MB (17 583 073 bytes)

--trellis included and --preset="slow" (preset with --trellis=2)

video 1: --- 2,5 MB (2 525 308 bytes) video 2: --- 18,3 MB (18 282 849 bytes) video 3: --- 9,2 MB (9 174 294 bytes) video 4: --- 82,5 MB (82 521 875 bytes) video 5: --- 17,1 MB (17 109 772 bytes)

--trellis removed and --preset="slow" (preset with --trellis=2, which is removed)

video 1: --- 2,6 MB (2 556 914 bytes) video 2: --- 18,7 MB (18 718 138 bytes) video 3: --- 9,1 MB (9 083 536 bytes) video 4: --- 77,9 MB (77 922 946 bytes) video 5: --- 16,9 MB (16 948 394 bytes)

@acherm, by considering or removing the option of --trellis there is a clear effect on the size of each video (I recorded some other details too, but I need to compare them).

FAMILIAR-project commented 3 years ago

Thanks, interesting!

Have you got a script that automatically computes such data/report?

"veryfast" internally uses --trellis=0. At first glance, the meaning could well be that trellis related stuff is never used (assuming that the value "0" actually means nothing happen). So removing trellis may have the same effect/behavior.

But your results show that the videos' sizes are actually different, suggesting that your removal of trellis has actually more effects than "just" forcing the value 0. Can you explain why?

For other results, I'm less surprised since trellis values are either 1 or 2 (not 0).