tests/video: comments: specs only
This commit is contained in:
1 parent
96602286f8
commit
1d4f02d984
14 files changed
+37
-109
No files matched your search
@@ -1,7 +1,5 @@
|
||||
-- MPEG-2 video in the containers (tools/fixtures/mpeg2.py, "mpeg2_containers"): the same elementary stream copied by
|
||||
-- ffmpeg into MPEG-TS (stream type 0x02, and the PMT patched to 0x80, private / DigiCipher II video), MPEG-PS (VOB),
|
||||
-- Matroska (V_MPEG2) and AVI: each opens through F.video.open with codec "mpeg2", its frames equal ffmpeg's
|
||||
-- `-idct int` decode (luma CRC per frame, display order), seeking lands on a frame; the raw .m2v opens too.
|
||||
-- MPEG-2 video in MPEG-TS (stream types 0x02, 0x80), MPEG-PS, Matroska and AVI against ffmpeg's `-idct int` decode.
|
||||
-- Fixtures: tools/fixtures/mpeg2.py (mpeg2_containers).
|
||||
local T = require("@tests/T")
|
||||
local F = require("@rosetta")
|
||||
local Base64 = require("@rosetta/core/Base64")
|
||||
@@ -54,7 +52,6 @@ for _, c in CASES do
|
||||
end
|
||||
end
|
||||
|
||||
-- the elementary stream itself
|
||||
do
|
||||
local v, err = F.video.open(Base64.decode(Prog.file) :: buffer)
|
||||
t:check(v ~= nil and v.codec == "mpeg2", "m2v: opens as mpeg2: " .. tostring(err))
|
||||
|
||||
Reference in new issue
Block a user