Repository navigation
#886: say why footage the decoders can't read shows no picture - #887
Merged
h-a-n-a-s-h-i merged 1 commit intoOct 12, 2026
Merged
Conversation
Problem: a movie whose profile the software decoders lack (H.264 High 4:2:2 / 10-bit) probes fine, then every frame read fails; MediaPool logged the error per frame and returned None, so the layer rendered black with no sign why in the viewer, Project panel or for agents. Fix: MediaPool records the reason once per file (codec from the probe plus the decoder's text without error wrappers; I/O errors stay with missing-footage handling), logs it once, and exposes it through the new FootageSource::problem. The Composition viewer shows it on the affected layer, the Project panel marks the item with a warning whose tooltip is the reason, and project.summary / footage.info carry a "problem" field. Cleared when the file is forgotten; only set when decoding really failed, so a hardware decoder that handles the file shows nothing. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
h-a-n-a-s-h-i
pushed a commit
that referenced
this pull request
Oct 12, 2026
- Footage sources: the cancellable wrapper (#784) forwards frame_with (#752 float curves) and problem (#887); problem's default lives on the trait. - Media: a called-off decode (#784) is not a footage problem (#887). - Effect Controls rename (#953): Escape cancels (egui drops focus on Escape the same frame), the Rename item is translated; regression test. - i18n (#873): drop the /out-i18n/ ignore rule and the note about an uncommitted script. - Tests: text range selector caps (#926) re-borrow the layer; the RAM preview test (#793) sets the comp's own Resolution (#462). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
Merged. Thank you for the contribution, @vangel76! I wired your If you haven't already, come join us on Discord: https://discord.gg/artcraft. It's the best place to discuss what you're working on next and to coordinate with other contributors. |
eliasx45
pushed a commit
to eliasx45/effectcraft
that referenced
this pull request
Oct 12, 2026
…iewer notice, summary/footage.info) and is logged once per file (storytold#886, port of upstream storytold#887)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #886.
Problem (reported on Discord)
brdn (Mac, Apple silicon, 0.8): H.264 10-bit 4:2:2 footage previews black with no explanation (it works in FilmCraft via VideoToolbox); Cullen (Sony A6700 S-Log) the same.
Root cause
The pinned FilmCraft software decoders only handle 8-bit 4:2:0 H.264.
probesucceeds, every frame read then fails withunsupported: chroma_format_idc 2 ...;MediaPool::frame_sizedlogged it per frame and returnedNone, so the layer renders nothing and nothing in the UI,project.summaryorfootage.infosays why.Fix
MediaPoolkeeps the reason per file (probe codec + decoder text, error wrappers stripped, e.g. "H.264 (High 4:2:2) isn't supported by the built-in decoder: chroma_format_idc 2 (only 4:2:0 is implemented)"), logs it once, drops it onforget; I/O errors stay with missing-footage handling. NewFootageSource::problem(defaultNone).project.summaryitems andfootage.infocarryproblem.Overlaps: #796 (pool.rs/probe.rs), #784/#793 (pool.rs, frames.rs, viewer.rs), #819, #780 (project.rs, one block in the name cell). Related FilmCraft: storytold/filmcraft#626/#629.
Tests
an_unsupported_stream_reports_why_it_shows_no_picture(media, ffmpeg-generatedhigh422yuv422p10lefixture in target/, skipped without ffmpeg).footage_that_cannot_be_decoded_reports_why(engine: summary + footage.info).ui_unreadable_footage.rs(kittest: Project marker and viewer notice; none for readable footage).Gates
fmt, clippy -D warnings (all targets), full tests of render, media, engine, ui-egui, host (--no-fail-fast, all green),
cargo xtask layers, wasm32 check of render/media/engine. Fullcargo xtask cinot run (machine shared).🤖 Generated with Claude Code