Page 1 of 1

listening to a webradio stops after a few minutes

Posted: 02 Mar 2011 16:12
by MajinJoko
Good evening everyone.

I'm trying to listen to the webradio of my university at the link: rtsp://157.27.6.40/fan
I'm experiecing the same problem on linux and windows, on vlc versions 1.1.4 and 1.1.7.

VLC connects to the stream, that now and then stops for a second, and after a few minutes it stops. I had to restart it.

This is a complete log, from the connection attempt to the end:

Code: Select all

qt4 warning: Input option: rtsp-caching=1200 main debug: adding item `rtsp://157.27.6.40/fan' ( rtsp://157.27.6.40/fan ) qt4 debug: Adding a new MRL to recent ones: rtsp://157.27.6.40/fan main debug: rebuilding array of current - root Scaletta main debug: rebuild done - 2 items, index 0 main debug: processing request item rtsp://157.27.6.40/fan node null skip 0 main debug: resyncing on rtsp://157.27.6.40/fan main debug: rtsp://157.27.6.40/fan is at 1 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'rtsp://157.27.6.40/fan' main debug: thread (input) created at priority 10 (input/input.c:214) main debug: TIMER input launching for 'http://157.27.6.40/fan' : 23854.007 ms - Total 23854.007 ms / 1 intvls (Avg 23854.006 ms) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path '/tmp' main debug: `rtsp://157.27.6.40/fan' gives access `rtsp' demux `' path `157.27.6.40/fan' main debug: creating demux: access='rtsp' demux='' path='157.27.6.40/fan' main debug: looking for access_demux module: 1 candidate qt4 debug: IM: Setting an input main debug: meta ok for (null), need to fetch art live555 debug: RTP subsession 'audio/X-ASF-PF' main debug: thread (stream out) created at priority 10 (input/stream_demux.c:100) live555 debug: setup start: 0.000000 stop:0.000000 main debug: thread started main debug: creating demux: access='' demux='asf' path='' live555 debug: play start: 0.000000 stop:8791668366.256001 main debug: using access_demux module "live555" main debug: TIMER module_need() : 77.193 ms - Total 77.193 ms / 1 intvls (Avg 77.193 ms) main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in /home/mikub/.local/share/vlc/lua/meta/reader lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 0.561 ms - Total 0.561 ms / 1 intvls (Avg 0.561 ms) main debug: `rtsp://157.27.6.40/fan' successfully opened main debug: looking for meta fetcher module: 1 candidate lua debug: Trying Lua scripts in /home/mikub/.local/share/vlc/lua/meta/fetcher lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac main debug: using meta fetcher module "lua" main debug: TIMER module_need() : 0.438 ms - Total 0.438 ms / 1 intvls (Avg 0.438 ms) main debug: removing module "lua" main debug: searching art for rtsp://157.27.6.40/fan main debug: looking for art finder module: 2 candidates lua debug: Trying Lua scripts in /home/mikub/.local/share/vlc/lua/meta/art lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/04_musicbrainz.luac lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art main debug: no art finder module matching "any" could be loaded main debug: TIMER module_need() : 1.357 ms - Total 1.357 ms / 1 intvls (Avg 1.357 ms) main debug: art not found for rtsp://157.27.6.40/fan main debug: looking for demux module: 1 candidate asf debug: found object guid: 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:5070 asf debug: read "header object" subobj:7, reserved1:1, reserved2:2 asf debug: found object guid: 0x75b22633-0x668e-0x11cf-0xa6d900aa0062ce6c size:168 asf debug: read "content description object" title:"FuoriAulaNetwork" artist:"FuoriAulaNetwork" copyright:"Università degli Studi di Verona" description:"" rating:"" asf debug: found object guid: 0x7bf875ce-0x468d-0x11d1-0x8d82006097c9a2b2 size:32 asf debug: read "stream bitrate properties object" asf debug: - stream=1 bitrate=128694 asf debug: found object guid: 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104 asf debug: read "file properties object" file_id:0x5055ba3a-0x639d-0x4f18-0x852c2e2dcbc6867c file_size:5120 creation_date:129433654630440000 data_packets_count:4294967295 play_duration:0 send_duration:0 preroll:1451 flags:9 min_data_packet_size:5493 max_data_packet_size:5493 max_bitrate:128694 asf debug: found object guid: 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:4280 asf debug: read "header extension object" reserved1:0xabd3d211-0xa9ba-0x11cf-0x8ee600c00c205365 reserved2:6 header_extension_size:4234 asf debug: found object guid: 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85 size:46 asf debug: read "language list object" 2 entries asf debug: - 'it' asf debug: - 'en-us' asf debug: found object guid: 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:88 asf debug: read "extended stream properties object": asf debug: - start=0 end=0 asf debug: - data bitrate=128016 buffer=1451 initial fullness=0 asf debug: - alternate data bitrate=128016 buffer=1451 initial fullness=0 asf debug: - maximum object size=5462 asf debug: - flags=0x0 asf debug: - stream number=1 language=1 asf debug: - average time per frame=0 asf debug: - stream name count=0 asf debug: - payload extension system count=0 asf debug: found object guid: 0x26f18b5d-0x4584-0x47ec-0x9f5f0e651f0452c9 size:26 asf warning: unknown asf object (not loaded) asf debug: found object guid: 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca size:122 asf debug: read "metadata object" 2 entries asf debug: - IsVBR=0 asf debug: - DeviceConformanceTemplate=L2 asf debug: found object guid: 0x1806d474-0xcadf-0x4509-0xa4ba9aabcb96aae8 size:3952 asf warning: unknown asf object (not loaded) asf debug: found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:114 asf debug: read "stream Properties object" stream_type:0xf8699e40-0x5b4d-0x11cf-0xa8fd00805f5c442b error_correction_type:0xbfc3cd50-0x618f-0x11cf-0x8bb200aa00b4e220 time_offset:0 type_specific_data_length:28 error_correction_data_length:8 flags:0x1 stream_number:1 asf debug: found object guid: 0xd2d0a440-0xe307-0x11d2-0x97f000a0c95ea850 size:168 asf debug: read "extended content description object" asf debug: - 'WMFSDKVersion' = '11.0.6002.18049' asf debug: - 'WMFSDKNeeded' = '0.0.0.0000' asf debug: - 'IsVBR' = 'false' asf debug: found object guid: 0x86d15240-0x311d-0x11d0-0xa3a400a0c90348f6 size:174 asf debug: read "codec list object" reserved_guid:0x86d15241-0x311d-0x11d0-0xa3a400a0c90348f6 codec_entries_count:1 asf debug: - codec[0] audio name:"Windows Media Audio 9.2" description:"128 kbps, 48 kHz, stereo 1-pass CBR" information_length:2 asf debug: found object guid: 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:50 asf debug: read "data object" file_id:0x5055ba3a-0x639d-0x4f18-0x852c2e2dcbc6867c total data packet:0 reserved:257 asf debug: + 'Unknown' GUID 0x0-0x0-0x0-0x0000000000000000 size:0pos:0 asf debug: + 'Header' GUID 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:5070pos:0 asf debug: | + 'Content Description' GUID 0x75b22633-0x668e-0x11cf-0xa6d900aa0062ce6c size:168pos:30 asf debug: | + 'Stream Bitrate Properties' GUID 0x7bf875ce-0x468d-0x11d1-0x8d82006097c9a2b2 size:32pos:198 asf debug: | + 'File Properties' GUID 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104pos:230 asf debug: | + 'Header Extension' GUID 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:4280pos:334 asf debug: | | + 'Language List' GUID 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85 size:46pos:380 asf debug: | | + 'Extended Stream Properties' GUID 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:88pos:426 asf debug: | | + 'Unknown' GUID 0x26f18b5d-0x4584-0x47ec-0x9f5f0e651f0452c9 size:26pos:514 asf debug: | | + 'Metadata' GUID 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca size:122pos:540 asf debug: | | + 'Padding' GUID 0x1806d474-0xcadf-0x4509-0xa4ba9aabcb96aae8 size:3952pos:662 asf debug: | + 'Stream Properties' GUID 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:114pos:4614 asf debug: | + 'Extended content description' GUID 0xd2d0a440-0xe307-0x11d2-0x97f000a0c95ea850 size:168pos:4728 asf debug: | + 'Codec List' GUID 0x86d15240-0x311d-0x11d0-0xa3a400a0c90348f6 size:174pos:4896 asf debug: + 'Data' GUID 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:50pos:5070 asf debug: found 1 streams asf debug: added new audio stream(codec:0x161,ID:1) main debug: selecting program id=0 main debug: looking for decoder module: 30 candidates avcodec debug: libavcodec initialized (interface 0x344802) avcodec debug: ffmpeg codec (Windows Media Audio 2) started avcodec debug: Using 192000 bytes output buffer main debug: using decoder module "avcodec" main debug: TIMER module_need() : 545.734 ms - Total 545.734 ms / 1 intvls (Avg 545.734 ms) main debug: thread (decoder) created at priority 5 (input/decoder.c:301) main debug: thread started main debug: using demux module "asf" main debug: TIMER module_need() : 577.425 ms - Total 577.425 ms / 1 intvls (Avg 577.425 ms) main debug: Buffering 0% avcodec warning: Physical channel configuration not set : guessing main debug: creating aout main debug: looking for audio output module: 4 candidates pulse debug: 2 audio channels pulse debug: Pulse mainloop started pulse debug: Pulse stream connected pulse debug: Pulse initialized successfully pulse debug: Buffer metrics: maxlength=153600, tlength=46080, prebuf=38400, minreq=7680 pulse debug: Using sample spec 'float32le ch 2 48000 Hz', channel map 'front-left,front-right'. pulse debug: Connected to device alsa_output.pci-0000_00_1b.0.analog-stereo (0, not suspended). main debug: using audio output module "pulse" main debug: TIMER module_need() : 83.417 ms - Total 83.417 ms / 1 intvls (Avg 83.417 ms) main debug: output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes main debug: mixer 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes main debug: no need for any filter main debug: looking for audio mixer module: 3 candidates main debug: using audio mixer module "float32_mixer" main debug: TIMER module_need() : 3.420 ms - Total 3.420 ms / 1 intvls (Avg 3.420 ms) main debug: input 's16l' 48000 Hz Stereo frame=1 samples/4 bytes main debug: looking for audio filter module: 1 candidate scaletempo debug: format: 48000 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: TIMER module_need() : 14.925 ms - Total 14.925 ms / 1 intvls (Avg 14.925 ms) main debug: filter(s) 's16l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo main debug: looking for audio filter module: 14 candidates audio_format debug: s16l->f32l, bits per sample: 16->32 main debug: using audio filter module "audio_format" main debug: TIMER module_need() : 64.851 ms - Total 64.851 ms / 1 intvls (Avg 64.851 ms) main debug: found a filter for the whole conversion main debug: filter(s) 'f32l'->'f32l' 52800 Hz->48000 Hz Stereo->Stereo main debug: looking for audio filter module: 14 candidates bandlimited_resampler debug: f32l/52800KHz/2->f32l/48000KHz/2 main debug: using audio filter module "bandlimited_resampler" main debug: TIMER module_need() : 0.134 ms - Total 0.134 ms / 1 intvls (Avg 0.134 ms) main debug: found a filter for the whole conversion main debug: End of audio preroll main debug: Buffering 32% main debug: Buffering 32% main debug: Buffering 56% main debug: Buffering 84% main debug: Stream buffering done (1312 ms in 1681 ms) main debug: Decoder buffering done in 0 ms pulse debug: Pulse stream started main warning: buffer is 50668 in advance, triggering downsampling main warning: output date isn't PTS date, requesting resampling (53456) main warning: resampling stopped after 266701 usec (drift: -21330) main warning: audio drift is too big (128538), dropping buffer main warning: buffer is 43205 late, triggering upsampling main warning: timing screwed, stopping resampling main warning: buffer is 64918 late, triggering upsampling main warning: resampling stopped after 851782 usec (drift: 19109) main warning: audio drift is too big (247196), dropping buffer main warning: audio drift is too big (161863), dropping buffer main warning: buffer is 76529 late, triggering upsampling main warning: resampling stopped after 2902191 usec (drift: -74388) main warning: buffer is 74555 late, triggering upsampling main warning: audio drift is too big (150031), dropping buffer main warning: timing screwed, stopping resampling main warning: buffer is 114950 late, triggering upsampling main warning: audio drift is too big (301336), dropping buffer main warning: audio drift is too big (216003), dropping buffer main warning: audio drift is too big (130670), dropping buffer main warning: resampling stopped after 3427803 usec (drift: -13467) main warning: buffer is 108763 in advance, triggering downsampling main warning: audio drift is too big (-164674), clearing out main warning: timing screwed, stopping resampling main warning: mixer start isn't output start (-65770) main debug: audio output is starving (272914), playing silence main warning: buffer is 65859 in advance, triggering downsampling main warning: audio drift is too big (-153818), clearing out main warning: timing screwed, stopping resampling main warning: mixer start isn't output start (-59081) main debug: audio output is starving (246739), playing silence main warning: buffer is 44463 in advance, triggering downsampling main warning: audio drift is too big (142329), dropping buffer main warning: resampling stopped after 2032340 usec (drift: -57017) main warning: buffer is 57183 late, triggering upsampling main warning: resampling stopped after 647099 usec (drift: -7209) main warning: buffer is 51262 late, triggering upsampling main warning: timing screwed, stopping resampling main warning: buffer is 94703 late, triggering upsampling main warning: audio drift is too big (167259), dropping buffer main warning: audio drift is too big (197481), dropping buffer main warning: audio drift is too big (141166), dropping buffer main warning: audio drift is too big (-145558), clearing out main warning: timing screwed, stopping resampling main warning: mixer start isn't output start (-58606) main debug: audio output is starving (279447), playing silence main warning: buffer is 53008 late, triggering upsampling main warning: resampling stopped after 956841 usec (drift: 8155) main warning: buffer is 44616 late, triggering upsampling main warning: resampling stopped after 736849 usec (drift: 9797) main warning: buffer is 49669 late, triggering upsampling main warning: resampling stopped after 2329389 usec (drift: -65981) main warning: buffer is 66148 late, triggering upsampling main warning: resampling stopped after 1560489 usec (drift: 44126) main warning: buffer is 48307 in advance, triggering downsampling main warning: timing screwed, stopping resampling main warning: buffer is 114338 in advance, triggering downsampling main warning: audio drift is too big (-123818), clearing out main warning: timing screwed, stopping resampling main warning: mixer start isn't output start (-50105) main debug: audio output is starving (230029), playing silence main warning: buffer is 60652 late, triggering upsampling main warning: timing screwed, stopping resampling main warning: buffer is 114352 late, triggering upsampling main warning: audio drift is too big (125184), dropping buffer main warning: resampling stopped after 1226703 usec (drift: -39287) main warning: buffer is 55142 late, triggering upsampling main warning: timing screwed, stopping resampling main warning: buffer is 86147 late, triggering upsampling main warning: resampling stopped after 8361029 usec (drift: 6778) main warning: buffer is 40079 in advance, triggering downsampling main warning: timing screwed, stopping resampling main warning: buffer is 66329 in advance, triggering downsampling main warning: timing screwed, stopping resampling main warning: buffer is 107379 in advance, triggering downsampling main warning: audio drift is too big (-157451), clearing out main warning: timing screwed, stopping resampling main warning: mixer start isn't output start (-65220) main debug: audio output is starving (261175), playing silence main warning: buffer is 63017 in advance, triggering downsampling main warning: timing screwed, stopping resampling main warning: buffer is 103853 in advance, triggering downsampling main warning: audio drift is too big (-129549), clearing out main warning: timing screwed, stopping resampling main warning: mixer start isn't output start (-57282) main debug: audio output is starving (290977), playing silence main warning: buffer is 41060 in advance, triggering downsampling main warning: resampling stopped after 3622320 usec (drift: -50289) main warning: buffer is 50456 late, triggering upsampling main warning: timing screwed, stopping resampling main warning: buffer is 101340 late, triggering upsampling main warning: audio drift is too big (150455), dropping buffer main warning: audio drift is too big (160582), dropping buffer main warning: audio drift is too big (143619), dropping buffer main warning: audio drift is too big (121149), dropping buffer main warning: resampling stopped after 9612979 usec (drift: -118796) main warning: buffer is 118629 late, triggering upsampling main warning: resampling stopped after 15338597 usec (drift: -23765) main warning: buffer is 42135 in advance, triggering downsampling live555 warning: no data received in 10s, eof ? main debug: EOF reached avcodec debug: ffmpeg codec (Windows Media Audio 2) stopped main debug: removing module "avcodec" main debug: killing decoder fourcc `WMA2', 0 PES in FIFO main debug: removing module "audio_format" main debug: removing module "scaletempo" main debug: removing module "bandlimited_resampler" pulse debug: Pulse Close main debug: finished input main debug: removing module "pulse" main debug: removing module "float32_mixer" main debug: releasing aout asf warning: cannot peek while getting new packet, EOF ? main debug: thread ended asf debug: free asf object 0x75b22633-0x668e-0x11cf-0xa6d900aa0062ce6c asf debug: free asf object 0x7bf875ce-0x468d-0x11d1-0x8d82006097c9a2b2 asf debug: free asf object 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 asf debug: free asf object 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85 asf debug: free asf object 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a asf warning: unknown asf object 0x26f18b5d-0x4584-0x47ec-0x9f5f0e651f0452c9 asf debug: free asf object 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca asf warning: unknown asf object 0x1806d474-0xcadf-0x4509-0xa4ba9aabcb96aae8 asf debug: free asf object 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 asf debug: free asf object 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 asf debug: free asf object 0xd2d0a440-0xe307-0x11d2-0x97f000a0c95ea850 asf debug: free asf object 0x86d15240-0x311d-0x11d0-0xa3a400a0c90348f6 asf debug: free asf object 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c asf debug: free asf object 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c main debug: Program doesn't contain anymore ES main debug: removing module "asf" main debug: removing module "live555" main debug: thread ended main debug: dead input main debug: changing item without a request (current 1/2) main debug: nothing to play qt4 debug: IM: Deleting the input
I can't figure out the problem. Maybe you can help me.
Any help would be *really* appreciated.

Bye for now / MJ

Re: listening to a webradio stops after a few minutes

Posted: 02 Mar 2011 17:46
by Rémi Denis-Courmont
VLC did not receive any data for more than 10 seconds. With RTSP, this is almost systematically a firewall problem.

Re: listening to a webradio stops after a few minutes

Posted: 04 Mar 2011 14:09
by MajinJoko
With RTSP, this is almost systematically a firewall problem.
What else can be?
This error happens both when connected to the university wireless lan, and at my home. And, in my personal wireless net, I have no firewall.
Same error on windows, linux, connected to the university lan or at my own lan.

Any other suggestion?

Thank you, again,
MJ

Re: listening to a webradio stops after a few minutes

Posted: 04 Mar 2011 14:39
by Sébastien Escudier
I think you have a poor connection between you and the server, and when there is a gap of 10s in the stream the rtsp connection is closed.

Re: listening to a webradio stops after a few minutes

Posted: 04 Mar 2011 15:30
by MajinJoko
It's still possible even if other programs (like WMP, or totem or Rhythmbox) works with this problem?