-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#177: adds animation to 'copy to clipboard' action
- Loading branch information
1 parent
5318327
commit 7d6d7da
Showing
3 changed files
with
69 additions
and
14 deletions.
There are no files selected for viewing
71 changes: 63 additions & 8 deletions
71
app/src/main/scala/app/logorrr/views/ops/CopyLogButton.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# Convert mov to gif | ||
# Convert mp4 to gif | ||
|
||
ffmpeg -i \#177-copy-to-clipboard.mp4 -vf "fps=10,scale=320:-1:flags=lanczos" -c:v gif -f gif \#177-copy-to-clipboard.gif | ||
|
||
ffmpeg -i logorrr-poc.mov -pix_fmt rgb8 -s 389x308 out.gif | ||
convert out.gif -verbose -coalesce -layers OptimizeFrame out-preopt.gif | ||
gifsicle -O2 out-preopt.gif -o out-final.gif |