edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiBa31973fTahinli7 days ago3925 commits
| 1 | #!/usr/bin/env bash |
| 2 | # vp9-bench.sh: ec-vp9 decode throughput sweep. Run on a server through remote-run.sh. |
| 3 | # |
| 4 | # Usage: scripts/vp9-bench.sh [clip.ivf ...] |
| 5 | # Builds the decode_ivf example in release, then decodes each clip at 1, 2 and 4 tile |
| 6 | # threads. With no arguments it uses tile1080.ivf (fixtures/vp9-bench) and a libvpx-encoded |
| 7 | # 1080p30 testsrc2 clip with 4 tile columns, encoded here with ffmpeg. |
| 8 | # Prints one line per run: clip threads fps digest. |
| 9 | |
| 10 | |
| 11 | | |
| 12 | bin=/target/release/examples/decode_ivf |
| 13 | [ || bin=/release/examples/decode_ivf |
| 14 | tmp=/vp9bench |
| 15 | |
| 16 | clips=("") |
| 17 | if [; then |
| 18 | clips=("/fixtures/vp9-bench/tile1080.ivf") |
| 19 | if [; then |
| 20 | |
| 21 | |
| 22 | |
| 23 | fi |
| 24 | clips+=("/tile4-1080p30.ivf") |
| 25 | fi |
| 26 | for; do |
| 27 | for; do |
| 28 | line= |
| 29 | |
| 30 | done |
| 31 | done |