I have a .gif
file on my filesystem and I want all of its frames to be saved as .png
files. How can I do this with ffmpeg?
According to the docs , -vsync 0
ensures "each frame is passed with its timestamp from the demuxer to the muxer." frame%d.png
then stores each frame as a file wherer %d
will be replaced with the frame number.
ffmpeg -i your_file.gif -vsync 0 frame%d.png
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.