Skip to content

Commit

Permalink
Added a new demo gif
Browse files Browse the repository at this point in the history
  • Loading branch information
AmberSahdev committed Mar 5, 2024
1 parent e3fecb8 commit ebe1634
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Misc
.DS_Store
*.mov
env_variables.yaml
*/secret.py
secrets/
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Open Interface can
</div>

### Demo
![Simple Demo Placeholder](assets/Simple_Bottom_of_Wikipedia-Sped-up-2x.gif)
![Make Meal Plan Demo](assets/meal_plan_demo_2x.gif)
["Make me a meal plan in Google Docs"]

<hr>

Expand Down Expand Up @@ -154,4 +155,7 @@ Open Interface can
| | Executor | |
| +-------------+ |
+----------------------------------------------------+
```
```

### Links
- Check out more of my projects at [AmberSah.dev](https://AmberSah.dev)
Binary file added assets/meal_plan_demo_2x.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/palette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/video_to_gif.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ ffmpeg -i input.mp4 -vf "fps=10,scale=1080:-1:flags=lanczos" -c:v gif -f gif out

or if the output from the last one has some visual artifacts, try a different downsampler like below

ffmpeg -i Simple_Bottom_of_Wikipedia-Sped-up-2x.mov -vf "fps=10,scale=1080:-1:flags=bicubic,palettegen" -y palette.png
ffmpeg -i Simple_Bottom_of_Wikipedia-Sped-up-2x.mov -i palette.png -lavfi "fps=10,scale=1080:-1:flags=bicubic [x]; [x][1:v] paletteuse" output.gif
ffmpeg -i meal_plan_demo_2x.mov -vf "fps=10,scale=1080:-1:flags=bicubic,palettegen" -y palette.png
ffmpeg -i meal_plan_demo_2x.mov -i palette.png -lavfi "fps=8,scale=900:-1:flags=bicubic [x]; [x][1:v] paletteuse" meal_plan_demo_2x.gif

0 comments on commit ebe1634

Please sign in to comment.