Subtitles option in playlist

Feature requests for VLC.
Vattenpistol
Blank Cone
Blank Cone
Posts: 12
Joined: 08 Jan 2018 19:32

Subtitles option in playlist

Postby Vattenpistol » 21 Jun 2018 20:10

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Subtitles option in playlist

Postby Jean-Baptiste Kempf » 21 Jun 2018 23:57

input-slave option should work.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Vattenpistol
Blank Cone
Blank Cone
Posts: 12
Joined: 08 Jan 2018 19:32

Re: Subtitles option in playlist

Postby Vattenpistol » 22 Jun 2018 23:34

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=".


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 15 guests