Page 1 of 1

input.time=0 when playing *.ts file

Posted: 21 Apr 2009 10:40
by zhizhongYu
hi,
I play *.ts file,but I get total file time and Progress time is 0,why?

I should how do?

Re: input.time=0 when playing *.ts file

Posted: 21 Apr 2009 19:41
by Jean-Baptiste Kempf
Nothing, VLC can't know the length of .ts files.

Re: input.time=0 when playing *.ts file

Posted: 22 Apr 2009 05:18
by zhizhongYu
thanks,
I use other Player ,the player slider is ok,but I don't know that player should play one program,*.ts file have lots of program.
I use VLC play this file ,playlist.add("url","foo name",":program=?").

Code: Select all

<object id="player" height="380" width="480" classid="CLSID:6BE52E1D-E586-474f-A6E2-1A85A9B4D9FB" style="z-index: 100; left: 9px; position: absolute; top: 139px"> <param NAME="url" VALUE="d:/cctv-1.ts "> <param NAME="PlayCount" VALUE="1"> <param name="ShowDisplay" value="1"> </object>
how to use object play one program?

Re: input.time=0 when playing *.ts file

Posted: 22 Apr 2009 17:06
by Anatoly_B
This issue has been discussed many times...
Incorrect Input.Length from .ts file?