VLC Player can't play http with HTTP/1.0 200 OK???

This forum is about all development around libVLC.
henrymark
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Aug 2009 09:55

VLC Player can't play http with HTTP/1.0 200 OK???

Postby henrymark » 08 Jan 2010 10:00

Hi, all,
I meet a strange scenario which I play http url with http proxy, and when proxy return 206 partial content, vlc player can play well.

When proxy response 200 OK and then VLC can't play, but QT can, WHYYY?????? :!:

Anybody encounter this problem? Thanks.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC Player can't play http with HTTP/1.0 200 OK???

Postby Rémi Denis-Courmont » 09 Jan 2010 11:45

can't comment with so terse informations.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

henrymark
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Aug 2009 09:55

Re: VLC Player can't play http with HTTP/1.0 200 OK???

Postby henrymark » 11 Jan 2010 12:15

Thanks a lot for your help.
I will try to describe more exactly as below.

I try to play http url which should catch video in HD, seekable.

When VLC player behind my company's proxy, it won't start to buffer these content to HD but just show an error which is that the format of XXX cannot be detected.
When VLC player behind a general proxy, it will success to play.

I sniffer the packet and found that the different part at the beginning of the packet response is 206 partial content and 200 ok.

These packets show that server reply the file of this url very normally, because I can see all the packets are transmitting.

I am not sure is this caused the problem, because QuickTime behind my company's proxy is playing well with 200 OK message.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC Player can't play http with HTTP/1.0 200 OK???

Postby Rémi Denis-Courmont » 11 Jan 2010 17:30

Your proxy breaks partial content, meaning seeking won't work. Whether this is a problem depends on the file format (and whether you're trying to seek).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

yiyaolin
New Cone
New Cone
Posts: 1
Joined: 12 Jan 2010 03:18

Re: VLC Player can't play http with HTTP/1.0 200 OK???

Postby yiyaolin » 12 Jan 2010 03:29

I was wondering if the VLC player counld play video via http without streamming, in that way, once the http server ( or proxy) support no 206 (partial content), it can't be seekable.

Could VLC player play files from web server with store-and-play way, just like flash or Quicktime downing the file sequentially, only the part has been in local counld be seekable.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 14 guests