edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | #!/usr/bin/env bash |
| 2 | # hevc-intra-bd.sh: intra-only (keyint=1) BD-rate of ec-h265 against x265 intra on the three |
| 3 | # clips the ec-h265 encode gate names. Thin wrapper over scripts/hevc-bdrate.sh with GOP 1. |
| 4 | # Clips are generated with ffmpeg lavfi (no copyrighted media) into $DATA. |
| 5 | # |
| 6 | # The x265 anchor uses -tune psnr by default (see hevc-bdrate.sh). Set X265_TUNE= for x265's |
| 7 | # default tuning. Each tuning writes its own point files under $DATA/tune-<name>/. |
| 8 | # |
| 9 | # Usage: scripts/hevc-intra-bd.sh <clip-name|all> [QPS] |
| 10 | # clip-name: testsrc2-352x288 | testsrc2-1280x720 | natural-1280x720 | all |
| 11 | # Environment: DATA (default $HOME/.cache/hevcintra-data). |
| 12 | |
| 13 | here= |
| 14 | which= |
| 15 | qps= |
| 16 | data= |
| 17 | |
| 18 | frames=30 |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | # "natural": a moving mandelbrot zoom blended with testsrc2 and film-like noise (the |
| 25 | # gen-hevcperf-fixtures.sh moving clip), so it has texture rather than flat synthetic edges. |
| 26 | [ || |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | for; do |
| 32 | |
| 33 | [ || [ || continue |
| 34 | DATA="/tune-" |
| 35 | |
| 36 | done |