Opened 6 years ago
Last modified 3 years ago
#8915 open enhancement
Stream_loop on some gifs cause animation jitter
| Reported by: | videouser | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | undetermined |
| Version: | git-master | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Summary of the bug:
Some gifs that are looped with -stream_loop cause animations to play incorrectly. I'm not sure about the cause but at first glance it could be due to incorrect delay between frames.
How to reproduce:
% ffmpeg -v 9 -loglevel 99 -report -stream_loop 3 -i inputBear.gif outputWithJitter.gif ffmpeg version 4.3.1, used the pre-build binary and tested on mac
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Attachments (3)
Change History (5)
by , 6 years ago
| Attachment: | ffmpeg-20201002-135120.log added |
|---|
by , 6 years ago
| Attachment: | inputBear.gif added |
|---|
by , 6 years ago
| Attachment: | outputWithJitter.gif added |
|---|
comment:1 by , 6 years ago
| Keywords: | loop stream_loop gif removed |
|---|---|
| Priority: | important → wish |
| Status: | new → open |
| Type: | defect → enhancement |
comment:2 by , 3 years ago
Proper way to loop gifs is with -loop [some positive number] option for gif muxer.
ffmpeg -i inputBear.gif -loop 8192 x.gif
Note:
See TracTickets
for help on using tickets.



Nothing to do with gif. This is stream_loop issue with last frame duration.