Page 1 of 1

VLC plugin 1.1.7 & Marquee

Posted: 01 Apr 2011 14:27
by gautham
I'm using the VLC plugin (1.1.7) for displaying Marquee & it doesn't seem to display it. I'm able to it get up when running independently though. Following is the function that I've in the html code. Anyone can help?

Code: Select all

function displayMarquee() { var vlc = document.getElementById("vlc"); var options = new Array(":vout-filter=deinterlace", ":deinterlace-mode=linear",":sub-filter=marq", ":sub-filter=logo"); vlc.video.marquee.enable(); vlc.video.marquee.text("Hello World"); // vlc.video.marquee.text('Hello World'); vlc.video.marquee.position = 9; vlc.video.marquee.color = 0xFFFFFF; vlc.video.marquee.size = 5; vlc.video.marquee.x = 25; vlc.video.marquee.y = 25; vlc.video.marquee.timeout = 0; };

Re: VLC plugin 1.1.7 & Marquee

Posted: 04 Apr 2011 17:29
by doblinger
marquee does not work in the plugin. It's been disabled for some time now.

Re: VLC plugin 1.1.7 & Marquee

Posted: 08 Jul 2012 17:48
by avigabay
Hi,
Do you know if it is working version 2.02?
Is there is another way
Avi

Re: VLC plugin 1.1.7 & Marquee

Posted: 19 Mar 2013 15:02
by eli13
This is still disabled in 2.0.5, not?

Re: VLC plugin 1.1.7 & Marquee

Posted: 20 Mar 2013 13:44
by RSATom
you can use https://code.google.com/p/fbvlc/ . Marquee there is fixed, but you should use "marquee-filter=true" startup option.

Re: VLC plugin 1.1.7 & Marquee

Posted: 25 Mar 2013 12:36
by eli13
Thank you for the hint, I'll try.

Another Question: Is the vlc-plugin no longer actively being developed and fbvlc is the replacement?

Re: VLC plugin 1.1.7 & Marquee

Posted: 25 Mar 2013 16:17
by RSATom
fbvlc is clone of the vlc-plugin based on another framework (firebreath)

Re: VLC plugin 1.1.7 & Marquee

Posted: 04 Apr 2013 12:38
by eli13
Thanks RSATom - I tested fbVlc and got it basically working.

Some questions:
1. Is there a Mailinglist/Forum/.. for fbVlc? I doubt this here is the correct place for questions about it.. anyway:

2. I'm having problems using the method
playlist.addWithOptions(mrl, options)

If I call it like this:

Code: Select all

playlist.addWithOptions("url", "--rtsp-tcp :network-caching=2500")
I get the following exception in IE:

Code: Select all

Invalid argument conversion from class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > to class boost::shared_ptr<class FB::JSObject> at index 2
And in Chrome:

Code: Select all

Error calling method on NPObject.
(The URL is correct, if I call it using playlist.add("URL") things work fine. I know that I could set up networking-caching in the params-sections of the object, but sometimes I need other options to pass, like --rtsp-tcp, etc. [dont remember exactly])

3. How up-to-date is the doc of fbVlc?
For example, in the vlc-plugin it says about playllist.clear():
vlc.playlist.clear(): empty the current playlist, all items will be deleted from the playlist (deprecated, do not use, see Playlist items)
while in fb-vlc it says:
.playlist.clear(): empty the current playlist, all items will be deleted from the playlist.
So, is it safe to use playlist.clear() in fb-vlc for example, or is this a mistake in the doc? (and there might be other mistakes)

Reason I'm asking is because I was mostly disappointed of vlc-plugin because things do not work as described in the doc sometimes.

Thanks for any help.

Re: VLC plugin 1.1.7 & Marquee

Posted: 05 Apr 2013 17:33
by RSATom
Some questions:
1. Is there a Mailinglist/Forum/.. for fbVlc? I doubt this here is the correct place for questions about it.. anyway:
I'm afraid not, so if you have any questions - you can just add issue on https://code.google.com/p/fbvlc/issues/list
2. I'm having problems using the method
playlist.addWithOptions(mrl, options)

If I call it like this:

Code: Select all

playlist.addWithOptions("url", "--rtsp-tcp :network-caching=2500")
I get the following exception in IE:

Code: Select all

Invalid argument conversion from class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > to class boost::shared_ptr<class FB::JSObject> at index 2
And in Chrome:

Code: Select all

Error calling method on NPObject.
(The URL is correct, if I call it using playlist.add("URL") things work fine. I know that I could set up networking-caching in the params-sections of the object, but sometimes I need other options to pass, like --rtsp-tcp, etc. [dont remember exactly])
It's a bug. I will check it soon.
3. How up-to-date is the doc of fbVlc?
For example, in the vlc-plugin it says about playllist.clear():
vlc.playlist.clear(): empty the current playlist, all items will be deleted from the playlist (deprecated, do not use, see Playlist items)
while in fb-vlc it says:
.playlist.clear(): empty the current playlist, all items will be deleted from the playlist.
So, is it safe to use playlist.clear() in fb-vlc for example, or is this a mistake in the doc? (and there might be other mistakes)

Reason I'm asking is because I was mostly disappointed of vlc-plugin because things do not work as described in the doc sometimes.

Thanks for any help.
https://code.google.com/p/fbvlc/wiki/FBVLC_API - is up-to-date, at least I try to keep it so.

Re: VLC plugin 1.1.7 & Marquee

Posted: 05 Apr 2013 17:40
by RSATom
and one more, "network-caching" will work only as startup option, and "rtsp-tcp" maybe will not work at all. I will try to change it, if it possible.

Re: VLC plugin 1.1.7 & Marquee

Posted: 10 Apr 2013 15:43
by eli13
Thanks for the answer RSATom.

I'll use the Issue-list for future bug-suspects - maybe it would be nice to set up a Google-Group for FbVlc to avoid having "discussions/questions" and issues mixed?

(Even nicer would be:
We recommend that you create at least two lists: one for developer discussions and one to receive Subversion commit emails.
-- http://code.google.com/p/support/wiki/FAQ#Google_Groups )

Re: VLC plugin 1.1.7 & Marquee

Posted: 10 Apr 2013 17:39
by RSATom
Good idea, thanks!

Re: VLC plugin 1.1.7 & Marquee

Posted: 14 Apr 2013 16:42
by RSATom
2. I'm having problems using the method
playlist.addWithOptions(mrl, options)

If I call it like this:

Code: Select all

playlist.addWithOptions("url", "--rtsp-tcp :network-caching=2500")
I get the following exception in IE:

Code: Select all

Invalid argument conversion from class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > to class boost::shared_ptr<class FB::JSObject> at index 2
And in Chrome:

Code: Select all

Error calling method on NPObject.
(The URL is correct, if I call it using playlist.add("URL") things work fine. I know that I could set up networking-caching in the params-sections of the object, but sometimes I need other options to pass, like --rtsp-tcp, etc. [dont remember exactly])
Correct way to use addWithOptions:

Code: Select all

var options = new Array('--rtsp-tcp', ':network-caching=2500'); playlist.addWithOptions("url", options)