julia> chart3()
[ Info: Created frame 100
[ Info: Created frame 200
[ Info: Created frame 300
[ Info: Created frame 400
[ Info: Created frame 500
[image2 @ 0x7ffc1981b200] Could not get frame filename number 2 from pattern '/Users/tomkwong/Julia/AdventOfCode2021/day05_anim.png'. Use '-frames:v 1' for a single image, or '-update' option, or use a pattern such as %03d within the filename.
av_interleaved_write_frame(): Invalid argument
ERROR: failed process: Process(/Users/tomkwong/.julia/artifacts/d30bf8e9f9b903de5e42ffdad9e1118722c08cd8/bin/ffmpeg -v 16 -framerate 5 -i /var/folders/5j/882h40j118q12rx_53jk8w_m0000gn/T/jl_jQcpC8/%06d.png -i /var/folders/5j/882h40j118q12rx_53jk8w_m0000gn/T/jl_jQcpC8/palette.bmp -lavfi paletteuse=dither=sierra2_4a -loop 0 -y /Users/tomkwong/Julia/AdventOfCode2021/day05_anim.png, ProcessExited(1)) [1]
Backends
This bug occurs on ( insert x below )
Backend
yes
no
untested
gr (default)
x
pyplot
plotlyjs
pgfplotsx
unicodeplots
inspectdr
gaston
Versions
Plots.jl version: v1.24.3
Backend version (]st -m <backend(s)>): v0.62.1
Output of versioninfo():
User error. My filename ends with png rather and gif and that's why it failed. I would keep this bug open for now -- it should give better error message! :-)
Details
I got this issue when trying to create an animation for an Advent of Code puzzle. To reproduce, see https://github.com/tk3369/AdventOfCode2021/blob/387cb0eea11dd3542cda0a5b767a96654cb6d225/day05.jl#L103-LL126
julia> chart3() [ Info: Created frame 100 [ Info: Created frame 200 [ Info: Created frame 300 [ Info: Created frame 400 [ Info: Created frame 500 [image2 @ 0x7ffc1981b200] Could not get frame filename number 2 from pattern '/Users/tomkwong/Julia/AdventOfCode2021/day05_anim.png'. Use '-frames:v 1' for a single image, or '-update' option, or use a pattern such as %03d within the filename. av_interleaved_write_frame(): Invalid argument ERROR: failed process: Process(
/Users/tomkwong/.julia/artifacts/d30bf8e9f9b903de5e42ffdad9e1118722c08cd8/bin/ffmpeg -v 16 -framerate 5 -i /var/folders/5j/882h40j118q12rx_53jk8w_m0000gn/T/jl_jQcpC8/%06d.png -i /var/folders/5j/882h40j118q12rx_53jk8w_m0000gn/T/jl_jQcpC8/palette.bmp -lavfi paletteuse=dither=sierra2_4a -loop 0 -y /Users/tomkwong/Julia/AdventOfCode2021/day05_anim.png
, ProcessExited(1)) [1]Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version: v1.24.3 Backend version (
]st -m <backend(s)>
): v0.62.1 Output ofversioninfo()
: