ffmpeg -i left.gif -i right.gif -filter_complex "[0:v]format=rgb24[v0];[1:v]format=rgb24[v1];[v0]overlay=0:0[v2];[v2][v1]overlay=512:0" -y output.gif
ffmpeg version N-110495-g24f16b798e-https://www.martin-riedl.de Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 14.0.0 (clang-1400.0.29.102)
configuration: --prefix=/Volumes/ffmpeg_arm64/out --pkg-config-flags=--static --extra-version='https://www.martin-riedl.de' --enable-gray --enable-libxml2 --enable-gpl --enable-libfreetype --enable-fontconfig --enable-libbluray --enable-libsnappy --enable-libvmaf --enable-libass --enable-libklvanc --enable-libzimg --enable-libzvbi --enable-libaom --enable-libopenh264 --enable-libopenjpeg --enable-librav1e --enable-libsvtav1 --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libtheora
libavutil 58. 7.100 / 58. 7.100
libavcodec 60. 10.100 / 60. 10.100
libavformat 60. 5.100 / 60. 5.100
libavdevice 60. 2.100 / 60. 2.100
libavfilter 9. 7.100 / 9. 7.100
libswscale 7. 2.100 / 7. 2.100
libswresample 4. 11.100 / 4. 11.100
libpostproc 57. 2.100 / 57. 2.100
Input #0, gif, from 'left.gif':
Duration: 00:00:02.01, start: 0.000000, bitrate: 16706 kb/s
Stream #0:0: Video: gif, bgra, 768x512, 7.92 fps, 8 tbr, 100 tbn
Input #1, gif, from 'right.gif':
Duration: 00:00:02.01, start: 0.000000, bitrate: 16251 kb/s
Stream #1:0: Video: gif, bgra, 768x512, 7.92 fps, 8 tbr, 100 tbn
报错
Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_overlay_2
两个gif,按位置排列,一个在左边,一个在右边,但是报错,应该怎么写?