Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't play audio #52

Open
hermann-p opened this issue May 3, 2023 · 3 comments
Open

Can't play audio #52

hermann-p opened this issue May 3, 2023 · 3 comments

Comments

@hermann-p
Copy link

Composer & operating system versions

Composer: git latest 2023-05-03
OS: Linux (NixOS)

What is the problem?

The UI works, I can import audio files and text, drag around notes export result files etc.
But when I click on "Play (P)", nothing happens.
During start up I get following error message:

QMetaObject::connectSlotsByName: No matching signal for on_actionVideoFile_triggered()
QAudioDevice info
Supported codecs:  
"audio/pcm"  
Supported sample rates:  
8000  
11025
22050
44100
48000
Supported sample sizes:
8
16
24
32
Supported sample types:
1
2
3
Supported byte orders:
0
1
Supported channel counts:
1
2
4
6
8

Steps to reproduce

I built the app with the following nix expression, against

  • qt 5.15.9
  • qt phonon 4.11.1
  • qt phonon-backend-gstreamer 4.10.0
  • ffmpeg-full 5.1.3
{ pkgs ? import <nixpkgs> { } }:

pkgs.stdenv.mkDerivation {
  name = "performous-composer";
  src = pkgs.fetchFromGitHub {
    owner = "performous";
    repo = "composer";
    rev = "master";
    sha256 = "sha256-Xz0NlVBLTAHbt9d6MBMn8lqxAJz417B+aFunSGjX17U=";
  };
  buildInputs = with pkgs; [
    qt5.qtbase
    ffmpeg-full
    qt5.qtmultimedia
    libsForQt5.phonon
    libsForQt5.phonon-backend-gstreamer
    libsForQt5.libqtav
  ];
  nativeBuildInputs = with pkgs; [ cmake extra-cmake-modules ];
  dontWrapQtApps = true;
}

Additional context

No response

@Baklap4
Copy link
Member

Baklap4 commented Jun 3, 2023

I had the same while building from scratch again. I had to install

sudo apt install libqt5multimedia5-plugins

to get it to play audio

Let me know if it works then we'll close the issue :)

@lumbric
Copy link

lumbric commented Sep 29, 2023

I have the same issue - or a very similar one. I am using performous-composer 2.0 installed via apt on Pop!_OS 22.04 LTS.

When I press P to play the song, nothing happens, only the vertical line indicating the position starts shaking a bit, but it doesn't move forward. libqt5multimedia5-plugins is already installed.

This is the output on the terminal:

QAudioDevice info
Supported codecs:
"audio/pcm"
Supported sample rates:
8000
11025
22050
44100
48000
Supported sample sizes:
8
16
24
32
Supported sample types:
1
2
3
Supported byte orders:
0
1
Supported channel counts:
1
2
4
6
8
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active

@Tuupertunut
Copy link

Tuupertunut commented Dec 25, 2023

Same issue here. When pressing Play (P), the playback cursor shakes but does not move forward.

Composer: 2.0 from Ubuntu Jammy repository
OS: Ubuntu 22.04
libQt: 5.15.3 from Ubuntu Jammy repository
FFmpeg: 7:4.4.2 from Ubuntu Jammy repository
Audio file I'm trying to play: Ogg Vorbis

Terminal output:

QAudioDevice info
Supported codecs:
"audio/pcm"
Supported sample rates:
8000
11025
22050
44100
48000
Supported sample sizes:
8
16
24
32
Supported sample types:
1
2
3
Supported byte orders:
0
1
Supported channel counts:
1
2
4
6
8
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants