Page 1 of 1

VLC 2.0.2 HTTP Server issue

Posted: 23 Sep 2012 19:12
by AyrA
I am streaming output from my local soundcard via HTTP to make some sort of WebRadio stream.

I Launch VLC with the following Arguments:

Code: Select all

vlc.exe dshow:// :dshow-vdev=none :dshow-adev= :live-caching=1000 :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{dst=:8080/stream.mp3} :sout-keep
When I am streaming the Station from another Machine I sometimes experience silence for a few msec after listening for about 5 minutes. This keeps repeating every few seconds from then on. I have set VLC to use CBR Encoding and specified 128 kbps. When looking at the Statistics Dialog of the VLC instance that is listening to the Stream the Input ant Data Bitrates range from 120 kbps to 140 kbps. I am listening to the stream for 45 Minutes now and have lost 16 Buffers. This is a wired LAN network and there should definitely not be that much loss.

Has anybody else experienced the same issue or has a solution for this problem?

Re: VLC 2.0.2 HTTP Server issue

Posted: 24 Sep 2012 14:41
by gepebril
There is a policy that VLC will help you when you use the last version on the code. At the moment that is 2.0.3.
There won't be bugfixes on older versions. So install 2.0.3. and check if the problem is still there.

Also try to activate logging and see if there is a warning error message around the 5 minutes. It's easier to solve problems with as much information as possible.

Re: VLC 2.0.2 HTTP Server issue

Posted: 28 Sep 2012 23:28
by AyrA
I updated VLC now (server and client side), but the Results are the same. I also tried other web stream players (AIMP 3, MTA:SA, WMP) and all have the same issue so I guess it's a serverside issue.
The log of the Server does not shows much Information (VLC was started with --verbose=2). Below is a screenshot of the actual situation. At this Point the Server was running for half an hour and a client was listening for 15 minutes.
I also find it interesting. that in the Output Part of the Statistics Dialog, everything is zero. And for some reason the Log Dialog is empty while the Console shows Log messages

Image

The Client side VLC shows this Message, when it "resets" the stream:
[006386f8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1000 ms)
[006386f8] main input error: ES_OUT_RESET_PCR called

VLC starts to stutter a bit, it gets worse over time and at some point it seems to pause the stream output completely to refill its buffer.

Re: VLC 2.0.2 HTTP Server issue

Posted: 29 Sep 2012 00:14
by AyrA
I recorded the client side soundcard output from the first stutter. Download: http://home.ayra.ch/FTP/download.aspx?d=%2FVLC
The Download includes:
An OGG File (Length about 1:30)
The Audacity Project if you want to analyze it.

As you can hear, it gets worse over time, until the stream is reset (at about 1:25). Then everything is back to normal for the next few Minutes.

Re: VLC 2.0.2 HTTP Server issue

Posted: 29 Sep 2012 03:18
by Jean-Baptiste Kempf
You should give all your messages and logs.

Re: VLC 2.0.2 HTTP Server issue

Posted: 29 Sep 2012 14:12
by AyrA
What you see in the Screenshot are all Messages. I left the server up and running over the night and the console still looks the same.
The Contents of the Log File is a Part from the Console:

Code: Select all

-- logger module started -- main debug: using interface module "logger" main debug: TIMER module_need() : 11.346 ms - Total 11.346 ms / 1 intvls (Avg 11.346 ms) qt4 debug: Using a general info windows

Re: VLC 2.0.2 HTTP Server issue

Posted: 29 Sep 2012 14:50
by AyrA
I made a clientside log, which can be found here: http://home.ayra.ch/LOGIN/pub/VLC/VLC_LOG.html