I am running a setup where I use VLC to transcode a number of web-radio channels to multicast using VLC. However, these transcodes start to fail after a number of hours (typically 3-5 but sometimes much less) with the following error types:
Code: Select all
main warning: late buffer for mux input (14678)
main warning: late buffer for mux input (4865)
main warning: late buffer for mux input (976)
Here is an example of the configuration used to encode the stream:
Code: Select all
#!/bin/sh
#
export SUDO_UID=105
KANAL=radiotest
exec /usr/bin/vlc-wrapper -I dummy --rtsp-wmserver --rtsp-tcp --ttl 32 --vlm-conf /etc/vlc/$KANAL.conf --loop --http-reconnect --verbose 2 --extraintf logger --logfile /var/log/vlc/$KANAL.log
Code: Select all
new radiotest broadcast enabled
setup radiotest input http://netradio.radioskive.dk/
setup radiotest output #transcode{acodec=mp2a,ab=128,channels=2,samplerate=48000,alang=dan}:duplicate{dst=std{access=udp,mux=ts,dst=239.101.102.253:5501}}
control radiotest play
The VLC version used is this (I have removed the debian-multimedia repository as described on these forums):
Code: Select all
vlc@media-transcoder2:~$ vlc --version
VLC media player 1.1.3 The Luggage (revision exported)
VLC version 1.1.3 The Luggage (exported)
Compiled by pbuilder on deep-thought (Feb 9 2011 20:15:21)
Compiler: gcc version 4.4.5 (Debian 4.4.5-8)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.
Code: Select all
-- logger module started --
inhibit error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
main error: no suitable interface module
main error: no suitable interface module
main error: interface "globalhotkeys,none" initialization failed
dummy: using the dummy interface module...
main warning: option file-caching is unknown
access_http warning: ICY metaint=16000
access_http: Raw-audio server found, mp3 demuxer selected
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1200 ms)
main warning: late buffer for mux input (1695116)
main warning: late buffer for mux input (1672654)
main warning: late buffer for mux input (1649932)
main warning: late buffer for mux input (1627101)
main warning: late buffer for mux input (1604404)
I will be happy to provide any information I have neglected.