fix(r3d): enhance RED SDK initialization diagnostics and user search paths - #49
Merged
Merged
Conversation
…paths - Add user directory search paths for RED Redistributable libraries: - macOS: ~/Library/Application Support/OpenUTV/RED - Linux: ~/.local/share/openutv/red - Windows: %APPDATA%/OpenUTV/RED - Ensure R3DSDK::FinalizeSdk() is called upon any non-OK InitializeSdk() return - Provide detailed warning logs including enum descriptions when InitializeSdk fails - Explicitly warn if ISLibraryVersionMismatch (6) is encountered - Fix MovieIO preloader error logging to report filename instead of cleared string Signed-off-by: Michael Oliver <mcoliver@gmail.com>
…ser notifications - Add cross-platform probeREDLibraryVersion() using LoadLibrary/dlopen to query RED_LIB_MAJOR_VERSION, RED_LIB_MINOR_VERSION, and RED_MINIMUM_MINOR_VERSION - Explicitly notify user if installed RED PLAYER is older than required (9.2.1+) with a prompt to update RED PLAYER from red.com/downloads - Inform user if installed RED PLAYER is newer (such as 9.3.0) with ABI mismatch - Surface detailed diagnostics directly into MovieRED preloadOpen IOException Signed-off-by: Michael Oliver <mcoliver@gmail.com>
…s/Linux - Restore ditto -c -k --keepParent to ensure macOS .app bundle integrity and structure - Restore zip/tar.gz packaging for Windows and Linux artifacts Signed-off-by: Michael Oliver <mcoliver@gmail.com>
…eration when supported Signed-off-by: Michael Oliver <mcoliver@gmail.com>
…inux Signed-off-by: Michael Oliver <mcoliver@gmail.com>
…rectly Signed-off-by: Michael Oliver <mcoliver@gmail.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.
Summary
~/Library/Application Support/OpenUTV/RED~/.local/share/openutv/red%APPDATA%\OpenUTV\REDR3DSDK::FinalizeSdk()upon any failedInitializeSdk()call before fallback or moving to the next directory (mandated by RED SDK documentation).InitializeSdkfails, explicitly identifyingISLibraryVersionMismatch(status 6) when an installed RED PLAYER/REDCINE-X is a different version than the SDK UTV was compiled against.MovieIO.cppwherePRELOADER READ ERRORprinted**** filename cleared ****instead of the actual file path.Root Cause Context
UTV was compiled against R3D SDK 9.2.1. When scanning
/Applications/REDCINE-X Professional/RED PLAYER.app/Contents/MacOS, it findsREDR3D.dylibversion 9.3.0. Because RED SDK uses an internal handshake verifying the static shim version matches the dynamic library version, RED returnsISLibraryVersionMismatch(6). PointingRED_SDK_PATHto matching 9.2.1 Redistributables immediately enabled seamless playback and Metal GPU debayering.