Dear all.
I have VDR4Arch docker headless installation on Unraid server with DD-Cine S2 cards installed. no problems ever experienced so far.
Last week I wanted to experiment with IPTV plugin as I have been given a playlist to play with.
IPTV Plugin installed, VDR is seeing the channels from the channels.conf and they are transferred correctly to Kodi with VDR-VNSI.
Unfortunately I have interruptions in sound which according to the log from VDR is due to VLC. The video picture is very stable and no dropouts can be seen.
I have installed and reinstalled VLC number of times but unfortunately the errors in the log remains the same and I am lost now:
log file:
QuoteDisplay More[000055657ba90630] main libvlc error: cannot open config file (/root/.config/vlc/vlcrc): Permission denied
Failed to create secure directory (/root/.config/pulse): Permission denied
[000055657bb1f620] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[000055657bb3a740] dbus interface error: Failed to connect to the D-Bus session daemon: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
[000055657bb3a740] main interface error: no suitable interface module
[000055657ba90630] main libvlc error: interface "dbus,none" initialization failed
[000055657bb816e0] main interface error: no suitable interface module
[000055657ba90630] main libvlc error: interface "globalhotkeys,none" initialization failed
[000055657bb816e0] dummy interface: using the dummy interface module...
user.err: May 6 16:45:31 vdr: [19660] VNSI-Error: No valid packet within timeout. Requesting re-tune
[0000556926aad630] main libvlc error: cannot open config file (/root/.config/vlc/vlcrc): Permission denied
Failed to create secure directory (/root/.config/pulse): Permission denied
[0000556926b3c620] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[0000556926b57740] dbus interface error: Failed to connect to the D-Bus session daemon: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
[0000556926b57740] main interface error: no suitable interface module
[0000556926aad630] main libvlc error: interface "dbus,none" initialization failed
[0000556926b9e6e0] main interface error: no suitable interface module
[0000556926aad630] main libvlc error: interface "globalhotkeys,none" initialization failed
[0000556926b9e6e0] dummy interface: using the dummy interface module...
The channels.conf file
QuotebTV Comedy HD;IPTV:10090:S=1|P=0|F=EXT|U=vlc2iptv_raw|A=10090:I:0:33=27:32=bul@3:0:0:1:1:10090:0
bTV Comedy HD.conf
QuoteURL="http://xx.xxx.xx.xxx:xxxx/play/bTV_Comedy_HD_h264_6002?auth=channels:@all"
vlc2iptv_raw
QuoteDisplay More#!/bin/sh
#
# vlc2iptv is used by the VDR iptv plugin to transcode external sources
#
# (C) 2007 Rolf Ahrenberg, Antti Seppälä
# (C) 2007 Tobias Grimm
#
# vlc2iptv is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This package is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this package; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
# MA 02110-1301, USA.
#
#
# <Global Settings>
#
CHANNELS_CONF=/vdr/config/channels.conf
CHANNEL_SETTINGS_DIR=/vdr/config/plugins/iptv/vlcinput/
VIDEO_BITRATE=2400
AUDIO_BITRATE=320
#
# </Global Settings>
#
exit_with_error()
{
logger "vlc2iptv: error: $*"
exit 1
}
read_arguments()
{
[ $# -ne 2 ] && exit_with_error "Invalid parameter count '$#' $*"
PARAMETER=$1
PORT=$2
}
lookup_channel_and_pids()
{
[ ! -e "$CHANNELS_CONF" ] && \
exit_with_error "channels.conf not found ($CHANNELS_CONF)"
local CHANNEL_RECORD=`grep "[:]S=[10][|]P=[10][|]F=EXT[|]U=vlc2iptv_raw[|]A=$PARAMETER[:]I" $CHANNELS_CONF`
[ -z "$CHANNEL_RECORD" ] && \
exit_with_error "no iptv channel with parameter $PARAMETER found"
CHANNEL_NAME=`echo $CHANNEL_RECORD | awk "-F[;,:]" '{print $1}'`
VPID=`echo $CHANNEL_RECORD | awk -F: '{print $6}'`
APID=`echo $CHANNEL_RECORD | awk -F: '{print $7}'`
SPID=0
}
load_channel_configuration()
{
local CHANNEL_SETTINGS_FILE="$CHANNEL_SETTINGS_DIR/$CHANNEL_NAME.conf"
[ ! -e "$CHANNEL_SETTINGS_FILE" ] && \
exit_with_error "No vlc input configuration for channel '$CHANNEL_NAME'"
. "$CHANNEL_SETTINGS_FILE"
[ -z "$URL" ] && \
exit_with_error "No URL specified for channel '$CHANNEL_NAME'"
}
read_arguments $*
lookup_channel_and_pids
load_channel_configuration
#
# Start VLC
#
if [ -n "$WIDTH" -a -n "$HEIGHT" ] ; then
RESIZE_OPTIONS=",width=${WIDTH},height=${HEIGHT}"
else
RESIZE_OPTIONS=""
fi
PID=${!}
trap 'kill -INT ${PID} 2> /dev/null' INT EXIT QUIT TERM
# Waiting for the given PID to terminate
wait ${PID}
The stream works perfectly without any sound dropouts when I play it directly with VLC on a mac and Windows pc.
I would be extremely happy for some ideas to try.
Thank you in advance.
Best regards.