From af3043c10f21c86c94b36f1ee74ffb258d6f858b Mon Sep 17 00:00:00 2001 From: Lia Siegelman Date: Fri, 1 Jan 2021 09:49:24 -0800 Subject: [PATCH] try a fix for codec animate function --- src/animation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animation.jl b/src/animation.jl index 23f83f45..81bfb201 100644 --- a/src/animation.jl +++ b/src/animation.jl @@ -98,7 +98,7 @@ function buildanimation(anim::Animation, fn::AbstractString, ffmpeg_exe(`-v $verbose_level -framerate $framerate -i $(animdir)/%06d.png -i "$(animdir)/palette.bmp" -lavfi "paletteuse=dither=sierra2_4a" -loop $loop -y $fn`) end else - ffmpeg_exe(`-v $verbose_level -framerate $framerate -i -pix_fmt yuv420p $(animdir)/%06d.png -loop $loop -y $fn`) + ffmpeg_exe(`-v $verbose_level -framerate $framerate -pix_fmt yuv420p -i $(animdir)/%06d.png -loop $loop -y $fn`) end show_msg && @info("Saved animation to ", fn)