Page 1 of 1

[Help]vlc can not get the current time for playing m3u8 file

Posted: 05 Dec 2012 08:34
by ted_zhang
Hi all,
VLC supports the http live streaming, it can play the hls stream, but I find that it can't get the current time and length when playing hls stream.
I check the vlc sourcecode, and find the interface libvlc_media_player_get_time( libvlc_media_player_t *p_mi ) always return zero when playing m3u8 file.
I would want to know if vlc could get the current time and length when playing hls stream or not?
Is it a bug for vlc? and Is there some methods to fix it?

Thanks!

Re: [Help]vlc can not get the current time for playing m3u8

Posted: 05 Dec 2012 10:56
by Jean-Baptiste Kempf
Yes. Someone needs to fix the code.

Re: [Help]vlc can not get the current time for playing m3u8

Posted: 07 Dec 2012 03:21
by ted_zhang
Yes. Someone needs to fix the code.
Is a way to fix it? or is it hard to fix it?

Re: [Help]vlc can not get the current time for playing m3u8

Posted: 10 Dec 2012 14:46
by Jean-Baptiste Kempf
Hard.

M3U8 format not fully supported

Posted: 16 Dec 2012 04:01
by davidsun
I've found that VLC does not work well with M3U8, for example, following address
http://v.youku.com/player/getRealM3U8/v ... video.m3u8
works well on iOS video players, with dragging enabled. On VLC-Android, dragging is disabled.