Problem getting current time in m3u8 streams

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
lzuwei
New Cone
New Cone
Posts: 6
Joined: 21 Oct 2013 10:29

Problem getting current time in m3u8 streams

Postby lzuwei » 21 Oct 2013 10:37

VLC Player is able to play HLS streams but it does not indicate the current playback time and the total duration of the m3u8 file.
This problem also occurs when using libVLC when calling:

libvlc_media_player_get_time(_vlcMediaPlayer); //returns 0
libvlc_media_player_get_length(_vlcMediaPlayer); //returns 0

What might be causing this problem, is this caused by the stream filter?
Is there a solution to this problem?

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: Problem getting current time in m3u8 streams

Postby Jean-Baptiste Kempf » 21 Oct 2013 10:55

Noone has implemented the length on HLS.
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.

lzuwei
New Cone
New Cone
Posts: 6
Joined: 21 Oct 2013 10:29

Re: Problem getting current time in m3u8 streams

Postby lzuwei » 21 Oct 2013 11:56

I am using libvlc to handle m3u8 streams, the software we build needs the current time and length of the HLS because we are doing some computation based on the video offset.
Is the work to implement this feature complex? Are there any plans to implement this?

Thank you!

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: Problem getting current time in m3u8 streams

Postby Jean-Baptiste Kempf » 21 Oct 2013 13:01

Not that much. Maybe.
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.

lzuwei
New Cone
New Cone
Posts: 6
Joined: 21 Oct 2013 10:29

Re: Problem getting current time in m3u8 streams

Postby lzuwei » 22 Oct 2013 04:22

Thank you! It will be great if this is implemented on the next release of VLC.
I would not mind in helping to implement this feature as well. Is there someone that I can talk to so I could understand the details on implementing this?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 149 guests