Available options in XSPF playlists using "vlc:option"

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
marcow
Blank Cone
Blank Cone
Posts: 10
Joined: 23 May 2016 01:28

Available options in XSPF playlists using "vlc:option"

Postby marcow » 23 May 2016 17:47

Dear developers and friends,

In XSPF playlists, I can use "<vlc:option>" to set options for VLC inside "<extension application=...>", which in turn is inside "<track>".

There's a wiki article about XSPF which describes this method for setting options. But unfortunately, it gives only three examples, which are "start-time", "stop-time" and "no-audio".

So I turned to the wiki article about the command-line usage to find an extensive list of options that VLC supports, and to check whether these work in XSPF as well.

But I had to find out that most of these options don't work. And when searching for these options online, some posts from this forum showed up where the only reply is: "Yeah, some options don't work for security reasons."

So is there any list of options that are supported in XSPF playlists? Or can one be compiled?

I searched the web extensively, especially this forum, and even tried to find relevant passages in the souce code, but to no effect.

Thanks for your help!

Regards,
Marco

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: Available options in XSPF playlists using "vlc:option"

Postby Jean-Baptiste Kempf » 23 May 2016 21:02

Unfortunately, it's not that simple to aggregate, but it is all the options that are marked as "change_safe" in the source code.
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.

marcow
Blank Cone
Blank Cone
Posts: 10
Joined: 23 May 2016 01:28

Re: Available options in XSPF playlists using "vlc:option"

Postby marcow » 23 May 2016 22:20

Thank you very much!

Are you referring to values that are marked with "change_safe()" below them in the source code, which uses "VLC_CONFIG_SAFE"?

That would include all the following values, none of which I can make work in XSPF playlists:

src\libvlc-module.c
+++ audio
+++ video
+++ fullscreen
+++ video-title-show
+++ width
+++ height
+++ aspect-ratio
+++ zoom
+++ run-time
modules\video_filter\adjust.c
+++ contrast
+++ brightness
+++ hue
+++ saturation
+++ gamma
+++ brightness-threshold
modules\access\dshow\dshow.cpp
+++ aspect-ratio or dshow-aspect-ratio
+++ fps or dshow-fps
modules\access\http.c
+++ http-referrer
+++ http-user-agent
modules\access\screen\wayland.c
modules\access\screen\xcb.c
+++ screen-left
+++ screen-top
+++ screen-width
+++ screen-height

On the other hand, both "no-audio" and "no-video" are *not* marked as such and they *do* work in XSPF playlists.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests