VLC 2.0.2 HTTP Server issue

About encoding, codec settings, muxers and filter usage
AyrA
New Cone
New Cone
Posts: 6
Joined: 14 Jul 2010 13:52
Operating System: Windows

VLC 2.0.2 HTTP Server issue

Postby AyrA » 23 Sep 2012 19:12

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?

gepebril
Blank Cone
Blank Cone
Posts: 76
Joined: 22 Oct 2007 23:31

Re: VLC 2.0.2 HTTP Server issue

Postby gepebril » 24 Sep 2012 14:41

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.

AyrA
New Cone
New Cone
Posts: 6
Joined: 14 Jul 2010 13:52
Operating System: Windows

Re: VLC 2.0.2 HTTP Server issue

Postby AyrA » 28 Sep 2012 23:28

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.

AyrA
New Cone
New Cone
Posts: 6
Joined: 14 Jul 2010 13:52
Operating System: Windows

Re: VLC 2.0.2 HTTP Server issue

Postby AyrA » 29 Sep 2012 00:14

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 2.0.2 HTTP Server issue

Postby Jean-Baptiste Kempf » 29 Sep 2012 03:18

You should give all your messages and logs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

AyrA
New Cone
New Cone
Posts: 6
Joined: 14 Jul 2010 13:52
Operating System: Windows

Re: VLC 2.0.2 HTTP Server issue

Postby AyrA » 29 Sep 2012 14:12

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

AyrA
New Cone
New Cone
Posts: 6
Joined: 14 Jul 2010 13:52
Operating System: Windows

Re: VLC 2.0.2 HTTP Server issue

Postby AyrA » 29 Sep 2012 14:50

I made a clientside log, which can be found here: http://home.ayra.ch/LOGIN/pub/VLC/VLC_LOG.html


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 3 guests