getID3 icon indicating copy to clipboard operation
getID3 copied to clipboard

Need support of Gif Frame Count

Open shtse8 opened this issue 8 years ago • 2 comments

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.

shtse8 avatar May 11 '17 19:05 shtse8

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.

JamesHeinrich avatar May 11 '17 21:05 JamesHeinrich

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.

shtse8 avatar May 11 '17 22:05 shtse8