[resolu] vlc.Playing returns true but nothing displayed

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Yapadavaro
Blank Cone
Blank Cone
Posts: 22
Joined: 09 Nov 2006 09:49
Location: Annecy, France

[resolu] vlc.Playing returns true but nothing displayed

Postby Yapadavaro » 10 Nov 2006 11:22

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.
Last edited by Yapadavaro on 04 Dec 2006 12:06, edited 2 times in total.
vlc v0.8.5 / ActiveX under IE 6 sp2

Yapadavaro
Blank Cone
Blank Cone
Posts: 22
Joined: 09 Nov 2006 09:49
Location: Annecy, France

Postby Yapadavaro » 17 Nov 2006 12:04

Is there somebody with the same problem ?

Thanks for your reply.
Yap.
vlc v0.8.5 / ActiveX under IE 6 sp2

Tappen
Cone that earned his stripes
Cone that earned his stripes
Posts: 150
Joined: 30 Oct 2006 07:55

Postby Tappen » 27 Nov 2006 03:40

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.

Yapadavaro
Blank Cone
Blank Cone
Posts: 22
Joined: 09 Nov 2006 09:49
Location: Annecy, France

Postby Yapadavaro » 27 Nov 2006 11:53

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.
vlc v0.8.5 / ActiveX under IE 6 sp2

Yapadavaro
Blank Cone
Blank Cone
Posts: 22
Joined: 09 Nov 2006 09:49
Location: Annecy, France

[Resolu] Web and scripting

Postby Yapadavaro » 04 Dec 2006 12:05

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.
vlc v0.8.5 / ActiveX under IE 6 sp2


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 36 guests