getID3
getID3 copied to clipboard
Need support of Gif Frame Count
Thanks for the support of WebP. It works great. Would you kindly support the GIF frame count too?
Not only GIF, WebP and mjpeg also support image sequence, it would be great to support getting image sequence count. I just can get the count using imagemagick the moment.
You didn't ask for it, but I added support for the APNG animation extension to PNG, and you can get frame count there now.
GIF is kind of an ugly format, animation is implemented in two ways, one official non-looping method and a de facto standard "NETSCAPE2.0" extension that supports looping. The latter is now detected and sets the [gif][animation][animated] flag, but I haven't yet wrapped my head around getting the frame count, animation duration, etc.
Thanks. But unluckily, GIF is the worst format but very common nowaday. the size of gif eats up lots of traffic and thats why i need to detect and get the information to convert to mp4. i used ffprobe before, but it is too slow comparing to getid3. i like this project very much. hope that one day i can contribute some.