Page 3 of 3
Re: Setting a GIF as avatar?
Posted: 29 Jul 2014, 21:22
by TMarc
and beware that WebM support is not yet complete. More information will be available when holiday season is over in France.
Re: Setting a GIF as avatar?
Posted: 30 Jul 2014, 00:00
by beauchette
oh ok, I'll try to fiddle with webm, what are the known limitations ?
Re: Setting a GIF as avatar?
Posted: 30 Jul 2014, 00:57
by TMarc
the problem is: we don't know really. I guess someone has to try and report what is working and what not.
Some already reported of issues.
We have to wait until Nadeo tells us more details.
Re: Setting a GIF as avatar?
Posted: 30 Jul 2014, 10:02
by beauchette
well, I tried a 128x128 webm that was under 30kB (~25) and it worked !
I used ffmpeg that way to convert it :
ffmpeg -i filename.gif -c:v libvpx -crf 10 -b:v 300K filename.webm
For me crf 10 and b:v 300K were fine, depending on the size, and number of frames, I suppose you'd have to adjut these (and the size, if there are too much frames, 64x64 seems to enough), from livpx encoding options :
By default the CRF value can be from 4–63, and 10 is a good starting point. Lower values mean better quality.
Here, you can choose different values for the bitrate other than 1M, e.g. 500K, but you must set all options (i.e., minrate, maxrate and b:v) to the same value.
Re: Setting a GIF as avatar?
Posted: 30 Jul 2014, 22:23
by TMarc
That's a great information, thanks for that. I'll add it to the "How-To"-Thread.
