Page 1 of 1

how to set deinterlace mode from mozilla plugin?

Posted: 30 Jul 2006 17:41
by alec_robertson
So I've finally managed to get interlaced x264 encoding of my videos as well as getting the activex plugin to deinterlace them with:

Code: Select all

var opt = new Array(":vout-filter=deinterlace", ":deinterlace-mode=x"); document.vlc.addTarget("mymoofie.mkv",opt,8,0);
I've tried to do the same with the mozilla plugin:

Code: Select all

document.vlc.set_str_variable('vout-filter','deinterlace'); document.vlc.set_str_variable('deinterlace-mode','x');
But the deinterlace mode is not set, and the following check returns junk:

Code: Select all

document.getElementById("dimode").innerHTML = document.vlc.get_str_variable('deinterlace-mode');
Any suggestions (I've tried variations on '--deinterlace-mode', ':deinterlace-mode' to no avail)...?

Posted: 22 Sep 2006 13:35
by ottos
how to set deinterlace-metod=bob in embedded IE6 (active-x) ?

Posted: 22 Sep 2006 13:54
by karlar
try

Code: Select all

var options = new Array() options.push(":vout-filter=deinterlace"); options.push(":deinterlace-mode=bob") document.vlc.playlistClear(); document.vlc.addTarget(targetURL, options, 1, -666);
You need to start and stop the stream and perhaps even wait a little before you start the stream

you fullscreen should not work when deinterlace bob
fx. document.vlc.fullscreen() should not work you need to go around that
and

Code: Select all

X = vlc.getVariable("key-fullscreen") vlc.setVariable("key-pressed", X)


do this.

Posted: 25 Sep 2006 12:10
by ottos
to karlal:
you wrote that you are using for fulscreen
X = vlc.getVariable("key-fullscreen")
vlc.setVariable("key-pressed", X)

how this work?

Posted: 25 Sep 2006 14:45
by karlar
Well when deinterlace bob is enable, it seems like you cant go to fullscreen the normal way document.vlc.fullscreen.

so instead you create a javascript function or what ever.

function fullscreen()
{
var X = vlc.getVariable("key-fullscreen")
vlc.setVariable("key-pressed", X)
}

The first line gets the fullscreens key and stores it in X
the second line simulate that a key is pressed with the value of X.

That should give you a fullscreen.

Posted: 25 Sep 2006 15:51
by ottos
to karlar:
ok
but how to go in fulscreen and go out to small screen?
after that did you have normal smalscreen did you see it everytime? some times i need to rearange webpage size ... ? why is that ?
and with your function after select of new streams always start in fulscreen?

Posted: 25 Sep 2006 17:52
by karlar
could you post your code ?

Posted: 26 Sep 2006 11:45
by ottos
to karlar:
it is ok.
everything is working fine.

Do you have some documentation of vlc plugins in IE & mozilla functions& procedures ?

Do you know - it is possible to have SAP anouncments received trough vlc plugins in IE & mozilla ?

Posted: 26 Sep 2006 12:15
by karlar
I dont think it works with mozilla
I seems to remember something about that in the next version of vlc there well be some change in the IE and mozilla plugin, so we will have to wait.

Do you know - it is possible to have SAP anouncments received trough vlc plugins in IE & mozilla ?

dont know

HELP

Posted: 26 Sep 2006 13:30
by ottos
HELP!!!!!

i'v got problem with Microsoft Windows Live toolbar, don't work vlc IE plugin, crashes after start...

any ideas?

Posted: 27 Sep 2006 17:22
by ottos
in IE
when first time open html page and click once on non fulscreen then video disappear and shown again only when resize page or click on window maximaze minimaze? why its that?????

after plugins do this once its not doing anymore till close and reopen !