Search found 60 matches

Go to advanced search

by Etoh
18 May 2020 00:02
Forum: Scripting VLC in lua
Topic: Use http remote to quit VLC instance
Replies: 1
Views: 1319

Re: Use http remote to quit VLC instance

The scripting command for quit is vlc.misc.quit(). You might be able to add this functionality by modifying vlc/share/lua/intf/http.lua but I've not tried.
by Etoh
18 Nov 2017 11:00
Forum: Scripting VLC in lua
Topic: VLC interface script for Syncplay 1.2.6
Replies: 15
Views: 68300

Re: VLC interface script for Syncplay 1.2.6

Syncplay 1.5.0 released at http://syncplay.pl/syncplay-1-5-0/ with Mac proper support, better VLC support for the shared playlist feature, and a chat feature. The -256 volume trick in Syncplay/VLC INTF Script 0.3.3 doesn't wok for detecting VLC was closed on Mac, so we now use Syncplay to monitor VL...
by Etoh
23 Jun 2017 00:09
Forum: Scripting VLC in lua
Topic: Add a random value to a script. Need some help
Replies: 4
Views: 1721

Re: Add a random value to a script. Need some help

For random numbers I think you can use math.randomseed(os.time()) and math.random(range).
by Etoh
18 Jun 2017 11:26
Forum: Scripting VLC in lua
Topic: Play with Hotkey Multiple Instances of VLC
Replies: 1
Views: 1460

Re: Play with Hotkey Multiple Instances of VLC

Syncplay can allow you to unpause multiple instances if you unpause one instance, but it is only semi-instantaneous. There is also the old VLC --input-slave but I've not really looked into it.
by Etoh
18 Jun 2017 11:11
Forum: Scripting VLC in lua
Topic: Wondering if such a thing exists...
Replies: 2
Views: 4634

Re: Wondering if such a thing exists...

I am not aware of such a thing existing, and doubt it will exist unless you learn to code it yourself or are willing to pay for it. It is possible through coding to have more complex playlist generation or shuffling, but it would probably need to be a lot more complex in terms of song selection to b...
by Etoh
13 May 2017 11:56
Forum: Scripting VLC in lua
Topic: $10+$10 Lua or c++: Read A->B Loop times at runtime programmatically
Replies: 4
Views: 1460

Re: $10+$10 Lua or c++: Read A->B Loop times at runtime programmatically

My understanding is that the TimeA/TimeB feature is QT-specific, and that as a result of this the variables are not stored within "input" and are therefore not accessible to Lua scripts. As you suggest, this would mean that VLC code would need to be modified to allow for the variables to b...
by Etoh
22 Feb 2017 10:54
Forum: Scripting VLC in lua
Topic: LUA as GUI and C as logic
Replies: 2
Views: 2287

Re: LUA as GUI and C as logic

"stream local media to uPnP renderers on the LAN" - not sure what role VLC has in all this. Depending on what you are doing, you might just be able to create a server/client that VLC can connect with and avoid Lua altogether. What sort of communication bandwidth were you thinking of? You c...
by Etoh
26 Nov 2016 16:27
Forum: Scripting VLC in lua
Topic: Using vlc.httpd
Replies: 4
Views: 3730

Re: Using vlc.httpd

For modern versions of Syncplay the interface script should be in $VLC_Directory\lua\intf\ rather than %APPDATA%\vlc\lua\intf - what folder is http.luac in? You probably want your interface script in the same folder as http.luac. Also, due to how VLC filename finding works, it might be helpful to ca...
by Etoh
18 Mar 2016 12:53
Forum: Web and scripting
Topic: How can I get the playing time from the VLC?
Replies: 3
Views: 1015

Re: How can I get the playing time from the VLC?

Are the functions handle_MediaPlayerTimeChanged(time) or handle_MediaPlayerPositionChanged(val) relevant?
by Etoh
10 Mar 2016 21:41
Forum: Coffee Corner
Topic: Anyone knows whats playing?
Replies: 2
Views: 4098

Re: Anyone knows whats playing?

Blender Foundation's Tears of Steel: https://www.youtube.com/watch?v=OHOpb2fS-cM
by Etoh
29 Feb 2016 23:49
Forum: VLC media player for Windows Troubleshooting
Topic: VLC file 7zipped but ended up same size- really?
Replies: 1
Views: 330

Re: VLC file 7zipped but ended up same size- really?

It isn't about the size of the files, but the fact they are already compressed. It's not particularly fruitful to apply lossless compression to something which is already heavily compressed. "...most multimedia files will not compress much, as they already exist in a highly compressed state...Y...
by Etoh
26 Feb 2016 22:24
Forum: VLC media player Feature Requests
Topic: Frame-stepping forwards and backwards
Replies: 65
Views: 212065

Re: Frame-stepping forwards and backwards

