E4: video fermi nella dimostrazione
La dimostrazione ha ora due video fermi veri: il video più recente di @marta.demo e la storia video più recente di un altro account sono la loro copertina ferma per 2 secondi dopo una breve dissolvenza dal nero (H264PcmWriter.DemoStillVideo e FromRgba, scritti in casa). Ognuno ha il suo file, registrato con la sua impronta vera, e un'analisi «Fermo» data dall'analizzatore vero: così il filtro «Video fermi», «Salva il fotogramma» con «Scarica» e «Nella cartella delle copie» (dal motore vero) funzionano. Il video dopo di @marta.demo è «In movimento», quello dopo ancora «Non analizzabile» (troppo lento); gli altri non sono mai analizzati, così «È un video fermo?» e «Cerca i video fermi» lavorano davvero. Nella sola dimostrazione il servizio non controlla l'impronta prima di analizzare (VerifySource), perché gli altri video condividono un file che si muove. Prove in DemoStillVideoTests; riga in LEGGIMI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
78502e9c14
commit
5eec9cc22a
8 files changed
+517
-3
No files matched your search
@@ -68,11 +68,18 @@ public sealed class DemoWorld
|
||||
public IReadOnlyList<string> StoryPictures { get; init; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// The demo's one video file (H.264, 2 s, tappa E3), served for every video of the demo so that «Fotogramma» works.
|
||||
/// Its bytes are not those recorded for the videos (they share the SHA-256 of their cover picture).
|
||||
/// The demo's one moving video file (H.264, 2 s, tappa E3), served for every video of the demo that is not in
|
||||
/// <see cref="StillVideoFiles"/>, so that «Fotogramma» works. Its bytes are not those recorded for the videos (they
|
||||
/// share the SHA-256 of their cover picture).
|
||||
/// </summary>
|
||||
public string? VideoFile { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The still videos of the demo (tappa E4), by SHA-256: each is its cover picture alone for two seconds, and its
|
||||
/// videos are recorded with that file's own SHA-256 (written by <see cref="DemoStillVideos"/>).
|
||||
/// </summary>
|
||||
public ConcurrentDictionary<string, string> StillVideoFiles { get; } = new(StringComparer.Ordinal);
|
||||
|
||||
/// <summary>The files of the seeded conversions of the library, by row id (written by <see cref="DemoExport"/>).</summary>
|
||||
public ConcurrentDictionary<long, string> ConversionFiles { get; } = new();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user