How to convert a GIF file to a AVI file?
21 次查看(过去 30 天)
显示 更早的评论
I want to convert a GIF file to a video file (AVI or mp4). How can I do that using MATLAB?
4 个评论
Adam Danz
2020-5-26
An example of a loop is given in the documentation for the im2frame function.
采纳的回答
Adam Danz
2020-5-26
gif2avi(file) will convert the gif file to avi and will save it to your current directory. See the documentation for that function for additional inputs.
Let me know if you have an problems.
5 个评论
shawn luo
2024-3-14
but usually the size of my converted avi files (from gif ) are much bigger than that of the original gif file, like 400MB compared to 2MB, is this normal ? I use the 2.0.0 version
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!