Skip to content

Commit

Permalink
[DOC] small screencast correction
Browse files Browse the repository at this point in the history
  • Loading branch information
GehDoc committed Mar 1, 2020
1 parent af33ba4 commit 1ccf850
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified media/readme/01-03-2020 19:04:25.webm.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tools/webm2gif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ palettename="/tmp/"$(basename "$file")".png"


# 3840x2160 -> crop top+bottom bars -> scale to 1280x~720 (keep ar), 10 fps
ffmpeg -y -i "$file" -filter:v "crop=iw:ih-120:0:50,scale=1280:-2" -r 10 "$reducedname"
ffmpeg -y -i "$file" -filter:v "crop=iw:ih-120:0:53,scale=1280:-2" -r 10 "$reducedname"
ffmpeg -y -i "$reducedname" -vf palettegen "$palettename"
ffmpeg -y -i "$reducedname" -i "$palettename" -filter_complex paletteuse -r 10 "$file.gif"
rm "$palettename" "$reducedname"

0 comments on commit 1ccf850

Please sign in to comment.