bad PTS after few hours of http streaming

About encoding, codec settings, muxers and filter usage
drus
Blank Cone
Blank Cone
Posts: 32
Joined: 27 Oct 2005 08:03
Contact:

bad PTS after few hours of http streaming

Postby drus » 13 Nov 2006 08:24

hello

i'm trying to make server-client streaming of audio. server and client have windows xp sp2
i'm using vlc-0.8.4a and vlc-0.8.5. but the situation is the same with both versions.
so, i use wxwidgets interface, but i'll try to write server mrl:

Code: Select all

vlc dshow://:dshow-vdev="none":dshow-adev="NVIDIA(R) nForce(TM) Audio":dshow-size="" --sout='#transcode{acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=:1234}}'
the client mrl is simple:

Code: Select all

vlc http://192.168.0.5:1234
so, at first it works well, the only messages are:
main audio output warning: buffer is 40739 in advance, triggering downsampling
main audio output warning: resampling stopped after 9533078 usec (drift: 51)
main audio output warning: buffer is 40005 in advance, triggering downsampling
main audio output warning: resampling stopped after 9639512 usec (drift: -135)

but after few hours of streaming the sound disappear, cpu load is 100% on client-side. and in the log i've got messages like:
main audio output warning: PTS is out of range (4674343), dropping buffer

on server there are no critical mistakes, the stream is going, if i reconnect client, it works fine again, but only 3-5 hours

can anybody help with it? why such things appear?

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests