XSPF or M3U cant add subtitles from url.

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
9acca9
New Cone
New Cone
Posts: 2
Joined: 25 Mar 2020 22:55

XSPF or M3U cant add subtitles from url.

Postby 9acca9 » 21 Mar 2025 01:24

Hi.
I want to add subtitles to a movie from an url.
I do it like this:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?> <playlist version="1" xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/"> <title>Película con subtítulos</title> <trackList> <track> <location>https://somedomain.com/d/xxxxxxxxxxxxxx/movie.mp4</location> <extension application="http://www.videolan.org/vlc/playlist/ns/0/"> <vlc:option>input-slave=https://mydomian.xyz/subtitles/subtitle_550_1.srt</vlc:option> </extension> </track> </trackList> </playlist>
And is not working. The movie is played but the subtitles are not attached.

I also try with sub-file= instead of input-slave... without luck.

Also try to make a m3u like this:

Code: Select all

#EXTM3U #EXT-X-VERSION:3 #EXTINF:-1, Película #EXTVLCOPT:input-slave=https://mydomain.xyz/subtitles/subtitles.srt https:/somedomain.com/d/ddddddddfdas/aBeatifulMovie.mp4
Again... not working.

What can i do? is not possible?

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests