fix(imaging): record decode tiers per frame and keep undecodable frames out of renders
BRIEF §8.2 tiers 2 and 3 had no writer: PreviewOnly and Undecodable were never set, so the advisor could not cap the output at the preview size and one unreadable frame failed a whole render. - ImageDecoder.Probe names a file's tier without decoding it (JPEG, PNG and TIFF without opening the file); the light analysis probes frames whose tier is unknown, and the deep analysis, renders from originals and thumbnail/proxy passes record what decoding actually found (FrameTiers). Sidecar frames gain "tier", "previewW" and "previewH"; the index gains frames.preview_width/height and sequences.preview_only_count (migration 0005, SQLite and PostgreSQL). - SequenceContext takes the preview size from preview-only frames, so the advisor's output cap applies; the light analysis reports format tiers (preview-only frames as information, undecodable ones as a warning under the deep analysis' key, listed once); a sequence that gains undecodable frames warns at once. - Only a file in a format the host decodes natively is flagged undecodable; files beyond the host's decoders keep their tier without the flag, so render nodes and proxies can still supply them. - A frame that stops decoding during a render is replaced by its nearest planned neighbour and logged instead of failing the job; the render fails only when no planned frame decodes. - The Library card shows a preview-only chip with the count (local and server sequences: SequenceDto.PreviewOnlyCount, FrameDto preview size). - GoPro GPR decodes through the JPEG the camera writes beside it when that is larger than the embedded preview (BRIEF §8.1). - Thumbnails use a stored embedded preview only when it reaches 320 px; a smaller one sends the frame through the host's decoders instead (BRIEF §8.5). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
48 files changed
+1132
-87
No files matched your search
@@ -22,6 +22,7 @@
|
||||
<data name="Advisor.Finding.NoTimestamps" xml:space="preserve"><value>Only {0} of {1} frames have a capture time, so cadence and gaps cannot be measured.</value><comment>{0} frames with a capture time; {1} frames in total</comment></data>
|
||||
<data name="Advisor.Finding.NonMonotonicTimestamps" xml:space="preserve"><value>{0} frames are out of time order.</value><comment>{0} frame count</comment></data>
|
||||
<data name="Advisor.Finding.Panning" xml:space="preserve"><value>The view drifts by {0:0.##} px per frame (pan or slider).</value><comment>{0} drift in source pixels per frame</comment></data>
|
||||
<data name="Advisor.Finding.PreviewOnly" xml:space="preserve"><value>Frames decoding only from their embedded preview: {0}.</value><comment>{0} frame count</comment></data>
|
||||
<data name="Advisor.Finding.SceneChanges" xml:space="preserve"><value>The view jumps at {0} frames (camera moved or bumped).</value><comment>{0} frame count</comment></data>
|
||||
<data name="Advisor.Finding.Sessions" xml:space="preserve"><value>Shot in {0} separate sessions.</value><comment>{0} session count</comment></data>
|
||||
<data name="Advisor.Finding.Shake" xml:space="preserve"><value>The camera shakes by {0:0.##} px RMS; hiding it costs {1:0.#}% of the frame.</value><comment>{0} shake RMS in source pixels; {1} crop cost in percent of the area</comment></data>
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
<data name="Export.Log.Failed" xml:space="preserve"><value>{0} failed: {1}</value><comment>long: job log line; {0} preset name; {1} reason</comment></data>
|
||||
<data name="Export.Log.NoRenderNode" xml:space="preserve"><value>No render node can encode {1}; {0} is rendered as {2} instead.</value><comment>long: job log line; {0} preset name; {1} codec asked for; {2} managed codec used</comment></data>
|
||||
<data name="Export.Log.Rendered" xml:space="preserve"><value>{0} saved as {1}</value><comment>long: job log line; {0} preset name; {1} output file name</comment></data>
|
||||
<data name="Export.Log.StandIns" xml:space="preserve"><value>Undecodable frames shown as a neighbour: {0}.</value><comment>long: job log line; {0} frame numbers from 1, comma-separated</comment></data>
|
||||
<data name="Export.Plan.FrameRateIgnored" xml:space="preserve"><value>Playback rate not understood; the export frame rate is used.</value><comment>long</comment></data>
|
||||
<data name="Export.Plan.NoCaptureTimes" xml:space="preserve"><value>No capture times: frames are spaced evenly.</value><comment>long</comment></data>
|
||||
<data name="Export.Plan.NoFrames" xml:space="preserve"><value>Every frame is excluded.</value><comment>long</comment></data>
|
||||
|
||||
@@ -399,6 +399,8 @@
|
||||
<data name="Tooltips.Library.Status.LocalAhead" xml:space="preserve"><value>This PC has originals or settings the server does not have yet</value></data>
|
||||
<data name="Tooltips.Library.Status.NoProxies" xml:space="preserve"><value>No proxies yet; editing reads the originals</value></data>
|
||||
<data name="Tooltips.Library.Status.NotAnalysed" xml:space="preserve"><value>Not analysed yet</value></data>
|
||||
<data name="Tooltips.Library.Status.PreviewOnly.one" xml:space="preserve"><value>{0:N0} frame decodes only from its embedded preview; renders are capped at its size</value></data>
|
||||
<data name="Tooltips.Library.Status.PreviewOnly.other" xml:space="preserve"><value>{0:N0} frames decode only from their embedded previews; renders are capped at their size</value></data>
|
||||
<data name="Tooltips.Library.Status.Proxies" xml:space="preserve"><value>JPEG proxies built for fast editing</value></data>
|
||||
<data name="Tooltips.Library.Status.Remote" xml:space="preserve"><value>Lives on the server; this PC has proxies at most</value></data>
|
||||
<data name="Tooltips.Library.Status.Rendered.one" xml:space="preserve"><value>Rendered once</value></data>
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
<data name="Advisor.Finding.NoTimestamps" xml:space="preserve"><value>Solo {0} fotogrammi su {1} hanno un orario di scatto: cadenza e pause non sono misurabili.</value></data>
|
||||
<data name="Advisor.Finding.NonMonotonicTimestamps" xml:space="preserve"><value>{0} fotogrammi sono fuori ordine temporale.</value></data>
|
||||
<data name="Advisor.Finding.Panning" xml:space="preserve"><value>L'inquadratura scorre di {0:0.##} px per fotogramma (panoramica o slider).</value></data>
|
||||
<data name="Advisor.Finding.PreviewOnly" xml:space="preserve"><value>Fotogrammi decodificati solo dall'anteprima incorporata: {0}.</value></data>
|
||||
<data name="Advisor.Finding.SceneChanges" xml:space="preserve"><value>L'inquadratura salta in {0} fotogrammi (fotocamera spostata o urtata).</value></data>
|
||||
<data name="Advisor.Finding.Sessions" xml:space="preserve"><value>Ripreso in {0} sessioni separate.</value></data>
|
||||
<data name="Advisor.Finding.Shake" xml:space="preserve"><value>La fotocamera vibra di {0:0.##} px RMS; compensarla costa il {1:0.#}% dell'inquadratura.</value></data>
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<data name="Export.Log.Failed" xml:space="preserve"><value>{0} non riuscito: {1}</value></data>
|
||||
<data name="Export.Log.NoRenderNode" xml:space="preserve"><value>Nessun nodo di rendering può codificare {1}; {0} viene esportato in {2}.</value></data>
|
||||
<data name="Export.Log.Rendered" xml:space="preserve"><value>{0} salvato come {1}</value></data>
|
||||
<data name="Export.Log.StandIns" xml:space="preserve"><value>Fotogrammi non decodificabili sostituiti da un vicino: {0}.</value></data>
|
||||
<data name="Export.Plan.FrameRateIgnored" xml:space="preserve"><value>Velocità di riproduzione non valida; viene usata la frequenza di esportazione.</value></data>
|
||||
<data name="Export.Plan.NoCaptureTimes" xml:space="preserve"><value>Nessun orario di scatto: fotogrammi distribuiti in modo uniforme.</value></data>
|
||||
<data name="Export.Plan.NoFrames" xml:space="preserve"><value>Tutti i fotogrammi sono esclusi.</value></data>
|
||||
|
||||
@@ -399,6 +399,8 @@
|
||||
<data name="Tooltips.Library.Status.LocalAhead" xml:space="preserve"><value>Questo PC ha originali o impostazioni che il server non ha ancora</value></data>
|
||||
<data name="Tooltips.Library.Status.NoProxies" xml:space="preserve"><value>Ancora nessun proxy; la modifica legge gli originali</value></data>
|
||||
<data name="Tooltips.Library.Status.NotAnalysed" xml:space="preserve"><value>Non ancora analizzata</value></data>
|
||||
<data name="Tooltips.Library.Status.PreviewOnly.one" xml:space="preserve"><value>{0:N0} fotogramma si decodifica solo dall'anteprima incorporata; i render sono limitati alla sua dimensione</value></data>
|
||||
<data name="Tooltips.Library.Status.PreviewOnly.other" xml:space="preserve"><value>{0:N0} fotogrammi si decodificano solo dalle anteprime incorporate; i render sono limitati alla loro dimensione</value></data>
|
||||
<data name="Tooltips.Library.Status.Proxies" xml:space="preserve"><value>Proxy JPEG pronti per una modifica veloce</value></data>
|
||||
<data name="Tooltips.Library.Status.Remote" xml:space="preserve"><value>Si trova sul server; questo PC ne ha al massimo i proxy</value></data>
|
||||
<data name="Tooltips.Library.Status.Rendered.one" xml:space="preserve"><value>Esportata una volta</value></data>
|
||||
|
||||
Reference in new issue
Block a user