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

VLC for Android and Chrome OS specific usage questions
ted_zhang
New Cone
New Cone
Posts: 2
Joined: 05 Dec 2012 08:09

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

Postby ted_zhang » 05 Dec 2012 08:34

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!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 05 Dec 2012 10:56

Yes. Someone needs to fix the code.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ted_zhang
New Cone
New Cone
Posts: 2
Joined: 05 Dec 2012 08:09

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

Postby ted_zhang » 07 Dec 2012 03:21

Yes. Someone needs to fix the code.
Is a way to fix it? or is it hard to fix it?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 10 Dec 2012 14:46

Hard.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

davidsun
New Cone
New Cone
Posts: 3
Joined: 16 Dec 2012 03:57

M3U8 format not fully supported

Postby davidsun » 16 Dec 2012 04:01

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.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 44 guests