VLC 0.9.8a can not play m3u file from a web server

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
malinb73
New Cone
New Cone
Posts: 1
Joined: 21 Jan 2009 09:20

VLC 0.9.8a can not play m3u file from a web server

Postby malinb73 » 21 Jan 2009 11:50

Hi

I have a problem when I am trying to play a m3u file from a web server in VLC 0.9.8a build.
Playback of that song is possible from Window Media Player 10 and also from VLC 0.7.2 but not from VLC 0.9.8a
I've tried also other versions of VLc and I can say that behaviour I meat from version 0.8.2 to 0.9.8a.
The m3u and mp3 files are on the same location on web server : http://192.168.1.222/prelisten/

In m3u file http://192.168.1.222/prelisten/test.mp3.m3u is written address to mp3 file : "http://192.168.1.222/prelisten/test.mp3"

My system is WinXP SP2.
VLC version : 0.9.8a

Please help.

Kind Regards,
Bogdan Malinici

Below is the logs, notices and HTTP comunication between player and server for each player I've tested.

// ================= Player VLC 0.9.8a =======================
// ----------------
1. HTTP Communication for file http://192.168.1.222/prelisten/test.mp3.m3u
"GET /prelisten/test.mp3.m3u HTTP/1.1
Host: 192.168.1.222
User-Agent: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
Range: bytes=0-
Icy-MetaData: 1"

// ----------------
2. VLC Logs :
"qt4 debug: New item: http://192.168.1.222/prelisten/test.mp3.m3u
main debug: adding item `http://192.168.1.222/prelisten/test.mp3.m3u' ( http://192.168.1.222/prelisten/test.mp3.m3u )
main debug: rebuilding array of current - root Listă de redare
main debug: rebuild done - 1 items, index -1
main debug: starting new item
main debug: processing request item http://192.168.1.222/prelisten/test.mp3.m3u node null skip 0
main debug: resyncing on http://192.168.1.222/prelisten/test.mp3.m3u
main debug: http://192.168.1.222/prelisten/test.mp3.m3u is at 0
main debug: creating new input thread
main debug: Creating an input for 'http://192.168.1.222/prelisten/test.mp3.m3u'
main debug: thread started
main debug: waiting for thread initialization
main debug: `http://192.168.1.222/prelisten/test.mp3.m3u' gives access `http' demux `' path `192.168.1.222/prelisten/test.mp3.m3u'
main debug: creating demux: access='http' demux='' path='192.168.1.222/prelisten/test.mp3.m3u'
main debug: thread 5540 (input) created at priority 1 (input/input.c:370)
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "http"
main debug: TIMER module_Need() : 0.136 ms - Total 0.136 ms / 1 intvls (Avg 0.136 ms)
qt4 debug: Updating the stream status: 3
main debug: creating access 'http' path='192.168.1.222/prelisten/test.mp3.m3u'
main debug: looking for access module: 2 candidates
access_http debug: http: server='192.168.1.222' port=80 file='/prelisten/test.mp3.m3u
main debug: net: connecting to 192.168.1.222 port 80
main debug: connection: Resource temporarily unavailable
main debug: connection succeeded (socket = 5572)"

// ----------------
3. Apache log return code 400 (BAD REQUEST) (access.log file) and in error.log is written "request failed: error reading the header"

// ----------------
4. Note : making the same thing from second PC I got a HTTP/1.1 header where first line is User-Agent:... and second line is "GET" command.
Normally this is a broken header and web server will return in such a case code 400 (BAD Request) becose do not recognize the command "User-

Agent" which is in fact request-header field.

// ================= Player VLC 0.7.2 =======================
This player is working fine w/o any problem.

// ----------------
1. HTTP Communication for file http://192.168.1.222/prelisten/test.mp3.m3u
"GET /prelisten/test.mp3.m3u HTTP/1.1
Host: 192.168.1.222
User-Agent: VLC media player - version 0.7.2 Bond - (c) 1996-2004 VideoLAN
Range: bytes=0-
Connection: Close

HTTP/1.1 200 OK
Content-Type: audio/x-mpegurl
Connection: Close
Content-Length: 39

http://192.168.1.222/prelisten/test.mp3


GET /prelisten/test.mp3 HTTP/1.1
Host: 192.168.1.222
User-Agent: VLC media player - version 0.7.2 Bond - (c) 1996-2004 VideoLAN
Range: bytes=0-
Connection: Close

HTTP/1.1 206 Partial Content
Content-Type: audio/mpeg
Content-Length: 2809521
Content-Range: bytes 0-2809520/2809521
Last-Modified: Thu, 04 Jan 2007 21:43:20 GMT
Connection: Close"

// ----------------
2. VLC Logs

