Bug 480535 - Add Gif support (should be supported by libmpv)
Summary: Add Gif support (should be supported by libmpv)
Status: RESOLVED INTENTIONAL
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: 0.12.3
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
: 489006 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-01-30 12:03 UTC by tani.giovonni
Modified: 2024-06-25 01:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.)