From 2f5eb2a211b7ffd8553a7900ba1b5dc106dfd6d9 Mon Sep 17 00:00:00 2001 From: Amolith Date: Sun, 16 Dec 2018 13:54:24 -0500 Subject: [PATCH] add subtitle --- _posts/2018-08-12-lossless-screen-recording.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2018-08-12-lossless-screen-recording.md b/_posts/2018-08-12-lossless-screen-recording.md index 11493df..676609c 100644 --- a/_posts/2018-08-12-lossless-screen-recording.md +++ b/_posts/2018-08-12-lossless-screen-recording.md @@ -1,12 +1,12 @@ --- layout: post title: Lossless screen recording +subtitle: Never waste resources with OBS again description: Recording your screen (or monitor(s)) with ffmpeg for a high-quality lossless video that uses very little system resources categories: minimalism cover: /assets/ffmpeg-lossless.png date: 2018-08-12 17:15:20 --- -# NEVER USE OBS AGAIN I've been trying off and on for the past few weeks to figure out how to record my 1920x1080 monitor. The recording is going to be some music videos for a friend. Originally, it was just going to be a single background image for the whole video then I had the idea of using [cava](https://github.com/karlstav/cava) in a transparent terminal on top of the background. This didn't work at all because it actually kept freezing when I tried to record it. So I tried switching to [ncmpcpp](http://ncmpcpp.rybczak.net/) visualiser. This still had horrible lag. So I've been puzzling over how to use ffmpeg to *losslessly* record my second monitor. I finally figured it out and have pasted the command below. `ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -draw_mouse 0 -i :0.0+1366,0 -c:v libx264 -crf 0 -preset ultrafast output.mkv`