Page 1 of 1
How to get the command line options from a file?
Posted: 12 Aug 2005 11:01
by asemen
I would like to open vlc with parameters, which are listed in a file.
How can I do it? I tried vlc --config file_name but nothing happend...
Posted: 12 Aug 2005 11:20
by dionoea
how are they listed ? (basically ... could we have an example file)
Posted: 12 Aug 2005 11:29
by Guest
i.e. the whole command line:
/home/video/greenday.mpeg --sout #transcode{vcodec=mp1v,acodec=mpga,ab=128,vb=1024,scale=1}
:std{access=http,mux=asf,url=:8889}}'
Posted: 12 Aug 2005 13:01
by dionoea
something like :
should do the trick.
Posted: 12 Aug 2005 17:47
by Guest
Sorry I wasn't too detailed with my question.
So. I would like to broadcast on the web, with basic http auth. In that way i can set a user and pwd. But if i start vlc with this params, anybody who has an account to my computer can see that user-name and pwd.
With: ps aux | grep vlc
I tried to put the code into shell script, or use the $(cat pwd_file) trick, but neigther of them can help.
If there were a possibility to run vlc with a config file, I can hide the passwd in a well protected file.
Any suggestions?
(sorry for my english)
Posted: 14 Aug 2005 00:26
by dionoea
you can put the password in the ~/.vlc/vlcrc config file (you can also use the command line to change the config file used)
Posted: 14 Aug 2005 23:42
by Guest
Thank YOU!