Page 1 of 1

Windows 7 command line control

Posted: 25 Mar 2010 02:55
by elcore181
Could someone please tell me how to control VLC with the command line.
I'am using Windows 7 64 Home Basic.
I assume you have to be in the directory where VLC is located which is C:\Program Files(x86)\VideoLAN\VLC
When I try to change to that directory I get:
The system cannot fild the specified path
I tried lauching vlc from C:\ with: VLC.exe, vlc.exe, VLC, vlc and nothing works.

Re: Windows 7 command line control

Posted: 25 Mar 2010 03:11
by Arite
Where have you installed VLC? If it is installed in the default location vlc.exe should be located in, assuming you have a 32-bit OS, "C:\Program Files\VideoLAN\VLC" (otherwise for 64-bit it will be "C:\Program Files (x86)\VideoLAN\VLC").

If you have a Command Prompt window open you need to navigate to the directory vlc.exe is located by doing e.g.:

Code: Select all

cd "C:\Program Files\VideoLAN\VLC"
Then you should be able to do e.g.:

Code: Select all

vlc C:\myfile.avi
Arite.

Re: Windows 7 command line control

Posted: 25 Mar 2010 03:34
by Arite
Make a new post by clicking the "Post Reply" button as supposed to editing your first post when replying.

Are you in a Command Prompt window? Is so entering (with quotes around the address):

Code: Select all

cd "C:\Program Files(x86)\VideoLAN\VLC"
Should change to that directory. Then just entering "vlc" or "vlc.exe" should start VLC (and you can add commandline arguments etc. to it).

Arite.

Re: Windows 7 command line control

Posted: 25 Mar 2010 03:41
by elcore181
I have Windows 7 64 bit home basic.
Got it, I was forgetting the space beteen the "Files" and "(x86)"
Thank you very very much.

I know this is a seperate issue but I'am trying to capture video from a Nikon point and shoot camera to a file but it's not showing up in capture devices.

Re: Windows 7 command line control

Posted: 25 Mar 2010 13:54
by sotextes
Hello, I use the Media browser as Windows Media Center in Windows 7 32 and VLC media player 1.0.5, I use VLC media player as external Media player Browser, and I would like to know a command line for use in the parameters of the Media Browser to open the VLC media player in full screen and when to stop playing close to return to the Windows Media Center. On the website Media Broswer has a command line for this function in VLC but ja I tried it and does not work, this is — play-and-exit = Plays files and exits, someone could help me?

Re: Windows 7 command line control

Posted: 25 Mar 2010 15:52
by Arite
I have Windows 7 64 bit home basic.
Got it, I was forgetting the space beteen the "Files" and "(x86)"
Thank you very very much.
Glad it worked :).
I know this is a seperate issue but I'am trying to capture video from a Nikon point and shoot camera to a file but it's not showing up in capture devices.
Does clicking "Refresh list" make any difference?
Hello, I use the Media browser as Windows Media Center in Windows 7 32 and VLC media player 1.0.5, I use VLC media player as external Media player Browser, and I would like to know a command line for use in the parameters of the Media Browser to open the VLC media player in full screen and when to stop playing close to return to the Windows Media Center. On the website Media Broswer has a command line for this function in VLC but ja I tried it and does not work, this is — play-and-exit = Plays files and exits, someone could help me?
If you want to start in fullscreen use the --fullscreen commandline switch. Also --play-and-exit should work. So, for example, try something like:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" --fullscreen --play-and-exit INPUT
Where INPUT is the input file (e.g. "C:\myfile.avi").

Arite.

Re: Windows 7 command line control

Posted: 25 Mar 2010 16:12
by sotextes
With this command it closes the player when it finishes playing, but when I stop playing it won't close the player, in this case the player is in audio, I wanted it closes when I think reproduction also

Re: Windows 7 command line control

Posted: 25 Mar 2010 17:46
by VLC_help
If you play stop, there is no way to close VLC since stop puts VLC to new state.

Re: Windows 7 command line control

Posted: 25 Mar 2010 19:02
by Arite
As VLC_help said stopping the playlist changes VLC's state. An alternative would be to do something like:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" --fullscreen INPUT vlc://quit
vlc://quit is a special playlist item which closes VLC. The above will add vlc://quit to the playlist after INPUT, so if you press the "Next media in the playlist" button (the >>| one) it will also close VLC.

Arite.

Re: Windows 7 command line control

Posted: 25 Mar 2010 23:10
by elcore181
I gave up on using my Nikon point-and-shoot and just bought a cheap $20 webcam: Logitech C120
It didn't seam like it was recording anything at first. On playback I just got a black screen but I takes about 5 Sec then I get a picture.
I'am recording to mpg
How can I add a time/date to the frame?

Re: Windows 7 command line control

Posted: 26 Mar 2010 17:36
by VLC_help
How can I add a time/date to the frame?
Marquee should do the trick
viewtopic.php?f=4&t=71297