Page 1 of 1

Sreaming audio mp3 from DVB-S (RAM overflow problem)

Posted: 29 Jul 2007 13:12
by igos
Hello,
I've set up streaming audio mp3 from DVB-S satellites radios:

Code: Select all

vlc -d --color --ttl 12 --programs=xxxx dvb: --dvb-adapter=0 --dvb-frequency=YYYY --dvb-srate=27500000 --dvb-caching=300 --dvb-device=0 --dvb-inversion=0 --dvb-budget-mode --dvb-satno=0 --dvb-voltage=18 --no-dvb-high-voltage --dvb-tone=-1 --dvb-lnb-lof1=0 --dvb-lnb-lof2=0 --dvb-lnb-slof=0 --dvb-modulation=0 --dvb-code-rate-hp=9 --dvb-code-rate-lp=9 --dvb-bandwidth=8 --dvb-guard=0 --dvb-transmission=8 --dvb-hierarchy=0 --dvb-fec=9 --sout '#transcode{acodec=mp3,ab=256,channels=2}:duplicate{dst="std{access=http,mux=mp4,url=xxx.xxx.xxx.xxx:1231}", select="program=xxx"' -vvv
It works, but my server (Xeon Dual Core, 2GB ram, etc.) goes crazy, after a while it has 1,5 GB ram used, and I need to restart VLC deamon everytime.

This probably happens when VLC doesn't have enough time to send all stream in one time, and saves it in ram to send later. After a while it has to much things to be send (then streamed audio slows down) and my ram overflow.

Question: Do you know any command to tell VLC to drop not sent packets, so my ram will be not overflow?