main debug: adding playlist item `http://192.168.1.222/prelisten/test.mp3.m3u' ( http://192.168.1.222/prelisten/test.mp3.m3u )
main debug: creating new input thread
main: playlist item `http://192.168.1.222/prelisten/test.mp3.m3u'
main debug: waiting for thread completion
main debug: access `http', demux `', name `192.168.1.222/prelisten/test.mp3.m3u'
main debug: looking for access module
main debug: probing 1 candidate
main debug: thread 2956 (input) created at priority 1 (src/input/input.c:326)
access_http debug: http: server='192.168.1.222' port=80 file='/prelisten/test.mp3.m3u
main debug: net: connecting to '192.168.1.222:80'
main debug: looking for network module
main debug: probing 2 candidates
ipv4 debug: connection in progress
main debug: using network module "ipv4"
main debug: unlocking module "ipv4"
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: audio/x-mpegurl
access_http debug: stream size=39
main debug: using access module "access_http"
main debug: looking for demux module
main debug: probing 7 candidates
dshow warning: dshow plugin discarded (not a valid stream)
dshow warning: dshow plugin discarded (not a valid stream)
main debug: using demux module "m3u"
main debug: adding playlist item `http://192.168.1.222/prelisten/test.mp3' ( http://192.168.1.222/prelisten/test.mp3 )
main: EOF reached
main debug: deleting playlist item `http://192.168.1.222/prelisten/test.mp3.m3u'
main debug: 1 loops
main debug: dumping stream ID 0x0 [OK:0/D:0]
main debug: pace controlled
main debug: unlocking module "m3u"
main debug: unlocking module "access_http"
main debug: pes: 0 packets
main debug: data: 0 packets
main debug: buffers: 1 packets
main warning: 65536 bytes have not been freed, expect memory leak
main debug: freeing info structures...
main debug: thread 2956 joined (src/input/input.c:373)
main debug: creating new input thread
main: playlist item `http://192.168.1.222/prelisten/test.mp3'
main debug: waiting for thread completion
main debug: access `http', demux `', name `192.168.1.222/prelisten/test.mp3'
main debug: looking for access module
main debug: probing 1 candidate
main debug: thread 2968 (input) created at priority 1 (src/input/input.c:326)
access_http debug: http: server='192.168.1.222' port=80 file='/prelisten/test.mp3
main debug: net: connecting to '192.168.1.222:80'
main debug: looking for network module
main debug: probing 2 candidates
ipv4 debug: connection in progress
main debug: using network module "ipv4"
main debug: unlocking module "ipv4"
access_http debug: protocol 'HTTP' answer code 206
access_http debug: Content-Type: audio/mpeg
access_http debug: stream size=2809521
main debug: using access module "access_http"
main debug: looking for demux module
main debug: probing 7 candidates
dshow warning: dshow plugin discarded (not a valid stream)
dshow warning: dshow plugin discarded (not a valid stream)
ts_dvbpsi warning: TS module discarded (no sync)
ts warning: TS module discarded (no sync)
main debug: demux2_New: 'http://192.168.1.222/prelisten/test.mp3' -> access='' demux='' path='192.168.1.222/prelisten/test.mp3'
main debug: looking for demux2 module
main debug: probing 27 candidates
mp4 warning: MP4 plugin discarded (not a valid file)
avi warning: avi module discarded (invalid header)
asf warning: ASF plugin discarded (not a valid file)
flac warning: flac module discarded (no startcode)
mpgv warning: ES module discarded (no startcode)
main debug: looking for id3 module
main debug: probing 2 candidates
id3tag debug: checking for ID3 tag
main debug: using id3 module "id3tag"
main debug: unlocking module "id3tag"
mpga debug: version=1 layer=3 channels=2 samplerate=44100
main debug: using demux2 module "mpga"
main debug: using demux module "demux2"
main debug: selecting ES 0x1
main debug: looking for decoder module
main debug: probing 22 candidates
main debug: using decoder module "mpeg_audio"
main debug: thread 3460 (decoder) created at priority 2 (src/input/input_dec.c:161)
mpeg_audio: MPGA channels:2 samplerate:44100 bitrate:128
main debug: looking for audio output module
main debug: probing 4 candidates
aout_directx debug: OpenAudio
aout_directx debug: device supports 2 channels
aout_directx debug: device supports 1 channel
aout_directx debug: creating DirectSoundThread
main debug: thread 3036 (DirectSound Notification Thread) created at priority 15 (directx.c:357)
aout_directx debug: DirectSoundThread ready
main debug: using audio output module "aout_directx"
main debug: output 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: no need for any filter
main debug: looking for audio mixer module
main debug: probing 3 candidates
main debug: using audio mixer module "trivial_mixer"
main debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes
main debug: filter(s) 'mpga'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module
main debug: probing 21 candidates
main debug: using audio filter module "mpgatofixed32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module
main debug: probing 21 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
mpgatofixed32 warning: libmad error: bad main_data_begin pointer
mpgatofixed32 warning: libmad error: bad main_data_begin pointer


// ================= Player Window Media Player 10 =======================
This player is working fine w/o any problem.

// ----------------
1. HTTP Communication for file http://192.168.1.222/prelisten/test.mp3.m3u
"GET /prelisten/test.mp3.m3u HTTP/1.1
Accept: */*
User-Agent: Windows-Media-Player/10.00.00.4058
UA-CPU: x86
Accept-Encoding: gzip, deflate
Host: 192.168.1.222
Connection: Keep-Alive
Cookie: REMEMBERUSER=true

HTTP/1.1 200 OK
Content-Type: audio/x-mpegurl
Connection: Keep-Alive
Content-Length: 39

http://192.168.1.222/prelisten/test.mp3

GET /prelisten/test.mp3 HTTP/1.1
Accept: */*
User-Agent: NSPlayer/10.0.0.4066 WMFSDK/10.0
UA-CPU: x86
Accept-Encoding: gzip, deflate
Host: 192.168.1.222
Connection: Keep-Alive
Cookie: REMEMBERUSER=true

HTTP/1.1 200 OK
Content-Type: audio/mpeg
Content-Length: 2809521
Accept-Ranges: bytes
Last-Modified: Thu, 04 Jan 2007 21:43:20 GMT
Connection: Keep-Alive"

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 47 guests