From 1af5353345fd186cf7c694d88198874b0c02f57f Mon Sep 17 00:00:00 2001 From: oDinZu WenKi Date: Tue, 24 Oct 2023 19:44:01 -0400 Subject: [PATCH] Update 'README.md' --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 105b6e5..5480f8a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A record-screen.sh that screen captures with FFmpeg using a hotkey e.g `WIN + R` ## Depends On * ffmpeg * bash -* basic linux terminal +* basic linux terminal skills ### Recommended Setup Dependencies * xdpyinfo @@ -18,8 +18,8 @@ A record-screen.sh that screen captures with FFmpeg using a hotkey e.g `WIN + R` 4. run the script via `./record-screen.sh` or with hotkey binds e.g. `WIN+R`. ### Get screen information -1. `xdpyinfo | grep "name"` Note: $DISPLAY should match the name. e.g. `:1` +* `xdpyinfo | grep "name"` Note: `$DISPLAY` should match the name from xdpyinfo. e.g. `:1` ### Get detailed window information about a specific screen window -1. `xwininfo` +* `xwininfo` ### Transforming .mpeg format into .gif (optional) -1. ffmpeg -i input.mp4 -vf "fps=10,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop -1 output.gif +* ffmpeg -i input.mp4 -vf "fps=10,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop -1 output.gif