Playlist with subtitles

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Pukanche
New Cone
New Cone
Posts: 2
Joined: 11 Feb 2009 14:02

Playlist with subtitles

Postby Pukanche » 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:

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.
Last edited by Pukanche on 12 Feb 2009 12:02, edited 1 time in total.

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 over HTTP

Postby Jean-Baptiste Kempf » 11 Feb 2009 19:35

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

Pukanche
New Cone
New Cone
Posts: 2
Joined: 11 Feb 2009 14:02

Re: Subtitles over HTTP

Postby Pukanche » 12 Feb 2009 01:17

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


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 73 guests