Playlist with subtitles
Posted: 11 Feb 2009 14:11
Hi i'm trying to create a playlist with a few video files, but i can't get subtitles to load.
Here is what i got so far:
I added this line, but its not working
<vlc:option>sub-file=http://example.com:8080/tutorials/Video ... vlc:option>
The video plays ok, but the subtitles cannot be loaded. Can anyone help me? Or is there other way to load subtitles with video over HTTP?
ps: i want a user to click on link to start playing the video.
Here is what i got so far:
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>playlist</title>
<location>test.xspf</location>
<trackList>
<track>
<location>http://example.com:8080/tutorials/Video1.avi</location>
<duration>3060000</duration>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>0</vlc:id>
<vlc:option>sub-file=http://example.com:8080/tutorials/Video1.sub</vlc:option>
</extension>
</track>
</trackList>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:item tid="0" />
</extension>
</playlist>
<vlc:option>sub-file=http://example.com:8080/tutorials/Video ... vlc:option>
The video plays ok, but the subtitles cannot be loaded. Can anyone help me? Or is there other way to load subtitles with video over HTTP?
ps: i want a user to click on link to start playing the video.