edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB4da3bdfTahinli14 days ago3922 commits
| 1 | #!/usr/bin/env bash |
| 2 | # bench-rows-clips.sh: generate the ffmpeg clips used by scripts/bench-rows.sh. |
| 3 | # Clips go to $BENCH_CLIPS (default ~/.cache/benchrows-clips), never into the repo. |
| 4 | # The h264 input is the personal 1080p30 clip that ec-bench's real_video() picks first |
| 5 | # (first h264 mp4 in ~/Videos or ~/Downloads, sorted by path); it is only read, never copied. |
| 6 | |
| 7 | d= |
| 8 | h264_src= |
| 9 | |
| 10 | |
| 11 | |
| 12 | # VP8 1080p30, libvpx, 10 s, 4 Mb/s, realtime deadline. |
| 13 | [ || |
| 14 | |
| 15 | |
| 16 | # VP9 profile 0 1080p30, libvpx-vp9, 10 s, 4 tile columns (threads have work to split). |
| 17 | [ || |
| 18 | |
| 19 | |
| 20 | |
| 21 | # AC-3 5.1 at 448 kb/s, 60 s: six independent pink-noise channels, one per 5.1 speaker |
| 22 | # (a mono source upmixed would fill only the centre channel and make the parity test vacuous). |
| 23 | ac3_in=() |
| 24 | for; do |
| 25 | ac3_in+=(-f lavfi -i "anoisesrc=d=60:c=pink:r=48000:a=0.2:seed=") |
| 26 | done |
| 27 | [ || |
| 28 | |
| 29 | |
| 30 | |
| 31 | # H264 Annex-B, first 10 s of the h264 input, stream copy (same extraction as ec-bench). |
| 32 | [ || |
| 33 | |
| 34 | |
| 35 | # ffmpeg reference outputs (raw, the decoded samples the crates must match). |
| 36 | [ || |
| 37 | | | |
| 38 | [ || |
| 39 | | | |
| 40 | [ || |
| 41 | |
| 42 |