Repository navigation
Read CRI USM game videos (.usm) (#485) - #508
Merged
Merged
Conversation
USM is CRI Middleware's container for game cutscenes. The bundled FFmpeg (9.0.2) has its usm demuxer, so .usm is a read-only video source like the other read-only containers: on the video donut, to MP4 and every other video and audio target. Encrypted USM files fail with FFmpeg's error. Settings v43: existing libraries learn .usm on the video donut, custom claims stay put.
Closed
1 task done
KnifeLemon#505 (FITS) took settings schema 43, so the USM step is v44 (CurrentSchemaVersion = 44), after the FITS one; its test upgrades a version 43 library.
Collaborator
Author
|
Merged |
KnifeLemon
added a commit
to flexeykinDev/Filee
that referenced
this pull request
Oct 24, 2026
The USM video format (KnifeLemon#508) takes schema 44 and goes into main first, so the clip tool's migration moves to 45. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
KnifeLemon
added a commit
to flexeykinDev/Filee
that referenced
this pull request
Oct 24, 2026
USM (KnifeLemon#508) is schema 44 on main; Cut a clip stays at 45, after it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 #485.
@KnifeLemon, could you review this for merging into
main? If you had already started on it, feel free to close this one.What it does
.usm(CRI Middleware's video container, used for many games' cutscenes) becomes a read-only video source, like WTV, RM or CAVS:FormatRegistry:usm, category Video,Writable: false.usmdemuxer:ffmpeg -demuxerslistsusm CRI USM).docs/ENGINES.mdsays so.Settings
v43 (
CurrentSchemaVersion = 43): existing libraries learn.usmon the video donut withLearnExtensions, as.dst(v38) and.ps1(v39) did, and custom claims stay put. Your #505 (FITS) may also need a settings step, so the two numbers may need sorting out depending on which merges first.Tests
UsmFormatTests(Core):.USMis detected as a read-only video and picks the video donut.usmonce.MediaTests:usm → mp4is one FFmpeg step, and nothing routes to USM.dotnet format --verify-no-changesis clean.dotnet test: Core 543, Platform 79, CLI 27, Setup 149, Engines 1711 and App 986 pass, none fail.Not checked: a real
.usmconversion. I don't have a sample file, and FFmpeg has no USM muxer to make one. If the reporter can share an unencrypted clip, an end-to-end test could be added.