Skip to content
Novus Examples
mpg116 KB

Codec — MPEG-2

The shared pan-city base plate encoded with MPEG-2 (mpeg2video). The DVD and broadcast codec. Intra-heavy and inefficient by modern standards, but it is the format broadcast and archive workflows are still built around. Every clip in this group carries the identical picture, so a decoder-support matrix built from them isolates the codec as the only variable.

Rendered preview of Codec — MPEG-2

Rendered preview of the mpg file (116 KB). Download above for the original.

Specifications

Resolution
480x270
Fps
24
Duration
1s
Frames
24
Codec
MPEG-2 (mpeg2video)
Container
MPG
Audio
none
Source
pan-city base plate

Testing contract

Expected to pass
Scenario
Probe the file and decode it, then compare the decoded frames against another member of this codec matrix.
Expected result
24 frames of 480x270 at 24 fps (1s) decode as MPEG-2 (mpeg2video) in a MPG container, with no audio track. Every clip in this matrix is the same pan-city base plate, so a decoder that produces a different picture here than for the H.264 member has a codec bug rather than a source difference.

What is a .mpg file?

MPG (.mpg/.mpeg) is an MPEG-1/MPEG-2 program-stream container, the format of Video CDs and early digital video, multiplexing MPEG video and MP2 audio into a single stream. It is a classic legacy interchange format.

How to use this file

Use an example .mpg clip to test program-stream demuxers, legacy players, and MPG-to-MP4 transcoding.

How to use this file for testing

“Codec — MPEG-2” is a deterministic Novus Examples fixture for Video codecs, Conversion testing, Video QA. One source encoded as H.264, HEVC, AV1, VP9, MJPEG, and a ProRes-compatible mezzanine, across 8/10/12-bit and 4:2:0/4:2:2/4:4:4, for testing decoder support, transcode pipelines, and container remuxing.

Documented properties for this file: 1s · 24 fps. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

Media fixtures are short and synthetic by design. Prefer waveform or transcript ground truth in the same group when measuring ASR, trim, upscale, or sync tools; do not assume broadcast-quality masters.

Generated by generation/video_codecs_wave.py. Free for any use, no attribution required, license.