-
|
Hey folks, I have an error coming through where a web codec isn't available. Brave / arc browsers both have it. What's odd is im not using a specific one, just this code: const videoCodec = await getFirstEncodableVideoCodec(output.format.getSupportedVideoCodecs(), { Should I be doing something else to get a usable codec? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
|
Your dimensions are odd (1921x1080), and AVC only supports even dimensions (width and height divisible by 2). This also should cause getFirstEncodableVideoCodec not to return AVC. Are you calling it with different dimensions? |
Beta Was this translation helpful? Give feedback.



Your dimensions are odd (1921x1080), and AVC only supports even dimensions (width and height divisible by 2). This also should cause getFirstEncodableVideoCodec not to return AVC. Are you calling it with different dimensions?