ec-av1 encoder tests: Sintel readers seek 20 s (h264_clip_frames, rav1e bench) instead of 0 s
Browse files at this commitbb947d2c0f904927ad6ca5e7b3f0bb80ab25b682Parent: 0a54b851 changed file +2 -2
crates/ec-av1/src/encoder/tests.rsmodified+2 -2
| @@ -694,7 +694,7 @@ | ||
| 694 | 694 | // therefore `return` on `None` WITHOUT printing a second one -- the |
| 695 | 695 | // second "no fixture" line per gate was the noise that hid this defect. |
| 696 | 696 | let out = ec_testkit::ffmpeg() |
| 697 | - .args(["-v", "error", "-i", clip.to_str().unwrap()]) | |
| 697 | + .args(["-v", "error", "-ss", "20", "-i", clip.to_str().unwrap()]) | |
| 698 | 698 | .args(["-frames:v", &frames.to_string()]) |
| 699 | 699 | .args(["-vf", &format!("scale={width}:{height}")]) |
| 700 | 700 | .args(["-f", "rawvideo", "-pix_fmt", "yuv420p", "-"]).output() |
| @@ -3531,7 +3531,7 @@ | ||
| 3531 | 3531 | ); |
| 3532 | 3532 | let start = std::time::Instant::now(); |
| 3533 | 3533 | let status = ec_testkit::ffmpeg() |
| 3534 | - .args(["-v", "error", "-y", "-i", clip.to_str().unwrap()]) | |
| 3534 | + .args(["-v", "error", "-y", "-ss", "20", "-i", clip.to_str().unwrap()]) | |
| 3535 | 3535 | .args(["-frames:v", &frames.to_string()]) |
| 3536 | 3536 | .args(["-vf", &format!("scale={width}:{height}")]) |
| 3537 | 3537 | .args(["-c:v", "librav1e", "-rav1e-params", ¶ms]) |