let the capture rate be capped on purpose, off by default
This commit is contained in:
+13
-2
@@ -21,6 +21,7 @@
|
||||
|| cfg.capture.capture_cursor !== initialCfg.capture.capture_cursor
|
||||
|| cfg.capture.capture_audio !== initialCfg.capture.capture_audio
|
||||
|| cfg.capture.capture_quality !== initialCfg.capture.capture_quality
|
||||
|| cfg.capture.limit_capture_fps !== initialCfg.capture.limit_capture_fps
|
||||
|| cfg.export.default_format !== initialCfg.export.default_format
|
||||
|| cfg.export.gif_dither !== initialCfg.export.gif_dither
|
||||
|| cfg.export.webm_codec !== initialCfg.export.webm_codec
|
||||
@@ -148,6 +149,16 @@
|
||||
{#each [15,24,30,60] as f}<option value={f}>{f} fps</option>{/each}
|
||||
</select>
|
||||
</label>
|
||||
<label class="field-check">
|
||||
<input type="checkbox" bind:checked={cfg.capture.limit_capture_fps} />
|
||||
<span>Cap capture at this rate</span>
|
||||
</label>
|
||||
{#if cfg.capture.limit_capture_fps}
|
||||
<p class="field-note">
|
||||
Recording stops at {cfg.capture.default_fps} fps instead of the display's refresh
|
||||
rate. Smaller temp files and less CPU, but nothing above that rate is captured.
|
||||
</p>
|
||||
{/if}
|
||||
<label class="field">
|
||||
<span class="field-label">Capture quality</span>
|
||||
<select bind:value={cfg.capture.capture_quality}>
|
||||
@@ -213,7 +224,7 @@
|
||||
</select>
|
||||
</label>
|
||||
{#if codecs && (!codecs.av1 || !codecs.h265)}
|
||||
<p class="codec-note">Some codecs are unavailable in your ffmpeg build and disabled above.</p>
|
||||
<p class="field-note">Some codecs are unavailable in your ffmpeg build and disabled above.</p>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
@@ -515,7 +526,7 @@
|
||||
.advanced-toggle svg { transition: transform 150ms; }
|
||||
.advanced-toggle svg.rotated { transform: rotate(180deg); }
|
||||
|
||||
.codec-note {
|
||||
.field-note {
|
||||
margin: 0;
|
||||
font-size: 11px;
|
||||
color: var(--warn);
|
||||
|
||||
Reference in New Issue
Block a user