summaryrefslogtreecommitdiff
path: root/src/caelestia/subcommands/record.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* record: add extraArgs config2 * r + 2 * t2025-09-151-1/+10
|
* record: wl-screenrec -> gpu-screen-recorder2 * r + 2 * t2025-09-131-69/+42
| | | | | Supports NVIDIA, so no need for having a fallback Also supports pausing
* record: fix wf-recorder audio flag and proc error handling (#48)Matheus Oliveira2025-08-301-26/+29
| | | | | | | | | | | | | | | | | | | | | | | | | * fix(recording): Fix wf-recorder audio flag and improve process monitoring - Fix incorrect audio flag format for wf-recorder(Invalid whitespace) Changed from `-a <device>` to `--audio=<device>` as per wf-recorder docs: "Specify device like this: -a<device> or --audio=<device>" - Add fallback to IDLE audio sources Audio sources are typically in IDLE state when no media is playing. Now falls back to IDLE sources if no RUNNING sources are found, ensuring audio capture works when recording starts during silence but media plays later. - Improve process startup monitoring The 0.1s sleep was insufficient for reliable process detection on NVIDIA systems. Process would start and immediately die ~90% of the time when triggered via keybinds. Now shows immediate UI feedback then monitors for 3 seconds to ensure stable process startup while maintaining responsive user experience. * check returncode + timeout 3s -> 1s + format --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
* record: use correct proc (#47)Matheus Oliveira2025-08-201-1/+1
| | | | | | Previously, the start() function always invoked 'wl-screenrec' regardless of detected GPU, which prevented recording on systems with NVIDIA GPUswhen 'wf-recorder' is available. This change updates start() to launch the recorder stored in self.recorder, ensuring the correct recorder is used based on GPU detection.
* record: fix region2 * r + 2 * t2025-08-161-5/+5
|
* record: add NVIDIA GPU support with wf-recorder (#41)Batuhan Edgüer2025-08-161-3/+31
| | | | | | | | | | | | | | | | * record: add NVIDIA GPU support with wf-recorder - Add automatic GPU detection to choose between wl-screenrec and wf-recorder - Use wf-recorder for NVIDIA GPUs to fix compatibility issues - Map wf-recorder arguments correctly for region, output, and audio recording - Update documentation to include wf-recorder as dependency for NVIDIA users Fixes #37 * format + deduplicate --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
* record: fix multi-monitor and moving across filesystems (#38)anders1302025-08-131-4/+19
| | | | | | | | | | | | | | | * fix(record): support differing filesystems for recording destination * fix(record): for multi-monitor-systems wl-screenrec needs a -o argument * fix(record): replace path.rename with shutil.move * fix(record): use json option to retrieve hyprland focused monitor * use generator --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
* record: don't use hevc codec2 * r + 2 * t2025-07-231-1/+1
| | | | Cause incompatible with some players (mainly discord)
* record: ensure recordings dir exists2 * r + 2 * t2025-07-071-0/+1
| | | | Fixes caelestia-dots/shell#199
* record: fix dir not exists error2 * r + 2 * t2025-06-211-0/+1
|
* scheme: add notify opt2 * r + 2 * t2025-06-171-25/+10
| | | | For sending a notification on error
* feat: impl recording subcommand2 * r + 2 * t2025-06-141-1/+112
|
* internal: refactor for packaging2 * r + 2 * t2025-06-111-0/+11
Package using python-build, python-installer and hatch