Gallery icon indicating copy to clipboard operation
Gallery copied to clipboard

[BUG] AV1 playback is having serious performance issues (~10FPS)

Open ThomasBaruzier opened this issue 7 months ago • 2 comments

Checklist

  • [X] I can reproduce the bug with the latest version given here.
  • [X] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [X] This issue contains only one bug.
  • [X] I have read and understood the contribution guidelines.

Affected app version

1.1.3

Affected Android/Custom ROM version

Android 14 / HyperOS 1.0.2.0

Affected device model

Mi 11 Ultra / SD888

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

Download this video: video.webm Change the extention from webm to mkv (because github is letting me upload mkv) Play the video in Fossify Gallery

Expected behavior

60 FPS playback

Actual behavior

10 FPS playback

Screenshots/Screen recordings

Fossify: https://github.com/FossifyOrg/Gallery/assets/119688458/948b2e3f-70aa-4b06-ab1e-abdddcc6f2e3

Mpv: https://github.com/FossifyOrg/Gallery/assets/119688458/f5c562a2-f13b-4d98-a39e-bf498b6c8d13

Additional information

Video file was encoded with SVT AV1 PSY SVT-AV1-PSY 37a5609 (release 2.1.0-A), default settings + crf 40 + tune 3 + sharpness 2 + keyint 600 (10s) + preset 2 + 10 bits + 2 threads. Plays fine in other video players. Please update the video player library used in this project. Dav1d would be a great choice.

ThomasBaruzier avatar Jul 02 '24 18:07 ThomasBaruzier