i'm trying to get a python mediaplayer to work, but somehow the installation seems to miss some multimedia components.i've been trying to resolve this for a while now, but without success for far.
does anybody have a suggestion, how i could fix that problem?
thanks.
p.s. i'm running pi-os with latest updates.
i activated QT_DEBUG_PLUGINS and it showed some missing ffmpeg libs. however, trying to install them failed:
Code:
(venv) alpha@pi:~/PuniPi $ python mediaplayer.py No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available.Failed to initialize QMediaPlayer "Not available"Failed to create QVideoSink "Not available"
does anybody have a suggestion, how i could fix that problem?
thanks.
p.s. i'm running pi-os with latest updates.
i activated QT_DEBUG_PLUGINS and it showed some missing ffmpeg libs. however, trying to install them failed:
Code:
sudo apt-get install libavformat58 libavcodec58 libavutil56 libswresample3Hit:1 http://deb.debian.org/debian bookworm InReleaseHit:2 http://deb.debian.org/debian-security bookworm-security InReleaseGet:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]Get:4 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]Hit:5 http://archive.raspberrypi.com/debian bookworm InReleaseFetched 104 kB in 1s (144 kB/s)Reading package lists... DoneReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: libavcodec58 : Depends: libaom0 (>= 1.0.0) but it is not installable Depends: libcodec2-0.9 (>= 0.9.2) but it is not installable Depends: libdav1d4 (>= 0.2.1) but it is not installable Depends: libvpx6 (>= 1.6.0) but it is not installable Depends: libwebp6 (>= 0.5.1) but it is not installable Depends: libx264-160 (>= 2:0.160.3011+gitcde9a93) but it is not installable Depends: libx265-192 (>= 3.2) but it is not installable libavformat58 : Depends: libsrt1.4-gnutls (>= 1.4.2) but it is not installableE: Unable to correct problems, you have held broken packages.
Statistics: Posted by pi-alpha — Fri Dec 13, 2024 2:37 pm — Replies 0 — Views 24