Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GIF: support of animated GIF #1412

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JeromeMartinez
Copy link
Member

@jbkempf is trolling me about the lack of support of the most known video format, so quick implementation of its support.
Drawback: the file needs to be fully parsed for getting the count of frames / duration / frame rate. Files are usually not big but it is no more just the parsing of the header. Can be deactivated with --ParseSpeed=0 option.

Note that VLC support is poor, displaying just a still image (the first frame) and duration hardcoded at 10 seconds.

Rotating_earth_(large).gif

General
Complete name                            : Rotating_earth_(large).gif
Format                                   : GIF
Format/Info                              : Graphics Interchange Format
File size                                : 978 KiB
Duration                                 : 3 s 960 ms
Overall bit rate                         : 2 024 kb/s

Video
Format                                   : GIF
Format/Info                              : Graphics Interchange Format
Format profile                           : 89a
Duration                                 : 3 s 960 ms
Bit rate                                 : 1 937 kb/s
Width                                    : 400 pixels
Height                                   : 400 pixels
Display aspect ratio                     : 1.000
Frame rate                               : 11.111 FPS
Compression mode                         : Lossless
Bits/(Pixel*Frame)                       : 1.089
Stream size                              : 936 KiB (96%)

@jbkempf
Copy link

jbkempf commented Jul 7, 2021

@jbkempf is trolling me about the lack of support of the most known video format, so quick implementation of its support.

I wouldn't dare! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants