Bug 480535

Summary: Add Gif support (should be supported by libmpv)
Product: [Applications] Haruna Reporter: tani.giovonni
Component: genericAssignee: george fb <georgefb899>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: BulletproofBears
Priority: NOR    
Version: 0.12.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tani.giovonni 2024-01-30 12:03:29 UTC
SUMMARY
While the standard mpv player can play gifs Haruna cannot and seems to just not open them for some reason. Presumably this is because Haruna isn't seeing the .gif file as a recognized video format and thus assumes it can't play it, though I can't actually substantiate that.

STEPS TO REPRODUCE
1. Attempt to open a .gif file with Haruna
2. Attempt to open a .gif file with MPV directly

OBSERVED RESULT
While the standalone MPV player can play .gifs Haruna will not open them.

EXPECTED RESULT
Haruna would be able to open and play .gif files similar to MPV since it's built off of libmpv. 

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma:  6.7.1 Zen
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
N/A
Comment 1 george fb 2024-04-15 22:32:07 UTC
I'd rather not start adding support for images.
Comment 2 george fb 2024-06-22 20:33:19 UTC
*** Bug 489006 has been marked as a duplicate of this bug. ***
Comment 3 BulletproofBears 2024-06-25 01:33:26 UTC
(In reply to george fb from comment #1)
> I'd rather not start adding support for images.

Haruna is already capable of playing them because the underlying mpv library is, the only thing stopping it is a builtin filetype check. (Plus I'd hardly call gifs "images" in anycase, people have fit entire movies in them and if you start doing fancy stuff like partially transparent layers you can get even more in less space.)