.ts file issues with time, duration, length

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
ekennedy
Blank Cone
Blank Cone
Posts: 38
Joined: 18 Sep 2008 22:05
VLC version: 1.0
Operating System: Windows
Location: Texas

.ts file issues with time, duration, length

Postby ekennedy » 22 Mar 2010 17:35

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

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

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

Postby VLC_help » 23 Mar 2010 14:37

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.

Beardless2
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 02 Feb 2007 09:53

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

Postby Beardless2 » 08 Jul 2010 09:53

does anyone know if any progress has been made with this? would be a really handy feature

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

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

Postby VLC_help » 08 Jul 2010 17:11

No progress.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 69 guests