this post was submitted on 27 May 2024
524 points (98.0% liked)

Technology

59589 readers
3394 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Frellwit@lemmy.world 3 points 6 months ago* (last edited 6 months ago) (5 children)

Mint is known to use old software in its repositories as it's based on Ubuntu LTS. The flatpak mpv should work though. flatpak install flathub io.mpv.Mpv and then run it with flatpak run io.mpv.Mpv https://www.youtube.com/watch?v=dQw4w9WgXcQ

If you don't want to type flatpak run io.mpv.Mpv all the time, you can create an alias in your ~/.bashrc file. For example: alias play='flatpak run io.mpv.Mpv'. (After editing your bashrc file, run: source ~/.bashrc to activate the change). Then you can run it with play https://www.youtube.com/watch?v=dQw4w9WgXcQ.

[–] vortexal@sopuli.xyz 1 points 5 months ago (2 children)

I know it's been a while but I tried the flatpak version of mpv and it's not working. If I open the flatpak version without any music it opens but it becomes unresponsive as soon as I try to load any music. I also have no idea how to diagnose this issue as running the flatpak version in the terminal gives no error messages.

The version that comes with Linux Mint works perfectly fine, so I don't need the flatpak version, I'm just curious as to why the flatpak version doesn't work.

[–] Frellwit@lemmy.world 2 points 5 months ago (1 children)

I think I also had this issue using Cinnamon once, but then I just used VLC instead. Never bothered to look into why. Worked fine in GNOME for me though.

I found a thread with a similar issue: https://forums.opensuse.org/t/flatpak-mpv-broken-since-20240306-snapshot/172981

There it seems the issue was audio. Try running the flatpak version with flatpak run io.mpv.Mpv --ao=pulse path-to-your-media-file

[–] vortexal@sopuli.xyz 1 points 5 months ago

If the issue is with the DE, I'm actually using the Xfce edition of Linux Mint. I would just use VLC but it gives me performance issues because I don't have the best hardware and mpv seems to work much more efficiently. But yeah, changing the audio output fixed this issue, I'm guessing the flatpak version of mpv defaults to pipewire. I was curious and I did test pipewire with both versions and I got the same results that they did.

load more comments (2 replies)