Search found 16 matches

Go to advanced search

by Vhati
10 Dec 2013 13:56
Forum: General VLC media player Troubleshooting
Topic: Marquee No Longer Works in 2.1.0
Replies: 3
Views: 968

Re: Marquee No Longer Works in 2.1.0

Still broken in VLC 2.1.2.
by Vhati
07 Nov 2013 17:30
Forum: General VLC media player Troubleshooting
Topic: Marquee No Longer Works in 2.1.0
Replies: 3
Views: 968

Marquee No Longer Works in 2.1.0

I had previously gotten Marquee working in 2.0.x as described below. Thread : Tip: How to Marquee in Python (and pitfalls) But as of 2.1.0, nothing appears when the Python binding tries to show text (re-downloaded vlc.py on 2013-11-06). Raising the instance's verbosity to 10 yielded no obvious error...
by Vhati
29 Sep 2012 20:06
Forum: Development around libVLC
Topic: How to Listen for Time Changes While Paused?
Replies: 1
Views: 477

How to Listen for Time Changes While Paused?

With the Python Bindings (2012-09-28), listening for timechanged works fine while playing... self.vlc_event_manager.event_attach(vlc.EventType.MediaPlayerTimeChanged, self._on_vlc_event) But if I pause, then call vlc_player.set_time(...) from my app's seek slider, VLC complies but doesn't fire a tim...
by Vhati
29 Sep 2012 19:28
Forum: Development around libVLC
Topic: Tip: How to Marquee in Python (and pitfalls)
Replies: 0
Views: 1969

Tip: How to Marquee in Python (and pitfalls)

For the curious, here's how I eventually got Marquee working with the Python Bindings (2012-09-28) and VLC 2.0.2. # Gotta mention marq in the instance for marquee methods to work. # Gotta show title for marquee to be visible*. With a 1ms timeout to effectively hide the title. # Verbose -1 suppresses...
by Vhati
06 Jun 2012 13:08
Forum: Scripting VLC in lua
Topic: Possible bug: Are multiple threads calling lua?
Replies: 2
Views: 1372

Re: Possible bug: Are multiple threads calling lua?

Oh, callbacks are known to be unstable and are unlikely to ever be fixed.
http://mailman.videolan.org/pipermail/v ... 87553.html

Okay then, I'll just write an external multi-threaded application and feed command strings to an interface script (based on cli.lua) via pipe or socket.
by Vhati
03 Jun 2012 22:51
Forum: Scripting VLC in lua
Topic: What can stream objects do?
Replies: 3
Views: 1373

Re: What can stream objects do?

stream:addfilter("comma,separated,list")

I think these are the only relevant ones, which extract from a single-file archive as you read:
  • zip
  • stream_filter_rar
A full list of modules, some of which may be stream filters can be found here:
http://130.75.2.12/source/xref/vlc/modules/LIST
by Vhati
03 Jun 2012 22:39
Forum: Scripting VLC in lua
Topic: Possible bug: Are multiple threads calling lua?
Replies: 2
Views: 1372

Re: Possible bug: Are multiple threads calling lua?

Hmm, doing occasional blocking stream reads in the intf-event callback lags video.
readline() was a little stuttery, but read() made VLC nearly unresponsive.
Even without dialogs.
by Vhati
28 May 2012 23:59
Forum: Scripting VLC in lua
Topic: Possible bug: Are multiple threads calling lua?
Replies: 2
Views: 1372

Possible bug: Are multiple threads calling lua?

I have an intf-event callback that acts on a variable periodically, but returns quietly when it hasn't been given a non-nil value. When I set that variable from a dialog's button callback, I think I'm seeing threads fight. u [ n 00a h f a 5 n 058 d ] l e lua generic warning: d v Error while running ...
by Vhati
28 May 2012 22:25
Forum: Scripting VLC in lua
Topic: What can stream objects do?
Replies: 3
Views: 1373

Re: What can stream objects do?

Thanks. I missed that one. Learned a couple things... A) There's a second returned value for reporting errors, when the stream is nil: "local s, err = vlc.stream(...)" B) Add "vlc.keep_alive()" after creating the stream and after each read, to keep VLC from getting bored and term...
by Vhati
25 May 2012 01:07
Forum: Scripting VLC in lua
Topic: What can stream objects do?
Replies: 3
Views: 1373

What can stream objects do?

According to the lua readme, vlc.stream() objects can be opened, read, and filtered(?). If you neglect to read for a while, does a buffer fill to capacity and error out, or grow and eat memory? Can they be closed or polled? Are streams a subclass of something with more methods? If they don't have a ...
by Vhati
22 May 2012 20:16
Forum: Scripting VLC in lua
Topic: var.add_callback usage
Replies: 2
Views: 2728

Re: var.add_callback usage

Can I use something like vlc.var.add_callback(vlc.object.input(), "time", pause, VAR) Input's time doesn't work, but you can do this: --Global setting for minimum seconds between callbacks. --desired_interval = 5.00 function activate() input_callback("add") end function deactiva...
by Vhati
22 May 2012 18:04
Forum: Scripting VLC in lua
Topic: how to perform non-blocking net.listen_tcp
Replies: 6
Views: 3287

Re: how to perform non-blocking net.listen_tcp

In the VLC source code (/modules/lua/libs/net.c), the lua vlc.net.poll({fds}) func maps to this. i_ret = poll( p_fds, i_fds, -1 ); int poll(struct pollfd *fds, nfds_t nfds, int timeout); The timeout argument specifies an upper limit on the time for which poll() will block, in milliseconds. Specifyin...
by Vhati
20 May 2012 15:43
Forum: Scripting VLC in lua
Topic: Connecting to https in Lua, Help needed
Replies: 2
Views: 1958

Re: Connecting to https in Lua, Help needed

Wow, I must've been looking at an old API doc at the time ( Google's cache circa 2012-04-12 only mentioned POST). The link I included in the post above resolved my immediate problem. "Both GET and POST requests are supported" Which means this works. curl "https://YOUR_USER:YOUR_PASS@s...
by Vhati
19 May 2012 13:19
Forum: Scripting VLC in lua
Topic: Connecting to https in Lua, Help needed
Replies: 2
Views: 1958

Re: Connecting to https in Lua, Help needed

Hrm, I probably wouldn't be able to poll the a vlc.stream() object to avoid blocking.

Requesting a vlc.net func to open a TLS'd connection may be asking too much...
by Vhati
19 May 2012 13:14
Forum: Scripting VLC in lua
Topic: Connecting to https in Lua, Help needed
Replies: 2
Views: 1958

Connecting to https in Lua, Help needed

I'm tinkering with the idea of reading messages live from twitter (from a group of people simultaneously watching a movie) and using osd to show them as if they were subtitles... The hangup is that Twitter's live API only accepts a POST request over https. VLC's lua can do a GET by letting an access...
by Vhati
06 Apr 2011 08:20
Forum: VLC media player Feature Requests
Topic: Allow VLC to load and display subtitles for audio files
Replies: 5
Views: 4937

Re: Allow VLC to load and display subtitles for audio files

As of VLC 1.1.8, Goom and ProjectM visualizations are oddballs that won’t show the words, the latter can take a black-on-black oscilloscope milkdrop preset . Set wave_r, wave_g, and wave_b to 0.000000 to make the wave black. Save it to black.milk in a new directory. In VLC’s Prefs, Set Audio-Visuali...

Go to advanced search