If you compare the size of the original video and the GIF output, you will notice that the file size of the GIF (112MB) is significantly larger than the original video (3MB). However, we will face a couple of issues when converting a video to a GIF using FFmpeg: size and quality. For a better understanding, you may refer to the illustration below:Īn illustration of trimming a snippet from a video Issue The two arguments must be inserted before input -i, and they are dependent on which part of the video you want to convert to a GIF. The command below will convert your video to a GIF and save it in the same folder as the input video:įfmpeg -ss 23.0 -t 1.8 -i input.mp4 output_trimmed.gif Gifsicle (Optional, to further reduce the size of the GIF).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |