Page 1 of 1

running vlc.exe from commandline

Posted: 16 Feb 2009 14:13
by aviz
Hello,

I compiled vlc 0.9.8a on WinXP using cygwin (according to http://wiki.videolan.org/Win32CompileCygwinNew).

My question is: how do I use the vlc.exe I compiled?
I want to run from the win cmd window or cygwin, and I want it to play a movie file.
One thing I noticed is that my compiled vlc.exe size is 15kb while the vlc.exe file that I get if I install the official release is 113kb.
Why are thos files so different?

Thanks,
Avi

Re: running vlc.exe from commandline

Posted: 16 Feb 2009 15:29
by Jean-Baptiste Kempf
make package-win32

Re: running vlc.exe from commandline

Posted: 16 Feb 2009 20:04
by aviz
Thanks for the answer.

Unfortunately, I get this error:
cp: cannot stat `./projects/mozilla/npvlc.dll.manifest': No such file or directory

I found this thread that refers to this problem:
viewtopic.php?f=32&t=55428

But I do not have those manifest files under:
./projects/mozilla/npvlc.dll.manifest
./projects/activex/axvlc.dll.manifest

How do I get those files?

Thanks,
Avi

Re: running vlc.exe from commandline

Posted: 16 Feb 2009 20:35
by aviz
I also want to return to my original quetion.
Is there a way to run vlc as a console application, without the gui?

Thanks,
Avi

Re: running vlc.exe from commandline

Posted: 16 Feb 2009 21:17
by Rémi Denis-Courmont
Just run vlc from the root of the build tree.

Re: running vlc.exe from commandline

Posted: 18 Feb 2009 10:03
by aviz
Thank you very much for your answer.
However, could you please be more specific?
I did try running vlc from the root, like this:
>vlc a.avi
But I don't see anything hapenning.
Do I need to use any switches?
All I want is to play the movie in a console window. Is that possible?

Thanks,
Avi

Re: running vlc.exe from commandline

Posted: 18 Feb 2009 18:44
by Rémi Denis-Courmont
I simply run: ./vlc filename

Re: running vlc.exe from commandline

Posted: 19 Feb 2009 11:32
by aviz
Do you build with the configuration switches that are given on the wiki?
http://wiki.videolan.org/Win32CompileCygwinNew

Re: running vlc.exe from commandline

Posted: 19 Feb 2009 12:43
by ahmad_aljallad
If you need to start the vlc without GUI you can compile it
With --disable-qt4 on the configure and then you can run it
With cygwin , but for your vlc.exe size i believe this happened
Only if you create package with error in compiling vlc because
Will compiled vlc could be 495 kb and the whole folder 52MB
Make sure you compiled vlc without any error then create vlc
Package using this command: $ make package-win32-base