[vlc] HTTP streaming problem

Andreas Hasler1 ZRLAHA at ch.ibm.com
Mon Dec 15 17:26:00 CET 2008


Hi,

I'm having trouble with http streaming:
When I try video on demand as described in
http://www.videolan.org/doc/videolan-howto/en/ch11.html  (using an apache
http server on the server side and the vlc client with the command "vlc
http://server/xyz.mov" on the client side), the VideoLan Client always
makes a connection open, gets a little part of the video and closes the
connection again. It does that about 10 times a second. This leads to a
very bumpy video where some frames are not displayed correctly and
sometimes it stops completly for a frew seconds.

It mostly happens after stopping and continuing at a different position in
the video. It does not always happen when I just start the video and let it
play uninterrupted until it's finished.

I have tried it with vlc 0.9.5 and 0.9.6 compiled on Fedora 9 (Kernel
2.6.27.5-41.fc9) on a 64 Bit machine.
The earlier version 0.8.6 I had on that machine worked fine, just creating
one connection and leaving it open.


The VLC debugging messages look the following way:

[00000357] access_http access debug: protocol 'HTTP' answer code 206
[00000357] access_http access debug: this frame size=109445962
[00000357] access_http access debug: stream
size=169941294,pos=60495332,remaining=109445962
[00000357] access_http access debug: Connection: close
[00000357] access_http access debug: Content-Type: video/quicktime
[00000357] access_http access debug: trying to seek to 60054332
[00000357] main access debug: net: connecting to <server address> port 80
[00000357] main access debug: connection: Operation now in progress
[00000357] main access debug: connection succeeded (socket = 8)
[00000357] access_http access debug: protocol 'HTTP' answer code 206
[00000357] access_http access debug: this frame size=109886962
[00000357] access_http access debug: stream
size=169941294,pos=60054332,remaining=109886962
[00000357] access_http access debug: Connection: close
[00000357] access_http access debug: Content-Type: video/quicktime
[00000357] access_http access debug: trying to seek to 60597230
[00000357] main access debug: net: connecting to <server address> port 80
[00000357] main access debug: connection: Operation now in progress
[00000357] main access debug: connection succeeded (socket = 8)
....

Why is this happening?




More information about the vlc mailing list