You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elementary-stream extraction (P0) — parsers now decode the elementary
bitstream inside four containers, validated against the mediainfo oracle on
ffmpeg-generated samples:
MPEG-TS AVC/AAC — scans the PES accumulator for the first SPS/PPS/SEI
and feeds parse_avc_sps (profile/level/CABAC/ref-frames/dimensions/colour
x264 Encoded_Library_Settings); adds SDT-derived Menu service fields and
PCR/PTS-based duration/bitrate/delay. ts.ts: 59→93 matching, 0 spurious.
MKV/WebM VP9 — decodes the first keyframe's block payload via parse_vp9 when there's no CodecPrivate. vp9.mkv and vp9.webm are now byte-equal with the oracle.
FLV — the header-only parser is replaced by a full tag demuxer that
reads the AVC avcC→SPS and AAC AudioSpecificConfig, counts frames, and
derives per-stream timing. flv.flv: 21→72 matching.
YAML export (P1) — --yaml/-y; a YAML mirror of the JSON structure
(revelo-export::to_yaml).
HTML report (P1) — --html; a self-contained report (inline CSS, no
JavaScript) with summary cards and collapsible per-stream tables, theme-aware
(revelo-export::to_html).
Glob / batch processing (P1) — path arguments accept glob patterns
(revelo --json "**/*.mp4"). Multi-file JSON defaults to NDJSON (one compact
object per line); --json-array emits a single array; other formats
concatenate. Single-file output is byte-for-byte unchanged.
Fuzz / truncation sweep — a revelo-dispatcher test runs all 180 parsers
against truncated format signatures, 2000 random buffers, and degenerate
(all-zero / all-0xFF) inputs, asserting none panic.
Format_Settings_SBR is now emitted for AAC by the FLV path (from the
AudioSpecificConfig).
Fragmented MP4 (moof/trun) — movie-fragment sample runs are parsed
(mvex/trex defaults + tfhd/trun), aggregated per track_ID, and used to
populate Duration, FrameRate, FrameRate_Mode, FrameCount, and StreamSize for
tracks whose stbl is empty (empty_moov DASH/CMAF). frag.mp4 parity 71→83
matching lines; non-fragmented files are unaffected.
File-level fields for library callers.Metadata::from_bytes, from_file,
and from_file_owned now fill FileSize and, when duration is a positive
whole number of milliseconds, OverallBitRate.
Subtitle and chapter streams. Matroska track type 0x11 is Text.
MP4/MOV handlers text, subt, and sbtl are Text (tx3g/text → Timed
Text, stpp → TTML, wvtt → WebVTT). Matroska chapters and MP4 tref/chap
tracks, plus Nero chpl, are Menu. Image attachments are Image. meta/mebx
stays Other.
AC-3 bitstream info inside MPEG-TS and MPEG-PS via summarize_ac3
(channels, layout, sample rate, bitrate, dialnorm). Container parsers do not
call parse_ac3.
RealMedia, DV, and Dirac. RealMedia walks PROP/MDPR/CONT. DV DIF reports
720×480 at 29.970 when DSF is 0 and 720×576 at 25 when DSF is 1. A Dirac
sequence header fills width, height, frame rate, chroma, and scan type.
Cue counts. Elementary SubRip and WebVTT set Events_Total and Duration from a walk capped at 1 MiB. A non-SubRip file still peeks only
512 bytes.
C API report options.MediaInfo_Inform honors Output=XML, JSON,
and HTML. Count_Get returns a stream count or a field count.
Fixed
AV1 profile and level are separate fields. av1_level_name follows
Annex A.3 (index 19 is 6.3). Levels that are not signalled stay unset.
DisplayAspectRatio_String is filled from a known ratio, or copied from
an existing DisplayAspectRatio/String.
Matroska metadata. Stream duration is whole milliseconds. MuxingApp is Encoded_Library and WritingApp is Encoded_Application. LanguageBCP47
is preferred. Accessibility flags 0x55AB–0x55AF join into ServiceKind.
Statistics tags map to BitRate, StreamSize, Duration, and FrameCount.
A missing Channels element defaults to 1. Opus does not copy the container
bit depth.
MPEG-2 sequence extension. Extension id 1 is the sequence extension.
Bitrate code 0x3FFFF is VBR and does not emit BitRate.
Detection. VP8 accepts only a key frame. MPEG-TS stream type 0x24 is
HEVC. Language ger/deu is de. MPEG-PS private stream 1 is split by
substream id. MP4 audio FourCCs (ac-3, ec-3, alac, sowt, twos, in24, lpcm, ipcm, Opus, fLaC) and ProRes sample entries are typed. A_TRUEHD is TrueHD.
Computed fields no longer panic when a hostile file carries enormous
channel, rate, duration, or bitrate values. The compression-ratio and
overall-maximum sums saturate.
Channel layouts and durations. FLAC mono is M. Opus 6-channel layout is L R C LFE Ls Rs. WAV 5.1 uses that same layout. IVF duration comes from
the frame count. CAF alac is ALAC, with duration when the packet size is
known.
Changed
C string ownership.MediaInfo_Inform, MediaInfo_Get, and MediaInfo_Option return a pointer owned by the handle, valid until the
next call or MediaInfo_Delete. Callers must not free it. A missing Get
and an unknown option return an empty string.
Unrecognized files are reported as ADPCM. parse_rle is not in the
detection table. ADPCM, EIA-608, EIA-708, and VBI stay at the end of the
table.
Known gaps
Fragmented MP4 residuals — with moof/trun now parsed, the last gaps
are the x264 Encoded_Library SEI (needs an stco to locate samples in mdat, absent in fragmented files) and a few-bps bitrate-rounding difference.
FrameRate_Mode_Original for normalized-VFR sources — the signal is not
present in a uniform sample table; needs a real-world sample to derive safely.
MediaInfo catalog.Complete=1 display strings, Info_Parameters, the
rest of the C exports (wchar, buffer, and list), button tracks, unfamiliar
MP4 FourCCs, and MP3/FLAC General Title are still absent. DV duration is not
derived from the DIF frame count. MPEG-TS video duration is the first-to-last
PTS span. Subtitle Events_Total covers the first 1 MiB.