Page 1 of 1

VB.NET - Active X VLC SUBTITLES SET

Posted: 11 Jun 2016 15:46
by tartas
im using visual basic and im trying to set subtitles to video
im trying to set subtitles using "axvlc.subtitles.track=1" for example but this is only for subtitles in same location with video.
is there any way to set subtitles from a specific location ? like C:\subtitles\1.srt

Re: VB.NET - Active X VLC SUBTITLES SET

Posted: 17 Jun 2016 20:15
by da2424
It should work to add the file with the command line argument 'sub-file':

Code: Select all

AxVLCPlugin21.playlist.add("file:///d:/path/to/file.mp4", "Title", ":sub-file=file:///c:/subtitles/1.srt")