From 2ebc97d92a24a1407c81afae0641c899c11a24eb Mon Sep 17 00:00:00 2001 From: Lia Siegelman <37456301+liasiegelman@users.noreply.github.com> Date: Tue, 5 Jan 2021 12:40:21 -0800 Subject: [PATCH] fix for [BUG] #3135 mp4/mov animations can't be opened with QuickTime or Safari (#3209) * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function * try a fix for codec animate function Co-authored-by: Lia Siegelman --- src/animation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animation.jl b/src/animation.jl index b83c78cc..3c55967c 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 $(animdir)/%06d.png -loop $loop -y $fn`) + ffmpeg_exe(`-v $verbose_level -framerate $framerate -i $(animdir)/%06d.png -vf format=yuv420p -loop $loop -y $fn`) end show_msg && @info("Saved animation to ", fn)