Page 1 of 1

[resolu] vlc.Playing returns true but nothing displayed

Posted: 10 Nov 2006 11:22
by Yapadavaro
Hi,

sorry if it has been already posted, but i'm facing a big problem.
Sometimes, when I change the MRL, vlc.Playing returns true, but nothing is displayed on the ActiveX ==> I have the cone !

I change dynamically the MRL using this code:

Code: Select all

var _options = new Array(":vout-filter=deinterlace", ":deinterlace-mode=linear", ":audio-language=fr"); document.vlc.addTarget("udp://@225.1.1.1:1111", _options, 12, -666);
As vlc.Time and vlc.Position returns 0 in live, how could I know if there is something displayed ?

Thanks in advance.
Yap.

Posted: 17 Nov 2006 12:04
by Yapadavaro
Is there somebody with the same problem ?

Thanks for your reply.
Yap.

Posted: 27 Nov 2006 03:40
by Tappen
I check the State property of the input object of the activex control. 4 means playing, 6 paused, 0 nothing. You have to give VLC some time to connect and start playing, so you can't check immediately. For local files it'll be playing within 1 second, but from a network you'll need a bigger time-out.

Posted: 27 Nov 2006 11:53
by Yapadavaro
Hi Tappen.

Which version of vlc are you using ?
With the 0.8.5, vlc.input is undefined.
With the 0.8.6 test2, undefined to.

I'm under IE6, is this working with it ? Or I must used Mozilla ?

Thanks.
Yap.

[Resolu] Web and scripting

Posted: 04 Dec 2006 12:05
by Yapadavaro
It depends on the source.
With one of our dvb gateway, I must be explicit in the program field and give to vlc the correct SID.
There is one program, but perhaps the PAT and the PMT isn't correctly repeated in the multicast program.

Yap.