Can't play audio
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
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 :)
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
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