Search found 9 matches

Go to advanced search

by Carmel88
30 Jan 2014 06:43
Forum: Scripting VLC in lua
Topic: Get elapsed time of a media file...programmatically
Replies: 11
Views: 3725

Re: Get elapsed time of a media file...programmatically

Ok, got it. First I must say that syncplay is pretty slick. It does take some configuration to get working. When using VB6, syncplay doesn't like it if the connection is opened and closed repeatedly but works very well if the socket is left open. Also there was some issues with formatting the comman...
by Carmel88
29 Jan 2014 16:19
Forum: Scripting VLC in lua
Topic: Get elapsed time of a media file...programmatically
Replies: 11
Views: 3725

Re: Get elapsed time of a media file...programmatically

try using the Syncplay script...What set-up are you using? Here's my vlc launch command: ..\vlc.exe ..\test.mp4 --start-time=600 --rate=2.0 -I intf --extraintf=luaintf --lua-intf syncplay --log -verbose=2 --verbose -objects=+all -vvv --fullscreen --server-port 1234 When I look in the log the only l...
by Carmel88
29 Jan 2014 08:03
Forum: Scripting VLC in lua
Topic: Get elapsed time of a media file...programmatically
Replies: 11
Views: 3725

Re: Get elapsed time of a media file...programmatically

What set-up are you using?
winxp/vb6/vlc

I like your approach because the script should run automatically instead of having to always select it from the view menu. I'll have to give it another try...
by Carmel88
27 Jan 2014 22:26
Forum: Scripting VLC in lua
Topic: Error Loading Script
Replies: 4
Views: 1311

Re: Error Loading Script

Even if callbacks kind of smell like POLLING :)

This is BEAUTIFUL! VLC 2.0.8 to the rescue!!! This is much^3 faster response time than rc get_time...too bad I couldn't quite figure out how to connect like SyncPlay.

Thanks again to mederi & to Etoh
by Carmel88
27 Jan 2014 21:03
Forum: Scripting VLC in lua
Topic: Get elapsed time of a media file...programmatically
Replies: 11
Views: 3725

Re: Get elapsed time of a media file...programmatically

After looking at Etoh's links and spending a great deal of time convincing myself by example that callbacks and anything that remotely looks like polling is broken for lua in the most recent VLC release. I made a VB winsock connection to an RC interface in VLC. So it works awesome for stopping, star...
by Carmel88
27 Jan 2014 20:52
Forum: Scripting VLC in lua
Topic: Error Loading Script
Replies: 4
Views: 1311

Re: Error Loading Script

Hi mederi! Yes, I have been reading your posts for hours: Pause @ start is a good example of a barebones extension Unfortunately, with the way I am trying to approach getting the current elapsed time from VLC extensions and intf seem to have ZERO options that work I guess it just looks too much like...
by Carmel88
26 Jan 2014 23:32
Forum: Scripting VLC in lua
Topic: Error Loading Script
Replies: 4
Views: 1311

Error Loading Script

I am having an error with making a lua extension. The error is reproducible with the following below. What is happening? Log entry: lua warning: Error loading script c:\uniquevlcpath\vlc\lua\extensions\test.lua: c:\uniquevlcpath\vlc\lua\extensions\test.lua:1: attempt to index global 'vlc' (a nil val...
by Carmel88
26 Jan 2014 03:29
Forum: Scripting VLC in lua
Topic: Get elapsed time of a media file...programmatically
Replies: 11
Views: 3725

Re: Get elapsed time of a media file...programmatically

I will look at the options from Etoh. Thanks. I did find this ticket: https://trac.videolan.org/vlc/ticket/8097 I agree with the person that submitted the ticket...what's a few cpu cycles compared to a few days of struggling to find a pretty solution? This seems like a case of elegance vs engineerin...
by Carmel88
26 Jan 2014 00:31
Forum: Scripting VLC in lua
Topic: Get elapsed time of a media file...programmatically
Replies: 11
Views: 3725

Get elapsed time of a media file...programmatically

1st! Thanks to the person that put the time.lua script together that has been part of my solution so far... 2nd: how do I get the time from VLC running in a normal window on a PC programmatically? 3rd: Is it possible to start a lua extension from the command line? (maybe something like vlc.exe test....

Go to advanced search