Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High 4:2:2@L4 Profile Unsupported (DECODER_ERROR_NOT_SUPPORTED: Unsupported profile) #4193

Open
SynchronDEV opened this issue Aug 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@SynchronDEV
Copy link

SynchronDEV commented Aug 14, 2024

Bug Report 🐛

"remotion": "4.0.194"

Video Assets (.mp4 & .mov) unsuccessfully load if the video's color profile is High 4:2:2@L4 (Chroma subsampling 4:2:2) even if the video is H.264 - This causes an error in Remotion both when previewing the asset, but also when trying to load the asset to <Video> or <OffthreadVideo>

This behavior is not entirely unexpected as browsers have weak 4:2:2 support. Still, the feedback provided to the user in Remotion is unclear. It's not until I tried viewing the asset in the Remotion UI that I understood the issue isn't with loading the asset, but rather the asset itself.

The solution is to re-encode to 4.2.0 outside of Remotion - I can't find any built-in options that would help with this but I might've missed this in the documentation. The alternative would be to combine staticFile with a middleware re-encoder when it detects that the color profile is 4:2:2

image

@SynchronDEV SynchronDEV added the bug Something isn't working label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant