signalapp / Signal-Android

A private messenger for Android.
https://signal.org
GNU Affero General Public License v3.0
25.62k stars 6.15k forks source link

Some animated stickers play really quickly in android app #11559

Closed parrajustin closed 2 years ago

parrajustin commented 3 years ago

Bug description

Certain stickers play really fast, faster than they should. If a sticker's duration is 5 seconds the playback will loop the sticker in under a second. Only some stickers are affected by this even in the same sticker pack, see the example screen recording: https://user-images.githubusercontent.com/1360989/130343368-404fb303-ddc8-4d7b-bd7d-6c65e0cc5f3b.mp4

This only happens on my android device no matter the source of the sticker. On my linked desktop and the other participant in my conversation's IOS device don't face this. Everywhere the sticker is on my android device has this speed playback effect on signal.

FFmpeg command: The animated stickers were created from a webp that had the individual sticker frames and were cropped and concated together through a complex filter on a window machine. An example command: ffmpeg -loop 1 -framerate 60 -t 0.130 -i animation.webp -loop 1 -t 0.200 -framerate 60 -i animation.webp -filter_complex "[0:v]crop=256:256:0:0[0v];[0:v]crop=256:256:256:0[1v];[0v][1v]concat=n=2:v=1 [v]" -map "[v]" -plays 0 output.apng

Link to apngs: https://drive.google.com/drive/folders/1Ux9m2EpkqvU6xBYAqB_KNvgz6orqTOj-?usp=sharing

Steps to reproduce

Actual result: Animated stickers has Nx playback where N > 1 (speedup playback) Expected result: Animated sticker plays at 1x speed (normal speed)

Screenshots

https://user-images.githubusercontent.com/1360989/130343368-404fb303-ddc8-4d7b-bd7d-6c65e0cc5f3b.mp4

Device info

Device: Pixel 4 XL Android version: 11 Signal version: 5.21.5

Link to debug log

https://debuglogs.org/49e228331f02ade703174bf1d58d2636e6071de1fda7c4826d160eb710bbb41c

stale[bot] commented 2 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

niktss commented 1 year ago

This is still relevant.

https://debuglogs.org/android/6.11.7/35c24ed7932463d024848742607d2f257d0b1535deb707e6e2ab98f599d0a1a0

https://signalstickers.com/pack/c7e3d8df4a74cbe278c3d94f975d1792