Skip to content

Commit

Permalink
Add ffmpeg script
Browse files Browse the repository at this point in the history
  • Loading branch information
unkaktus committed Feb 17, 2023
1 parent 8f1d3ac commit 0ce7299
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions render/make_movie.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
# Run inside your directory with frames named `frame.000000.png`, and this will produce a movie movie.mp4

ffmpeg -vcodec png -framerate 14 -i frame.%06d.png -pix_fmt yuv420p -vcodec libx264 -crf 17 -threads 64 -preset fast -y -vf "crop=trunc(iw/2)*2:trunc(ih/2)*2" movie.mp4

0 comments on commit 0ce7299

Please sign in to comment.