Page 1 of 1

INI file support

Posted: 20 May 2004 14:13
by Guest
Example: VLC my_ini.ini

My_ini.ini

MediaFile=C:\my_file.avi
AudioTrack=Track1
SubtitleFile=C:\my_sub.srt
SubTrack=Track1
SubFontSize=10
SubFontColour=0001

Posted: 20 May 2004 14:35
by markfm
From the Videolan FAQ:
Windows 95/98/ME: C:\Windows\Application Data\vlc\vlcrc

Windows XP/2000: C:\Documents and Settings\username\Application Data\vlc\vlcrc

Open VLC once, go to Settings -- Preferences, change something, select Save, then look at the file.

Posted: 20 May 2004 15:03
by Guest
Duh!
Some ppl are plain stupid.
(Me, for example.)
Thanks.

Posted: 22 May 2004 00:11
by Gibalou
You can also build m3u playlists with customized VLC options for each different playlist item.

For instance:

#EXTVLCOPT:fullscreen
#EXTVLCOPT:sub-file=yoursubtitlefile
#EXTVLCOPT:video-x=100
myplaylistitem.avi

#EXTVLCOPT:no-audio
#EXTVLCOPT:zoom=0.5
#EXTVLCOPT:video-x=500
mysecondplaylistitem.avi

etc...

Most VLC config option (that can be applied to inputs) can be used in the "#EXTVLCOPT:foo=bar" line.

You can have the list of all the config options with (vlc --advanced -H).

Posted: 22 May 2004 03:08
by markfm
VERY handy command, Gibalou. Thanks for mentioning it.