MLD-5.x > Raspberry PI

kein flüssiges Bild bei MLD 5.5 Testing rpi4 und Magenta-TV (IPTV)

(1/4) > >>

sturmmoewe:
Hi Leute

Ich versuche auf einem RPi4 die MLD 5.5 Testing zusammen mit Telekom Magenta-TV (IPTV) an meinem DSL Anschluss zum Laufen zu bringen.
Wer hat mit dieser Kombination schon Erfahrungen gesammelt? Bei mir ist selbst mit SD Kanälen kein flüssigen Bild zu erreichen. Bei HD sieht es noch schlechter aus.
Bei SD gibt es für ca 2 Sekunden ein Bewegtbild, dann stockt es für ca. 5-10 Sekunden und wiederholt sich danach. Die CPU Last liegt bei ca. 85-95%. Das meiste geht dabei auf den vlc Prozess zur Konvertierung des IPTV.

Im /var/log/vdr sehe ich dabei nach einem Restart des VDR folgendes:

--- Code: ---VDR exits at Mi Dez  8 18:23:41 CET 2021
Home directory not accessible: Permission denied
[02429370] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[024381f8] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[024381f8] main interface error: no suitable interface module
[023cbf68] main libvlc error: interface "dbus,none" initialization failed
[0244f890] main interface error: no suitable interface module
[023cbf68] main libvlc error: interface "globalhotkeys,none" initialization failed
[0244f890] dummy interface: using the dummy interface module...
[b3202e58] main decoder error: buffer deadlock prevented
[afb014e8] x264 encoder: using cpu capabilities: ARMv6 NEON

[afb014e8] x264 encoder: profile High, level 3.0

[afb014e8] x264 encoder: final ratefactor: 17.33

[h264 @ 0xafb59580] mmco: unref short failure
[h264 @ 0xafb59580] mmco: unref short failure
[h264 @ 0xafb59580] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[afb014e8] x264 encoder: using SAR=16/11

[afb014e8] x264 encoder: using cpu capabilities: ARMv6 NEON

[afb014e8] x264 encoder: profile High, level 3.0

[h264 @ 0xafb40dc0] mmco: unref short failure
[h264 @ 0xafb40dc0] mmco: unref short failure
[h264 @ 0xafb71d00] mmco: unref short failure
[h264 @ 0xafb71d00] mmco: unref short failure
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty

--- End code ---

Ist der Rpi4 mit Softhddevice eventuell zu schwach, dass IPTV flüssig anzeigen zu können? Oder welche Tricks gibt es eventuell noch zum Ausprobieren?

Viele Grüße
Ulf

gr4vity:
Hi,

Welcome :)

I think pulseaudio package for RPI4 is broken,
I had to repack pulseaudio debian package to make it work.

Have you tried alsa instead?

I dunno about libvlc error, you have vlc installed?

Best Regards

sturmmoewe:
Hi gr4vity

Thanks for your warm welcome and your quick reply.

Yes, vlc is installed. Searching for the given packages shows

--- Code: ---MLD> dpkg -l |grep -i vlc
ii  libvlc5                         3.0.12-~1                    armhf        multimedia player and streamer library
ii  libvlccore9                     3.0.12-~1                    armhf        base library for VLC and its modules
ii  vlc                             3.0.12-18                    armhf        VLC Media Player ist ein Wiedergabe-Programm für Multimedia-Inhalte. Es werden DVDs, Video-CDs, MP3s, MOV- und FLV-Dateien oder DivX unterstützt.
MLD> dpkg -l |grep -i pulse
ii  libp8-platform2                 2.1.0.1-~1                   armhf        Pulse-Eight's platform support library
ii  libpulse0                       12.2-~3                      armhf        PulseAudio client libraries
MLD> dpkg -l |grep -i alsa
ii  alsa:armhf-rpi4                 1.1.8-46.2+5.12.6            armhf-rpi4   Soundkarten-Treiber
ii  libasound2                      1.1.8-~1                     armhf        shared library for ALSA applications

--- End code ---

How do I switch from PulseAudio to Alsa (using the MLD web config)? Within the MLD sound configuration I can't see any selection for Alsa or PulseAudio. Can you please point me to the right config steps to give it a try? Thanks.

Regards
Ulf

gr4vity:
Hello sturmmoewe,

From command line, do as follows:
apt update
apt remove pulseaudio
apt install alsa

Then see if it works, if not then you can wait for Claus to fix pulseaudio package.

Best Regards.

sturmmoewe:
Gr4vity,

Thanks again. PulseAudio is not installed, only libpulse0. And on the other side Alsa is already installed.

--- Code: ---MLD> apt update
Get:1 http://www.minidvblinux.de/download/5.5/files testing InRelease [2.425 B]
Fetched 2.425 B in 1s (2.693 B/s)   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
MLD> apt remove pulseaudio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'pulseaudio:armhf-rpi4' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
MLD> apt install alsa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
alsa:armhf-rpi4 is already the newest version (1.1.8-46.2+5.12.6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

--- End code ---

So the recommended remove and install commands have no effect.
If I try to remove libpulse0 I get the following dependencies that will also be removed. And this seems not ok for me, so I didn't try it.  ;)

--- Code: ---MLD> apt remove libpulse0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  liba52-0.7.4 libaa1 libaom0 libaribb24-0 libass9 libasyncns0 libavahi-client3 libavahi-common3 libavc1394-0 libavcodec58 libavformat58 libavutil56 libbasicusageenvironment1 libbluray2 libcaca0 libcddb2 libchromaprint1
  libcodec2-0.8.1 libcroco3 libcups2 libdc1394-22 libdca0 libdouble-conversion1 libdvbpsi10 libdvdnav4 libdvdread4 libebml4v5 libfaad2 libflac8 libgme0 libgomp1 libgpm2 libgroupsock8 libgsm1 libixml10 libjbig0 libkate1
  liblcms2-2 libldb1 liblivemedia64 liblua5.2-0 libmad0 libmatroska6v5 libmp3lame0 libmpcdec6 libmpeg2-4 libmtp9 libmysofa0 libnfs12 libogg0 libopenmpt-modplug1 libopenmpt0 libopus0 libpcre2-16-0 libplacebo7 libpostproc55
  libprotobuf-lite17 libqt5core5a libqt5gui5 libqt5svg5 libqt5widgets5 libqt5x11extras5 libraw1394-11 libresid-builder0c2a librsvg2-2 libsamplerate0 libshine3 libshout3 libsidplay2 libslang2 libsmbclient libsndfile1
  libsndio7.0 libsoxr0 libspatialaudio0 libspeex1 libspeexdsp1 libssh-gcrypt-4 libswresample3 libswscale5 libtag1v5-vanilla libtalloc2 libtdb1 libtevent0 libtheora0 libtiff5 libtwolame0 libupnp13 libusageenvironment3
  libva-drm2 libva-wayland2 libva-x11-2 libva2 libvdpau1 libvlc5 libvlccore9 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx5 libvulkan1 libwavpack1 libwbclient0 libwebpmux3 libwrap0 libx264-155 libxcb-keysyms1 libxcb-randr0
  libxcb-xv0 libxvidcore4 libzvbi0 samba-libs
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libpulse0 libsdl-image1.2 libsdl1.2debian vdr-plugin-iptv vlc
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 14,7 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version