Yes! I understand! But I had to be sure VLC was working. If you navigate to the VLC directory in a DOS box and type VLC does the program open?It does work when I tap the icon, but that gives me the GUI where you have to click around to get the stream. It works fine this way, but I intent to do it the cmd-way so I can write automatic batch-files scripts.
And I have already examined my path environment. You know that otherwise I would be getting an error message from cmd.
But I don't know where you are when you type that because you don't say.Yes, we are talking about Windows XP
The program doesn't open at all when I type just vlc.
But it does open when I type this:
vlc --someUnavailableOption
This is a normal function of VLC to create a help file when it doesn't recognize a command and does seem to indicate that you are in the VLC directory. The file is called vlc-help.txt and will be created in any directory you give the command from if the path is correct. So would allow you to check your environment variable by checking for the existence of the file in what ever directory you called VLC from.Another command window opens: The vlc-command window, saying:
"Dumped content to vlc-help.txt file.
The command line options couldn't be loaded, check that they are valid.
Press the RETURN key to continue..."
I think I already explained this one. I really believe the real question is why isn't a DOS box calling the GUI interface? This would NOT be a problem with VLC, but instead be a problem with the DOS box. Perhaps trying to open another GUI program like WMP or MPC from the command line would help show the problem.How come vlc doesn't react to an officially legal command, not even with an error message, but opens - at least opens a command window when I type a wrong option after the "--"-intro?
I am in my home directory. I have also tried it, starting from the vlc directory. But it doesn't even matter where I start from, since the vlc path is included in the path variable, so vlc will always be found.But I don't know where you are when you type that because you don't say.
Well, I don't really want the DOS box to cal the GUI interface. In fact, I would prefer it to open no other window either, just show the information about the stream in the same DOS box while playing it, just like mplayer does (mplayer, not Windows Media Player).I think I already explained this one. I really believe the real question is why isn't a DOS box calling the GUI interface? This would NOT be a problem with VLC, but instead be a problem with the DOS box. Perhaps trying to open another GUI program like WMP or MPC from the command line would help show the problem.
Perhaps reading the documentation and entering the commands correctly will allow VLC to understand what is in your mind. See Example:Also, it seems to be a general problem with cmd, that all commands using a {}-syntax don't work.
For example, I tried
--sout="#transcode{acodec="mp3...}":duplicate{...}
but no mp3 file was created, vcl only plays the stream.
And why doesn't the GUI start then?not that I use VLC through the command prompt´, but I couldn't help myself...
adding c:\program files\videolan\vlc to the path and then from a cmd-window, with the default directory being
c:\documents and settings\user
1) just entering VLC just gives the prompt back. repeating this several times while the task manager is running at least shows that vlc.exe is started.
OK,Perhaps reading the documentation and entering the commands correctly will allow VLC to understand what is in your mind. See Example:
:sout=#transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=display,dst=std{access=file,mux=raw,url="C:\Documents and Settings\Owner (This is you)\My Documents\My Music\test.mp3"}}
Code: Select all
[size=50]@ECHO OFF
ECHO.
ECHO Preparing to encode file:
ECHO.
PAUSE
"C:\Program Files\VideoLAN\VLC\vlc.exe" mms://a772.v254953.c25495.g.vm.akamaistream.net/7/772/25495/v0001/dramsey.download.akamai.com/23572/audio/wm/06062008_the_dave_ramsey_show.wma :sout=#transcode {acodec=mp3,ab=128,channels=2}:duplicate{dst=display,dst=std {access=file,mux=raw,url="G:\TDRS\06062008.mp3"}}
PAUSE
CLS
EXIT[/size]
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: No registered users and 17 guests