Help with XSPF playlist (< vlc : option> subt?)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
IndioB
New Cone
New Cone
Posts: 5
Joined: 16 Feb 2015 13:37
VLC version: 2.2.2
Operating System: Windows
Location: Tarragona, Catalunya, Spain
Contact:

Help with XSPF playlist (< vlc : option> subt?)

Postby IndioB » 13 Mar 2016 02:31

Hi!

I used "<vlc:option>audio-track=0</vlc:option>" with .VOB, .AVI, etc..
But do not know how to play the desired subtitle in XSPF file.
It's possible?
I probed with subt, sup, subt-track...

I have consulted:
https://wiki.videolan.org/XSPF/#vlc:option
https://wiki.videolan.org/Documentation ... eo_options
and
http://www.xspf.org/xspf-v1.html#rfc.section.2.3
but I can not find a list of all the options accepted by < vlc : option> in XSPF files.


Thank you!
Indio from Mediterranean sea.
Indio, from the Mediterranean Sea.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Help with XSPF playlist (< vlc : option> subt?)

Postby mederi » 14 Mar 2016 14:47

From dumped help file (vlc.exe -H):

Code: Select all

--sub-track=<integer [-2147483648 .. 2147483647]> Subtitle track Stream number of the subtitle track to use (from 0 to n).
Then to select the second subtitle track within xspf playlist:

Code: Select all

<vlc:option>sub-track=1</vlc:option>

IndioB
New Cone
New Cone
Posts: 5
Joined: 16 Feb 2015 13:37
VLC version: 2.2.2
Operating System: Windows
Location: Tarragona, Catalunya, Spain
Contact:

Re: Help with XSPF playlist (< vlc : option> subt?) (SOLVED)

Postby IndioB » 14 Mar 2016 19:39

<vlc:option>sub-track=1</vlc:option>

YES, It works, Thank you very much!
Indio, from the Mediterranean Sea.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests