tests/video: comments: specs only

This commit is contained in:
4DBug committed 2026-11-01 01:49:51 -05:00
1 parent 96602286f8
commit 1d4f02d984
14 files changed
+37 -109

No files matched your search

+2 -5
View File
@@ -1,7 +1,5 @@
-- video/mpegps tests: program streams from ffmpeg (MPEG-1 system stream, B-frames, MPEG-2 PS / VOB packs, a raw .m1v
-- elementary stream): tracks, picture packets (count and timestamps against ffmpeg's frames), frames against ffmpeg
-- (PSNR) once an MPEG-1 decoder is registered, audio through the api hook (SNR), seeking, fuzz. Fixtures:
-- tools/fixtures/mpegts.py.
-- video/mpegps tests: program streams from ffmpeg against ffmpeg's frames (timestamps, PSNR) and audio (SNR).
-- Fixtures: tools/fixtures/mpegts.py.
local T = require("@tests/T")
local C = require("@tests/video/_common")
local Ps = require("@rosetta/video/mpegps")
@@ -21,7 +19,6 @@ for _, c in Fx do
local vt = dmx:track("video")
t:check(vt ~= nil and vt.codec == "mpeg1", label .. ": an MPEG-1 video track")
t:eq(dmx:count(vt.id), #c.frames, label .. ": one packet per picture")
-- presentation times: one per frame slot
local seen, ok = {}, true
for k = 1, dmx:count(vt.id) do
local pts = dmx:info(vt.id, k)