Page 1 of 1

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

Posted: 13 Mar 2016 02:31
by IndioB
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.

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

Posted: 14 Mar 2016 14:47
by mederi
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>

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

Posted: 14 Mar 2016 19:39
by IndioB
<vlc:option>sub-track=1</vlc:option>

YES, It works, Thank you very much!