add subtitle

This commit is contained in:
Amolith 2018-12-16 13:54:24 -05:00
parent 818f391915
commit 2f5eb2a211
Signed by: Amolith
GPG Key ID: 51FD40936DB0065B
1 changed files with 1 additions and 1 deletions

View File

@ -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`