Page 1 of 1

.ts file issues with time, duration, length

Posted: 22 Mar 2010 17:35
by ekennedy
The following functions don't work with .ts files.

libvlc_media_player_get_time
libvlc_media_get_duration
libvlc_media_player_get_length
libvlc_media_player_get_fps

All are returning 0 even after the media has been playing for some time. Problem exists with 9.8 on through the latest build RC of 1.1.

Sample file: http://www.jester7.com/subtitle.ts

Any thoughts?? Need these to get the timeline on videos.

Thanks,

ed

Re: .ts file issues with time, duration, length

Posted: 23 Mar 2010 14:37
by VLC_help
Current VLC builds don't know how to calculate length of TS files. Also FPS can change in TS file, so get_fps isn't very reliable.

Re: .ts file issues with time, duration, length

Posted: 08 Jul 2010 09:53
by Beardless2
does anyone know if any progress has been made with this? would be a really handy feature

Re: .ts file issues with time, duration, length

Posted: 08 Jul 2010 17:11
by VLC_help
No progress.