Page 1 of 1

Subtitles option in playlist

Posted: 21 Jun 2018 20:10
by Vattenpistol
Hey!

It would be nice to be able to add subtitles into your saved xspf playlist. So for example say that I have 2 videoclips in my playlist I want to add local or online subs to each seprate video with like a <subs> tag.
Some of you may think "just name the .srt to the same as the video..", that is a way but it doesn't work in all scenarios. What about if I add a network video in my playlist and want subs?

Kind regards

Re: Subtitles option in playlist

Posted: 21 Jun 2018 23:57
by Jean-Baptiste Kempf
input-slave option should work.

Re: Subtitles option in playlist

Posted: 22 Jun 2018 23:34
by Vattenpistol
Thank you but that didn't quite work unfortunately. Although it help me in the right direction.

This is what I had to use instead:

Code: Select all

<vlc:option>sub-file=C:\Users\name\documents\subs\test.vtt</vlc:option>

The "sub-file=" works with both a local video source and an online video source as long the subtitle is stored locally.

I also tried with "input-slave=", that wouldn't want to work even though if you make a playlist with VLC gui and save it as a playlist then edit it you can see it uses "input-slave=".

So I'm still curious about how to use online subs in a playlist because it doesn't work with either "sub-file=" or "input-slave=".