[vlc-devel] Help for play m3u8

Frederic YHUEL fyhuel at viotech.net
Fri Aug 26 14:45:07 CEST 2011


> I’ve got a problem with playing m3u8 file with vlc. Attachment is my m3u8
> file.
>
> As I cannot get the size of segment from the http request, but I can get it
> from parsing the url just as listed in the attachment.

??

>
> But now I got another problem, in Prefetch() function we got 2
> segments(labeled 0, 1). But in function Peek(), there is always a warning
> message " stream_filter_httplive stream error: segment 2 should have been
> available (stream 0)".
>
> How should I do to solve this problem?

I don't really understand your mail, but there is indeed a problem
with this playlist. My iPhone plays it well, but with VLC 1.2 git, I
get :

vlc: httplive.c :1379 : hls_Download:  assertion "segment->size > 0" failed

I will try to investigate this, unless somone else (like J.P. Saman
:-) ) wants to do it.


-- 
Frédéric Yhuel



More information about the vlc-devel mailing list