forge
Explore
Log in

Don't you dare go Hollow

vp9refsetup: drop the unreproducible ffmpeg SIGSEGV sentence

Browse files at this commit

e6a3f0cf931cbbe2bae981fabf849bc132c998cfAhmet Kaan GümüşParent: 1426489
The reviewer cannot reproduce the "scale=...:eval=frame exits 139 with a
0-byte file" claim; the builder can. Environment-dependent, so it does not
belong in load-bearing docs. Keep only the verified fact: ffmpeg's rawvideo
output size is locked to the first decoded frame, hence the two-pass dump
recipe (frame 0 alone with -frames:v 1, frames 2..N with select=gte(n,1)).
crates/ec-vp9/tests/scaledref_exact.rsmodified+1 -2
@@ -10,8 +10,7 @@
1010 //! The fixtures are committed under `tests/data/` because no ffmpeg
1111 //! invocation can produce a size change: libvpx's encoder emits one only
1212 //! through its rate-control resize path (ffmpeg exposes neither
13-//! `rc_resize_allowed` nor SVC; its `scale=...:eval=frame` route exits 139
14-//! with a 0-byte file), and a hand-spliced explicit-size inter frame trips
13+//! `rc_resize_allowed` nor SVC), and a hand-spliced explicit-size inter frame trips
1514 //! libvpx's own header reparsing. The generator is recorded in
1615 //! `lanes/vp9refsetup.report.md`: a 1280x720 one-pass CBR encode at 200 kbps,
1716 //! whose `vp9_resize_one_pass_cbr` downscales frame 1 to 640x360 against the
lanes/vp9refsetup.report.mdmodified+3 -4
@@ -64,10 +64,9 @@ None of these can be produced by an ffmpeg invocation:
6464 byte (`cmp` verified). 11 frames: keyframe, hidden intra-only twin, 9 inter.
6565 * **size change**: libvpx's encoder resizes only through rate control
6666 (`vp9_resize_one_pass_cbr`, `vp9_ratectrl.c:2728`); ffmpeg exposes neither
67- `rc_resize_allowed` nor SVC. Its `scale=...:eval=frame` route into ivf/webm
68- exits 139 with a 0-byte file (ffmpeg 8.1.2), and independently ffmpeg's
69- rawvideo/muxer output size is locked to the first decoded frame (see the
70- oracle caveat), so it cannot express the change either way. Generated by
67+ `rc_resize_allowed` nor SVC, and ffmpeg's rawvideo output size is locked to
68+ the first decoded frame (see the oracle caveat), so a two-size stream cannot
69+ be dumped in one pass. Generated by
7170 `lanes/vp9refsetup/gen_scaledref.c` (links the pristine libvpx 1.15.0
7271 encoder):
7372 ```