Commits
Commits on
04c5f323eafd9b7e6949b5e876e35c144b5d1d8aToday
B2: regression for PPS pic_init_qp_minus26 range checkAhmet Kaan Gümüş · 92a771d
B2: regression for PPS pic_init_qp_minus26 range check Input RBSP [CE 01 A4] encodes pic_init_qp_minus26 = 26 (out of -62..=25) and must be refused as Corrupt. Evidence: spec 7.4.2.2 range; the check was added in fbcc820d.
B1: ec-probe input bugs (AAC AVI sample count, Xing underflow, Ogg comment offset, window/underflow saturation, FLAC block scan bound and length clamp, WAV A/mu-law block_align 0, duration sample_rate 0 panic, TRCK first-wins)Ahmet Kaan Gümüş · ede1525
B1: ec-probe input bugs (AAC AVI sample count, Xing underflow, Ogg comment offset, window/underflow saturation, FLAC block scan bound and length clamp, WAV A/mu-law block_align 0, duration sample_rate 0 panic, TRCK first-wins) AVI AAC counted raw_blocks+1 blocks per frame; raw_blocks already holds the count, so it now uses adts_samples (1024 * raw_blocks), matching the ADTS path. AAC-in-AVI pts/dur only changes (halved). Other fixes only change behaviour on malformed or edge inputs (no panic/underflow) and are not golden-visible on valid fixtures.
B2: ec-h264-syntax range-check pic_init_qp/qs_minus26, saturating slice_qsAhmet Kaan Gümüş · fbcc820
B2: ec-h264-syntax range-check pic_init_qp/qs_minus26, saturating slice_qs pic_init_qp_minus26 must lie in [-(26+QpBdOffsetY), 25] (max QpBdOffsetY 36 for 14-bit) and pic_init_qs_minus26 in [-26, 25] (spec 7.4.2.2); out of range is Corrupt. slice_qs = pic_init_qs + slice_qs_delta now saturates instead of overflowing. Valid streams unchanged.
B2: ec-h264-syntax AnnexBIter::next loops instead of recursing on empty NAL spansAhmet Kaan Gümüş · c63953f
B2: ec-h264-syntax AnnexBIter::next loops instead of recursing on empty NAL spans Repeated 00 00 01 made one recursive call per empty NAL (~350k frames for 1 MB), overflowing the stack. Regression test added in tests/fuzz_regressions.rs. Output unchanged for all non-empty NAL units.
B3: ec-h264 length-prefixed packets: push slices without to_vec, reject trailing bytes shorter than the NAL length field as CorruptAhmet Kaan Gümüş · 8e80cd7
B3: ec-h264 length-prefixed packets: push slices without to_vec, reject trailing bytes shorter than the NAL length field as Corrupt Evidence: trailing 1-3 bytes after the last NAL unit were silently ignored. Not verified against ffmpeg for this exact case. Well-formed streams are unaffected; the to_vec removal does not change bytes.
tools/golden audio: opus_demo vectors, E-AC-3 dependent substreams grouped per packetAhmet Kaan Gümüş · acead95Browse files
ec-hw golden_hw: 416x240 / 418x242 (VA HEVC/AV1 encode minimum width is 384 on this GPU)Ahmet Kaan Gümüş · 787f323Browse files
ec-hw golden_hw: add VA-direct decode pass over the same 8 fixtures; zero-pad frame indices to 4 digitsAhmet Kaan Gümüş · 79e4a4fBrowse files
ec-hw golden_hw: CQP enc H.264/HEVC/AV1 on Vk+VA, i420/i420_16/rgba/bgra, encode+submit; H.264 CBR sizes; decode h264/hevc/vp9/av1 fixturesAhmet Kaan Gümüş · 74a46ceBrowse files
tools/golden video: av1/h264/h265/vp8/vp9/mpeg2/mpeg4/h263 elementary + mp4/mov/mkv/avi/dv registry decode, recursive fixture discovery, per-frame plane hashesAhmet Kaan Gümüş · 7c94faaBrowse files
tools/golden encode_video: h264 (preset x cabac x 8x8 x qp/bitrate x threads), h265 (preset x 8/10-bit x keyint x threads x ctb x HDR SEI), av1 (key/flat/pyramid3/4 x rate x tiles x natural/screen x 176x144 and odd 151x91, speeds 0..10 on natural and screen+tiles), prores (profiles x format x qscale x threads x alpha)Ahmet Kaan Gümüş · 5c78ba9Browse files
tools/golden video: av1/h264/h265/vp8/vp9/mpeg2/mpeg4 elementary + mp4/mkv registry decode, per-frame plane hashesAhmet Kaan Gümüş · 7a5eb82Browse files
tools/golden mux: per-stream packet cap so every stream gets packetsAhmet Kaan Gümüş · 44d0d6dBrowse files
tools/golden encode_video: h264 (preset x cabac x 8x8 x qp/bitrate x threads), h265 (preset x 8/10-bit x keyint x threads x ctb x HDR SEI), av1 (key/flat/pyramid3/4 x rate x tiles x natural/screen x size, speeds 0..10), prores (profiles x format x qscale x threads x alpha)Ahmet Kaan Gümüş · 373920cBrowse files
tools/golden audio: drop stderr note for absent dirs (stdout only via helpers)Ahmet Kaan Gümüş · d27c5d9Browse files
tools/golden mux: matroska/webm muxed into memory, no temp fileAhmet Kaan Gümüş · 6d35a9cBrowse files
tools/golden encode_audio: aac, mp3 cbr/vbr, opus single+multistream, vorbis, flac 0..8 x 8/16/24, alac, ac3, truehd on seeded synthetic PCMAhmet Kaan Gümüş · 3e447b6Browse files
tools/golden audio: probe decoders (aac mp3 opus vorbis flac alac amr pcm-ext), raw ac3/eac3 x3 downmix, dts, truehdAhmet Kaan Gümüş · fd19d1cBrowse files
tools/golden mux: ec-mp4 (plain, faststart, chapters), ec-matroska, webm, ec-ogg, ec-riff wav and rf64 remux hashesAhmet Kaan Gümüş · 6b48a97Browse files
tools/golden subs: ec-subs srt/vtt/ass cues, pgs, dvd (mkv/vob/mp4/idx+sub), dvb (mkv/ts) bitmaps, cc608/708 from mpeg2Ahmet Kaan Gümüş · b226b67Browse files
tools/golden demux: container demuxers and ec-probe Reader packet dump (mp4, mkv, ts, ps, ogg, avi, wav)Ahmet Kaan Gümüş · c7cb20bBrowse files
tools/golden image: still/fixture decode (pixels, rgba8, info, meta), png/gif encoders + round tripAhmet Kaan Gümüş · c12a7ceBrowse files
tools/golden: guard() turns a panicking case into a PANIC lineAhmet Kaan Gümüş · 5b64ff0Browse files
tools/golden: skeleton (case<TAB>sha256 per frame/packet, one module per domain)Ahmet Kaan Gümüş · 8f74573Browse files
rust-toolchain.toml: stable with clippy and rustfmt, same on every hostAhmet Kaan Gümüş · 5357ed1Browse files
ec-av1 stream pins re-taken on Sintel 20 s (old pins were on private media; q=150 value identical on Ryzen AVX-512 and EPYC AVX2)Ahmet Kaan Gümüş · 71a6ed4Browse files
ec-mp4 QuickTime PCM over 2 channels: sound description version 2 is an lpcm entry, and ends with a constant 24 after frames-per-packet. Pinned ffmpeg 9.0.2 writes lpcm for 3/6/8 channels at s24le/s24be/s32be/f32le, with 0x18 in that last field every time; ours wrote in24 and 36 bytes, so the qt_pcm_hdr 5.1 cases failedAhmet Kaan Gümüş · 156237aBrowse files
Cargo.lock: ec-testkit dev-dependency for the oxideav-ac3 and symphonia shimsAhmet Kaan Gümüş · 764fa64Browse files
Shim tests read deterministic fixtures through ec_testkit::fixture (no silent skip, no gen-fixtures.sh); opus-rs look-ahead expectations follow libopus OPUS_GET_LOOKAHEAD = Fs/400 + Fs/250 per input rate (312 at 48 kHz, 52/78/104/156 at 8/12/16/24 kHz, all 312 at 48 kHz on the pinned ffmpeg 9.0.2 libopus, which encodes at 48 kHz)Ahmet Kaan Gümüş · f9a6172Browse files
FLAC framing: frame end is the first sync whose preceding frame passes its footer CRC-16, not the first header-plausible syncAhmet Kaan Gümüş · 65e0b1a
FLAC framing: frame end is the first sync whose preceding frame passes its footer CRC-16, not the first header-plausible sync flac-5.1-44100.flac (pinned ffmpeg 9.0.2, sha256 matches fixtures.sha256): packet 7 is at byte 45447, 5908 bytes. A sync-like header at byte 47501 inside the audio passes header CRC-8, so the probe cut the packet there and the subframe decode ran out of data (need more data). ffprobe lists the packet as 5908 bytes; the footer CRC-16 over [45447,51353) equals the stated 53762 at 51355 and does not match at 47501. Falls back to the first plausible sync when no candidate verifies, so damaged streams behave as before
ec-av1 encoder tests: Sintel readers seek 20 s (h264_clip_frames, rav1e bench) instead of 0 sAhmet Kaan Gümüş · bb947d2
ec-av1 encoder tests: Sintel readers seek 20 s (h264_clip_frames, rav1e bench) instead of 0 s Sintel trailer frames 0..1 s are pure black (ffmpeg 9.0.2 signalstats YAVG=0 at 0 s, YAVG 44 at 20 s), so the rate-control gates were fed degenerate content (22 bytes/frame). Same seek as the pin test in encode/more_tests.rs. Pins untouched; re-pin after run.