-
Notifications
You must be signed in to change notification settings - Fork 866
GifV
Guilherme Souza, A.k.a.: Galinho edited this page Jun 30, 2015
·
8 revisions
EXPERIMENTAL
Usage: gifv()
This filter converts a gif to a mp4 or webm. filters:gifv() to mp4 filters:gifv(webm) to webm Still has some issues with variable frame rate gifs.
In order to use this filter you should add this to the config:
OPTIMIZERS = [
'thumbor.optimizers.gifv',
]
format - nothing to generate mp4 and webm to generate webm.
http://thumbor-server/unsafe/300x200/filters:gifv()/some/image.gif
<video autoplay loop>
<source type="video/mp4" src="http://thumbor-server/unsafe/filters:gifv()/some/image.gif">
<source type="video/webm" src="http://thumbor-server/unsafe/filters:gifv(webm)/some/image.gif">
</video>