Page 1 of 1

Playlist with subtitles

Posted: 11 Feb 2009 14:11
by Pukanche
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:

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

Re: Subtitles over HTTP

Posted: 11 Feb 2009 19:35
by Jean-Baptiste Kempf
To help you, we need messages, to completely understand what your problems is.
To fix this, please be sure before you start the playback to:
  1. Open: Tools -> Messages.
  2. Set Verbosity to 2
  3. Start playback to reproduce your issue
  4. Save text in a file or copy into clipboard
  5. Then paste the full resulting log here between [​code]and[​/code] (or use Pastebin.com if it's too long)
Also don't forget to name your Operating System and provide the VLC media player version.

Re: Subtitles over HTTP

Posted: 12 Feb 2009 01:17
by Pukanche
VLC verion 0.9.8a windows

I'm trying to create a playlist for vlc but i dont know how to add subtitles in playlist

messages:

Code: Select all

main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. main error: unsafe option "sub-file" has been ignored for security reasons a52 info: A/52 channels:6 samplerate:48000 bitrate:448000