将 mp4 转换为 gif - gif 不动

将 mp4 转换为 gif - gif 不动

我正在使用此命令将我的 mp4 转换为 gif

ffmpeg -i out.mp4 -pix_fmt rgb24 output.gif

但生成的 gif 不动。我也收到很多这样的消息

[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 46, current: 16; changing to 47. This may result in incorrect timestamps in the output file.
[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 47, current: 16; changing to 48. This may result in incorrect timestamps in the output file.
[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 48, current: 16; changing to 49. This may result in incorrect timestamps in the output file.
[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 49, current: 17; changing to 50. This may result in incorrect timestamps in the output file.
[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 50, current: 17; changing to 51. This may result in incorrect timestamps in the output file.
[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 51, current: 17; changing to 52. This may result in incorrect timestamps in the output file.

我的视频是 300 fps

相关内容