From 92ede195f70f74c88a9a319dcdd9404ebfa9d1fa Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 3 Jan 2020 06:48:04 -0500 Subject: [PATCH] Add recording.nix module And remove kdenlive & obs modules. Moves obs to recording module. I've replaced kdenlive with DaVinci Resolve (can't believe it's free!) --- config/sxhkd/sxhkdrc | 6 +++--- modules/recording.nix | 19 +++++++++++++++++++ modules/video/kdenlive.nix | 0 modules/video/obs.nix | 0 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 modules/recording.nix delete mode 100644 modules/video/kdenlive.nix delete mode 100644 modules/video/obs.nix diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index 6ee548a1..d8455d16 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -56,11 +56,11 @@ super + {_,ctrl + }f # ## Media keys -Print +Print # screenshot region scrcap -super + Print +super + Print # screencast region to mp4 scrrec -s ~/recordings/$(date +%F-%T).mp4 -super + ctrl + Print +super + ctrl + Print # screencast region to gif scrrec -s ~/recordings/$(date +%F-%T).gif XF86MonBrightnessUp diff --git a/modules/recording.nix b/modules/recording.nix new file mode 100644 index 00000000..a0ecb4d7 --- /dev/null +++ b/modules/recording.nix @@ -0,0 +1,19 @@ +# I use OBS to capture footage/stream and DaVinci Resolve for editing (on my +# Windows system -- it will run on windows, but there is no way to automate its +# installation, what with their devs regsitration-gating their free download). +# +# I also use ffmpeg for small casts/gifs, but this module is for the heavy duty +# stuff. +# +# This module is best paired with ./audio-editing.nix + +{ config, lib, pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + slop # for selecting arbitrary regions on screen + ffmpeg # for recording gifs/mp4s quickly + audacity # for recording and remastering audio + obs-studio # for streaming to twitch/recording for youtube + handbrake # for encoding footage + ]; +} diff --git a/modules/video/kdenlive.nix b/modules/video/kdenlive.nix deleted file mode 100644 index e69de29b..00000000 diff --git a/modules/video/obs.nix b/modules/video/obs.nix deleted file mode 100644 index e69de29b..00000000