Page 1 of 1

--start-time and TS file "invalid start-time ignored"

Posted: 27 Dec 2008 03:20
by Lorni
vlc.exe i:\test5_1.ts --start-time=3
http://www.raswinbilling.ru/vlc/test5_1.ts (1.5Mb)
main warning: invalid start-time ignored
But I can drag the slider!

Re: --start-time and TS file "invalid start-time ignored"

Posted: 27 Dec 2008 21:32
by VLC_help
Problem is that VLC doesn't know the length of the TS. That is why start-time won't work. Time slider moving doesn't seek with time in this case, so those things aren't connected.

Re: --start-time and TS file "invalid start-time ignored"

Posted: 29 Dec 2008 22:37
by Lorni
Can we fix it?

Re: --start-time and TS file "invalid start-time ignored"

Posted: 30 Dec 2008 15:04
by VLC_help
It would require that someone implements some sort of length detection for TS files. For spec compliant TS files it should be easy. Unfortunately there are MANY programs that don't produce proper files and transmission errors can also produce faulty TS packets, so you cannot trust file size or bitrates when you do calculation. So only proper thing AFAIK would be scanning of whole file which isn't possible on all scenarios.