Audio streaming problem
Posted: 01 Feb 2008 05:29
Hi All,
When I use VLC to play internet radio(mms, mp2 format), a problems always occur.
main warning: buffer is 74518 late, triggering upsampling
main warning: audio drift is too big (148629), dropping buffer
main warning: resampling stopped after 891615 usec (drift: 28457)
main warning: audio drift is too big (-149774), clearing out
main warning: mixer start isn't output start (-42788)
main warning: audio drift is too big (167398), dropping buffer
As a result the radio is very choppy (discontinuous...) For the same link, no chopping problem when playing in Windows media player . Is there any setting I can set in VLC to solve the problem.
More information:
main debug: adding playlist item `http://www.rthk.org.hk/live1.asx' ( http://www.rthk.org.hk/live1.asx )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: creating statistics handler
main debug: thread 3952 (input) created at priority 1 (input/input.c:265)
main debug: `http://www.rthk.org.hk/live1.asx' gives access `http' demux `' path `www.rthk.org.hk/live1.asx'
main debug: creating demux: access='http' demux='' path='www.rthk.org.hk/live1.asx'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "http"
main debug: creating access 'http' path='www.rthk.org.hk/live1.asx'
main debug: looking for access2 module: 7 candidates
access_http debug: http: server='www.rthk.org.hk' port=80 file='/live1.asx
main debug: net: connecting to http://www.rthk.org.hk port 80
main debug: connection in progress
access_http debug: protocol 'HTTP' answer code 206
access_http debug: Server: RTHK Web Server
access_http debug: stream size=277
access_http debug: Content-Type: video/x-ms-asf
main debug: using access2 module "access_http"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: creating demux: access='http' demux='' path='www.rthk.org.hk/live1.asx'
main debug: looking for demux2 module: 45 candidates
m3u debug: playlist type: 2 - 2
main debug: using demux2 module "m3u"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: `http://www.rthk.org.hk/live1.asx' successfully opened
m3u debug: starting playlist playback
main debug: adding playlist item `mms://202.177.192.111/radio1' ( mms://202.177.192.111/radio1 )
main debug: EOF reached
main debug: closing input
main debug: removing module "m3u"
main debug: removing module "access_http"
main debug: thread times: real 0m0.265625s, kernel 0m0.031250s, user 0m0.015625s
main debug: thread 3952 joined (input/input.c:412)
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 3952 (input) created at priority 1 (input/input.c:265)
main debug: `mms://202.177.192.111/radio1' gives access `mms' demux `' path `202.177.192.111/radio1'
main debug: creating demux: access='mms' demux='' path='202.177.192.111/radio1'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "mms"
main debug: creating access 'mms' path='202.177.192.111/radio1'
main debug: looking for access2 module: 6 candidates
..............
main debug: using access2 module "access_mms"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: pre-buffering done 4638 bytes in 1s - 3 kbytes/s
main debug: creating demux: access='mms' demux='' path='202.177.192.111/radio1'
main debug: looking for demux2 module: 45 candidates
..............
main debug: selecting program id=0
asf debug: added new audio stream(codec:0x161,ID:1)
main debug: using demux2 module "asf"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for decoder module: 28 candidates
ffmpeg debug: libavcodec initialized (interface 3349504 )
ffmpeg debug: ffmpeg codec (Windows Media Audio 2) started
main debug: using decoder module "ffmpeg"
main debug: thread 4136 (decoder) created at priority 2 (input/decoder.c:159)
access_mms warning: unimplemented query in control
main debug: `mms://202.177.192.111/radio1' successfully opened
main debug: no aout present, spawning one
main debug: looking for audio output module: 4 candidates
main debug: using audio output module "aout_file"
main debug: output 's16l' 22050 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'fl32' 22050 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 22050 Hz->22050 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "float32tos16"
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: input 's16l' 22050 Hz Stereo frame=1 samples/4 bytes
main debug: filter(s) 's16l'->'fl32' 22050 Hz->22050 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "s16tofloat32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 24255 Hz->22050 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
When I use VLC to play internet radio(mms, mp2 format), a problems always occur.
main warning: buffer is 74518 late, triggering upsampling
main warning: audio drift is too big (148629), dropping buffer
main warning: resampling stopped after 891615 usec (drift: 28457)
main warning: audio drift is too big (-149774), clearing out
main warning: mixer start isn't output start (-42788)
main warning: audio drift is too big (167398), dropping buffer
As a result the radio is very choppy (discontinuous...) For the same link, no chopping problem when playing in Windows media player . Is there any setting I can set in VLC to solve the problem.
More information:
main debug: adding playlist item `http://www.rthk.org.hk/live1.asx' ( http://www.rthk.org.hk/live1.asx )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: creating statistics handler
main debug: thread 3952 (input) created at priority 1 (input/input.c:265)
main debug: `http://www.rthk.org.hk/live1.asx' gives access `http' demux `' path `www.rthk.org.hk/live1.asx'
main debug: creating demux: access='http' demux='' path='www.rthk.org.hk/live1.asx'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "http"
main debug: creating access 'http' path='www.rthk.org.hk/live1.asx'
main debug: looking for access2 module: 7 candidates
access_http debug: http: server='www.rthk.org.hk' port=80 file='/live1.asx
main debug: net: connecting to http://www.rthk.org.hk port 80
main debug: connection in progress
access_http debug: protocol 'HTTP' answer code 206
access_http debug: Server: RTHK Web Server
access_http debug: stream size=277
access_http debug: Content-Type: video/x-ms-asf
main debug: using access2 module "access_http"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: creating demux: access='http' demux='' path='www.rthk.org.hk/live1.asx'
main debug: looking for demux2 module: 45 candidates
m3u debug: playlist type: 2 - 2
main debug: using demux2 module "m3u"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: `http://www.rthk.org.hk/live1.asx' successfully opened
m3u debug: starting playlist playback
main debug: adding playlist item `mms://202.177.192.111/radio1' ( mms://202.177.192.111/radio1 )
main debug: EOF reached
main debug: closing input
main debug: removing module "m3u"
main debug: removing module "access_http"
main debug: thread times: real 0m0.265625s, kernel 0m0.031250s, user 0m0.015625s
main debug: thread 3952 joined (input/input.c:412)
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 3952 (input) created at priority 1 (input/input.c:265)
main debug: `mms://202.177.192.111/radio1' gives access `mms' demux `' path `202.177.192.111/radio1'
main debug: creating demux: access='mms' demux='' path='202.177.192.111/radio1'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "mms"
main debug: creating access 'mms' path='202.177.192.111/radio1'
main debug: looking for access2 module: 6 candidates
..............
main debug: using access2 module "access_mms"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: pre-buffering done 4638 bytes in 1s - 3 kbytes/s
main debug: creating demux: access='mms' demux='' path='202.177.192.111/radio1'
main debug: looking for demux2 module: 45 candidates
..............
main debug: selecting program id=0
asf debug: added new audio stream(codec:0x161,ID:1)
main debug: using demux2 module "asf"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for decoder module: 28 candidates
ffmpeg debug: libavcodec initialized (interface 3349504 )
ffmpeg debug: ffmpeg codec (Windows Media Audio 2) started
main debug: using decoder module "ffmpeg"
main debug: thread 4136 (decoder) created at priority 2 (input/decoder.c:159)
access_mms warning: unimplemented query in control
main debug: `mms://202.177.192.111/radio1' successfully opened
main debug: no aout present, spawning one
main debug: looking for audio output module: 4 candidates
main debug: using audio output module "aout_file"
main debug: output 's16l' 22050 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'fl32' 22050 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 22050 Hz->22050 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "float32tos16"
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: input 's16l' 22050 Hz Stereo frame=1 samples/4 bytes
main debug: filter(s) 's16l'->'fl32' 22050 Hz->22050 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "s16tofloat32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 24255 Hz->22050 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion