Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
luraess committed May 24, 2024
2 parents 93517e8 + 6ebcf2d commit 3190b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website-memo.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ run(`ffmpeg -i input_anim.gif -c libx264 -pix_fmt yuv420p -vf "pad=ceil(iw/2)*2:
```
Or generate them from `png`s:
```julia
run(`ffmpeg -framerate 30 -i %%04d.png -c libx264 -pix_fmt yuv420p -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2:color=white" -y output_anim.mp4`)
run(`ffmpeg -framerate 30 -i %04d.png -c libx264 -pix_fmt yuv420p -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2:color=white" -y output_anim.mp4`)
```
The `mp4` animation can then be embedded as follow in `Literate.jl` scripts:
```julia
Expand Down

0 comments on commit 3190b46

Please sign in to comment.