commands/imagepack: add duration length for animated emojis
This commit is contained in:
@@ -180,6 +180,7 @@ func convertGIFToWebM(ctx context.Context, data []byte, scaleFilter string) ([]b
|
|||||||
"-vf", scaleFilter,
|
"-vf", scaleFilter,
|
||||||
"-c:v", "libvpx-vp9",
|
"-c:v", "libvpx-vp9",
|
||||||
"-pix_fmt", "yuva420p",
|
"-pix_fmt", "yuva420p",
|
||||||
|
"-t", "3",
|
||||||
"-f", "webm",
|
"-f", "webm",
|
||||||
}, "image/gif")
|
}, "image/gif")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user