input.time=0 when playing *.ts file

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
zhizhongYu
Blank Cone
Blank Cone
Posts: 14
Joined: 03 Nov 2008 03:54

input.time=0 when playing *.ts file

Postby zhizhongYu » 21 Apr 2009 10:40

hi,
I play *.ts file,but I get total file time and Progress time is 0,why?

I should how do?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 21 Apr 2009 19:41

Nothing, VLC can't know the length of .ts files.
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.

zhizhongYu
Blank Cone
Blank Cone
Posts: 14
Joined: 03 Nov 2008 03:54

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

Postby zhizhongYu » 22 Apr 2009 05:18

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?

Anatoly_B
Blank Cone
Blank Cone
Posts: 14
Joined: 20 Aug 2008 03:30

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

Postby Anatoly_B » 22 Apr 2009 17:06

This issue has been discussed many times...
Incorrect Input.Length from .ts file?


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests