E4: prove dei video fermi e dimostrazione a ogni ora
Completa l'elenco di prove del progetto: analizzatore (grana, luce che pulsa, foto notturna, contenitori, durata sconosciuta, flussi rovinati), servizio (lavori lunghi, file spariti o cambiati, errori, «Interrompi», chiusura), copie del fotogramma (pausa e ripresa, validazione, video sempre intero), API (selezioni, stesso file, eventi) e l'interfaccia vera nel browser: visualizzatore, «Salva il fotogramma», «Cerca i video fermi», Dashboard e filtro «Video fermi». Le prove hanno trovato che la dimostrazione dipendeva dall'ora: la storia ferma poteva avere la copertina del video fermo di marta (un file solo invece di due) e il video «Non analizzabile» poteva mancare. Ora la storia è su un'altra immagine e, se le immagini senza copie non bastano, si usano quelle di foto copiate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
eea4394a0f
commit
066addbc84
10 files changed
+1100
-18
No files matched your search
@@ -48,6 +48,7 @@ public sealed class ExportFrameNamesTests
|
||||
Assert.AreEqual("_t1m05s000", ExportFrames.Suffix(FrameMode.Every, TimeSpan.FromSeconds(65), 3, 9));
|
||||
Assert.AreEqual("_f001", ExportFrames.Suffix(FrameMode.Count, actual, 0, 12));
|
||||
Assert.AreEqual("_f0042", ExportFrames.Suffix(FrameMode.Count, actual, 41, 1000));
|
||||
Assert.AreEqual("_fotogramma", ExportFrames.Suffix(FrameMode.Still, actual, 0, 1), "the same whatever the instant (tappa E4)");
|
||||
Assert.AreEqual("0:01", ExportFrames.Label(TimeSpan.FromSeconds(1)));
|
||||
Assert.AreEqual("0:01,25", ExportFrames.Label(TimeSpan.FromMilliseconds(1250)));
|
||||
Assert.AreEqual("2:03,007", ExportFrames.Label(TimeSpan.FromMilliseconds(123_007)));
|
||||
@@ -69,6 +70,8 @@ public sealed class ExportFrameNamesTests
|
||||
|
||||
var numbered = ExportPaths.NumberedName(root, "post/" + name, 2, keepSuffix: "_t0m12s340");
|
||||
Assert.EndsWith("_t0m12s340 (2).png", numbered);
|
||||
Assert.AreEqual("post/a_fotogramma (2).png", ExportPaths.NumberedName("/d", "post/a_fotogramma.png", 2, keepSuffix: ExportFrames.SingleSuffix));
|
||||
Assert.EndsWith("_fotogramma.png", WindowsFileNames.FitPath(root, ["post", new string('n', 200) + "_fotogramma.png"], keepSuffix: ExportFrames.SingleSuffix)[^1]);
|
||||
Assert.AreEqual("post/a_f001 (3).png", ExportPaths.NumberedName("/d", "post/a_f001.png", 3, keepSuffix: "_f001"));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user