diff --git a/home/packages.nix b/home/packages.nix index 93f20be..9e0cb66 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -63,9 +63,14 @@ with pkgs; [ yt-dlp spotdl # tenacity + # Start Google Chrome: NIXPKGS_ALLOW_UNFREE=1 nix-shell -p google-chrome --run google-chrome-stable ffmpeg-full # full in order to grab x11 + # Recording system audio while keeping audio quite: + # ffmpeg -f pulse -i default output.mp3 + # Change recording from output to monitor: https://askubuntu.com/questions/682144/capturing-only-desktop-audio-with-ffmpeg/682793#682793 + # Split large file into chunks (https://unix.stackexchange.com/questions/1670/how-can-i-use-ffmpeg-to-split-mpeg-video-into-10-minute-chunks): + # ffmpeg -i output.mp3 -c copy -map 0 -segment_time 00:15:00 -f segment output%03d.mp3 # Record audio and video on ubuntu: ffmpeg -f pulse -i alsa_output.pci-0000_00_1f.3.analog-stereo.monitor -f x11grab -y -framerate 30 -s 1280x720 -i :0.0 -c:v libx264 -preset superfast -crf 18 output.mkv - # Don't forget to switch the recording monitor on pulse audio after starting python39Packages.mutagen feh