You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Frames per second to use for screencast recording. Lower values can reduce memory pressure on pages that produce frames faster than ffmpeg can encode them.
Copy file name to clipboardExpand all lines: src/bin/chrome-devtools-mcp-cli-options.ts
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -208,6 +208,23 @@ export const cliOptions = {
208
208
describe: 'Path to ffmpeg executable for screencast recording.',
209
209
implies: 'experimentalScreencast',
210
210
},
211
+
experimentalScreencastFps: {
212
+
type: 'number',
213
+
describe:
214
+
'Frames per second to use for screencast recording. Lower values can reduce memory pressure on pages that produce frames faster than ffmpeg can encode them.',
215
+
implies: 'experimentalScreencast',
216
+
coerce: (value: number|undefined)=>{
217
+
if(value===undefined){
218
+
return;
219
+
}
220
+
if(!Number.isInteger(value)||value<=0){
221
+
thrownewError(
222
+
`Invalid experimentalScreencastFps ${value}. Expected a positive integer.`,
0 commit comments