celluloid-player / celluloid

A simple GTK+ frontend for mpv
https://celluloid-player.github.io
GNU General Public License v3.0
1.14k stars 91 forks source link

Flatpak version does not play audio. #823

Open gegoxaren opened 1 year ago

gegoxaren commented 1 year ago

The flatpak version of Celluloid does not play any audio when playing to a jack sink.

This seems to have happened since the latest flatpak version, as I remember it working a week or two ago.

I would suspect it has something to do with this bug: https://github.com/celluloid-player/celluloid/issues/506

I have tried version from the repository and it works there.

$ celluloid --version
Celluloid 0.20

$ mpv --version
mpv 0.34.1 Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
FFmpeg library versions:
   libavutil       56.70.100
   libavcodec      58.134.100
   libavformat     58.76.100
   libswscale      5.9.100
   libavfilter     7.110.100
   libswresample   3.9.100
FFmpeg version: 4.4.2-0ubuntu0.22.04.1

Here is the version strings from inside the flatpak:

[📦 io.github.celluloid_player.Celluloid config]$ mpv --version
mpv 0.35.0 Copyright © 2000-2022 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
FFmpeg library versions:
   libavutil       57.28.100
   libavcodec      59.37.100
   libavformat     59.27.100
   libswscale      6.7.100
   libavfilter     8.44.100
   libswresample   4.7.100
FFmpeg version: 5.1.2

[📦 io.github.celluloid_player.Celluloid config]$ celluloid --version
Celluloid 0.24

I am unable to use mpv form within the flatpak environment, so I can't test it (I get an error that I need to select a video out device).

Thank you for your time!

gegoxaren commented 1 year ago

I figured it out: By adding "--ao=pulse" to my MPV options in Celluloid it started working again.

But it is a strange thing.

MerijnHendriks commented 1 year ago

Can confirm it solves the issue for me too.

cathalmccosker commented 6 months ago

Yep this fixed my issue too. Thanks.

The MPV options are located here:

Edit -> Preferences -> Miscellaneous Tab Extra mpv options: --ao=pulse