Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

0.3.13 changelog

Brendan Allan5fd6d86730e7
diff --git a/apps/web/content/changelog/33.mdx b/apps/web/content/changelog/33.mdx
new file mode 100644
index 000000000..c7a4ca61b
--- /dev/null
+++ b/apps/web/content/changelog/33.mdx
@@ -0,0 +1,13 @@
+---
+title: Performance improvements, zoom bug fixes and more
+app: Cap Desktop
+publishedAt: "2025-01-24"
+version: 0.3.13
+image:
+---
+
+- The editor now uses a more perforant video decoder that provides much smoother playback and seeking.
+ If you experience any issues loading the editor, please let us know.
+- Zoom segments now behave as expected and transition smoothly between each other.
+- Logs generated during recording are now captured and written to `{recording_path}/recording-logs.log`.
+- Camera capture has been simplified such that it should use slightly less CPU.
diff --git a/crates/media/src/feeds/camera.rs b/crates/media/src/feeds/camera.rs
index f81325f67..33eb9ece3 100644
--- a/crates/media/src/feeds/camera.rs
+++ b/crates/media/src/feeds/camera.rs
@@ -1,7 +1,7 @@
use cap_gpu_converters::{NV12Input, NV12ToRGBA, UYVYToRGBA};
use ffmpeg::{format::Pixel, software::scaling};
use flume::{Receiver, Sender, TryRecvError, TrySendError};
-use nokhwa::{utils::*, Camera};
+use nokhwa::{pixel_format::RgbAFormat, utils::*, Camera};
use std::{
thread::{self, JoinHandle},
time::Instant,
@@ -142,10 +142,7 @@ fn create_camera(info: &CameraInfo) -> Result<Camera, MediaError> {
#[cfg(feature = "debug-logging")]
debug!("Creating camera with info: {:?}", info);
- let format = RequestedFormat::with_formats(
- RequestedFormatType::AbsoluteHighestFrameRate,
- &[FrameFormat::YUYV],
- );
+ let format = RequestedFormat::new::<RgbAFormat>(RequestedFormatType::AbsoluteHighestFrameRate);
#[cfg(feature = "debug-logging")]
trace!("Requested camera format: {:?}", format);