Skip to content

Commit 8316891

Browse files
JonnyBurgerclaude
andcommitted
warn users about slow AV1 encoding speed when codec is selected
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 81efe8c commit 8316891

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/renderer/src/get-codec-name.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ export const getCodecName = ({
126126
}
127127

128128
if (codec === 'av1') {
129+
Log.warn(
130+
{indent, logLevel},
131+
'AV1 encoding is significantly slower than other codecs. Consider using h264 or h265 if encoding speed is important.',
132+
);
129133
return {encoderName: 'libaom-av1', hardwareAccelerated: false};
130134
}
131135

0 commit comments

Comments
 (0)