Hello! just wanted to add to this request if possible - I work with a large animation studio and we have a number of users that would like to use VLC - the one thing holding us back from deploying the app to everyone is the lack of ability to scrub backward frame by frame (this is used for timers) ...
by Etoh
24 Feb 2016 10:09
Forum: Development around libVLC
Topic: Odd behavior of is_playing()
Replies: 1
Views: 568

Re: Odd behavior of is_playing()

My guess is that it runs self.player.is_playing() before the state change between playing/pausing is finalised so uses the old state (because things are a little asynchronous due to threads). I expect that if you want it to return the state it will be in after all changes have been executed then you...
by Etoh
02 Feb 2016 00:40
Forum: General VLC media player Troubleshooting
Topic: Timestamps via Button click
Replies: 5
Views: 10190

Re: Timestamps via Button click

Or, if you want to avoid add-ons, you could just take a screenshot (Shift+S) every time you want to save time.
by Etoh
02 Feb 2016 00:37
Forum: General VLC media player Troubleshooting
Topic: Timestamps via Button click
Replies: 5
Views: 10190

Re: Timestamps via Button click

I'm guessing it would be possible using the add-on system. Existing add-ons that may be relevant: http://addons.videolan.org/content/show.php/Moments%27+Tracker?content=168031 http://addons.videolan.org/content/show.php/Time2Clipboard?content=166900 http://addons.videolan.org/content/show.php/eplase...
by Etoh
25 Jan 2016 10:16
Forum: Skins
Topic: Animations
Replies: 12
Views: 7884

Re: Animations

Thanks Etoh,

That how I understand it, Height divided by nbframes.
The quote I gave said the opposite, that one should use the height of one frame MULTIPLIED by nbframes.
by Etoh
24 Jan 2016 15:59
Forum: Scripting VLC in lua
Topic: Customize RemoteControl interface
Replies: 3
Views: 3555

Re: Customize RemoteControl interface

But how can i make newint interface it to listen on a TCP port? (like RC) Currently i'm making RC to listen on port 1234 like this: --extraintf rc --rc-host localhost:1234 Try something like --lua-config "newint={host='localhost:1234'}" The concept is explained at https://www.videolan.org...
by Etoh
24 Jan 2016 11:16
Forum: Skins
Topic: Animations
Replies: 12
Views: 7884

Re: Animations

Is this comment from 2010 helpful? Hi, Animated images should work fine. AFAIK, there are no limitations at all. Maybe one common error is to give the 'height' parameter the height value of a frame. Actually, 'height' expects the whole png height size ( i.e height_for_one_frame * nbframes ). If you ...
by Etoh
24 Jan 2016 10:28
Forum: Scripting VLC in lua
Topic: Customize RemoteControl interface
Replies: 3
Views: 3555

Re: Customize RemoteControl interface

1) Try saving the Lua file under a different name (newint.lua) then running VLC using the command line option --extraintf=luaintf --lua-intf=newint
2) Make sure that if you have VLC installed to more than one location (e.g. 32-bit and 64-bit) that you are using the correct folder/executable.
by Etoh
03 Jan 2016 02:02
Forum: Scripting VLC in lua
Topic: Extensions for iOS, Android, Windows Phone
Replies: 2
Views: 6547

Re: Extensions for iOS, Android, Windows Phone

I could be wrong, but my understanding was that extensions were not supported by VLC on Android because it needs Lua which is not present on Android. Windows, Linux, OS X etc all use a Lua-based scripting system so most scripts are cross-platform compatible amongst Lua-enabled versions of VLC, but s...
by Etoh
24 Dec 2015 00:43
Forum: Scripting VLC in lua
Topic: Run Script on VLC startup?
Replies: 3
Views: 5804

Re: Run Script on VLC startup?

Interface scripts can be made to run on start-up, so if the script would work fine as an interface script then that is how you could do it. Might be safest to simply re-encode or re-package the file, though.
by Etoh
22 Jun 2015 16:40
Forum: Scripting VLC in lua
Topic: Taking input in the form of URL's from teamspeak and appending them to a playlist
Replies: 1
Views: 997

Re: Taking input in the form of URL's from teamspeak and appending them to a playlist

I've never tried to do anything like that and am not that clear on what you are trying to do - maybe some use cases would be helpful. As per https://www.videolan.org/developers/vlc/share/lua/README.txt you can use playlist.add() to add to a playlist, and you can specify a URL in .path. If you use pl...
by Etoh
09 May 2015 16:41
Forum: Scripting VLC in lua
Topic: VLC interface script for Syncplay 1.2.6
Replies: 15
Views: 68300

Re: VLC interface script for Syncplay 1.2.6

Syncplay 1.3.0 RC1 is now available from http://syncplay.pl/syncplay-1-3-0/ - New features include the readiness indicator, better support for VLC, and managed rooms (which makes it better for hosting larger viewing parties). It includes version 0.2.6 of the syncplay.lua file (also available here ),...

Go to advanced search