Memory issue when using vlc as a background streaming app.
Posted: 24 Dec 2012 18:10
Hi.
I use vlc to redirect my hauppauge pvr150 analog tv card output (about 6Mbit/s) to a http stream in a background process. I do this so my pvr signal is usable on multiple computers at the same time.
This usually works fine, I can watch the same channel at multiple locations simultaneously.
But:
When my server has run for some time, after about 26 hrs (I found that out when I started logging memory stuff) the streaming process gradually (pretty linearly) increases its memory use until it stops being usable because too much memory is used. I now have this tracked so that when it reaches an early threshold, I stop and start the process automatically. This is a fix, but when it happens, any running instances using the http stream would stop because the stream was interrupted. This is a minor inconvenience and usually doesn't happen when watching tv.
It seems however, that again after about the same time, this happens all over again.
Has anyone noticed the same sort of behaviour in any way while streaming from a tv card?
I have compiled my own vlc with pvr support on Ubuntu 11.04 and it's version 2.0.3.
I use vlc to redirect my hauppauge pvr150 analog tv card output (about 6Mbit/s) to a http stream in a background process. I do this so my pvr signal is usable on multiple computers at the same time.
This usually works fine, I can watch the same channel at multiple locations simultaneously.
But:
When my server has run for some time, after about 26 hrs (I found that out when I started logging memory stuff) the streaming process gradually (pretty linearly) increases its memory use until it stops being usable because too much memory is used. I now have this tracked so that when it reaches an early threshold, I stop and start the process automatically. This is a fix, but when it happens, any running instances using the http stream would stop because the stream was interrupted. This is a minor inconvenience and usually doesn't happen when watching tv.
It seems however, that again after about the same time, this happens all over again.
Has anyone noticed the same sort of behaviour in any way while streaming from a tv card?
I have compiled my own vlc with pvr support on Ubuntu 11.04 and it's version 2.0.3.