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

+3 -7
View File
@@ -1,7 +1,5 @@
-- video/mp4 tests: MP4 / MOV files from ffmpeg (MJPEG + AAC / PCM / FLAC / MP2, H.264 with B-frames and edit lists +
-- AAC, fragmented MP4, MPEG-1 + Opus): tracks and every packet against ffprobe (pts moved by the edit lists, as ffmpeg),
-- frames against ffmpeg (PSNR), audio through the api hook (AAC priming dropped), seeking, our MP4 / MOV writer read
-- back, the H.264 yield hook and maxSide, fuzz. Fixtures: tools/fixtures/mp4.py.
-- video/mp4 tests: MP4 / MOV files from ffmpeg against ffprobe (pts moved by edit lists, as ffmpeg) and ffmpeg.
-- Fixtures: tools/fixtures/mp4.py.
local T = require("@tests/T")
local C = require("@tests/video/_common")
local F = require("@rosetta")
@@ -36,7 +34,6 @@ for _, c in Fx do
end
end
-- our writer: MP4 (MJPEG + AAC copied) and MOV (MJPEG + PCM) read back packet for packet
for _, job in { { "mjpeg_aac.mp4", "mp4" }, { "mjpeg_pcm.mov", "mov" }, { "h264_aac.mp4", "mp4" } } do
local src = byName[job[1]]
local v = C.open(src.data)
@@ -76,8 +73,7 @@ for _, job in { { "mjpeg_aac.mp4", "mp4" }, { "mjpeg_pcm.mov", "mov" }, { "h264_
end
end
-- H.264 with the cooperative yield hook (decoding inside a coroutine that yields at every hook call: the same pictures)
-- and maxSide (frames shrunk to the longer side, aspect kept)
-- the yield hook (decoding in a coroutine that yields at every hook call) gives the same pictures
do
local Crc32 = require("@rosetta/core/Crc32")
local data = byName["h264_aac.mp4"].data