Affected Version
Collapse 1.81.5 Preview
Bug Behavior
Attempting to use .mp4 and .mkv video files (not sure about other formats) as a custom App Background will throw an error.
Expected Behavior
Collapse should be able to playback the aforementioned video file types without an error.
Steps to reproduce
Get an .mp4 or .mkv video file
Use the video file as a custom background in Collapse
Error
Related Issues
No response
Screenshot(s)
Example (using a random music video in a .webm container with it's video/audio stream copied into an .mp4 and .mkv container):
Recording.2024-09-08.181736.mp4
Error:
System.ArgumentNullException: ArgumentNull_Generic Arg_ParamName_Name, windowsruntimeStream
at System.IO.WindowsRuntimeStreamExtensions.AsStreamInternal(Object, Int32, String, Boolean)
at System.IO.WindowsRuntimeStreamExtensions.AsStream(IRandomAccessStream)
at CollapseLauncher.Helper.Background.Loaders.MediaPlayerLoader.GetPreviewAsColorPalette(String file)
at CollapseLauncher.Helper.Background.Loaders.MediaPlayerLoader.LoadAsync(String filePath, Boolean isImageLoadForFirstTime, Boolean isRequestInit, CancellationToken token)
at CollapseLauncher.Helper.Background.Loaders.MediaPlayerLoader.LoadAsync(String filePath, Boolean isImageLoadForFirstTime, Boolean isRequestInit, CancellationToken token)
at CollapseLauncher.Helper.Background.BackgroundMediaUtility.LoadBackgroundInner(String mediaPath, Boolean isRequestInit, Boolean isForceRecreateCache, ThrowExceptionAction throwAction, Action actionAfterLoaded)
Additional Information
.webm works oddly enough, as seen in the recording above.
Affected Version
Collapse 1.81.5 Preview
Bug Behavior
Attempting to use
.mp4and.mkvvideo files (not sure about other formats) as a custom App Background will throw an error.Expected Behavior
Collapse should be able to playback the aforementioned video file types without an error.
Steps to reproduce
.mp4or.mkvvideo fileRelated Issues
No response
Screenshot(s)
Example (using a random music video in a
.webmcontainer with it's video/audio stream copied into an.mp4and.mkvcontainer):Recording.2024-09-08.181736.mp4
Error:
Additional Information
.webmworks oddly enough, as seen in the recording above.