Search found 1 match

Go to advanced search

by fastrick
16 Jan 2025 18:02
Forum: Scripting VLC in lua
Topic: Help with subtitles
Replies: 2
Views: 7768

Re: Help with subtitles

To set the track ID first you must understand what each number means:
-1 = disabled track
0 = I think it dont means anything
1 = First subtitle track
2 = Second...

To active a desired subtitle track by the ID, just use as following:

Code: Select all

vlc.var.set(vlc.object.input(), "spu-es", 2)

Go to advanced search