running vlc.exe from commandline

This forum is about all development around libVLC.
aviz
New Cone
New Cone
Posts: 9
Joined: 16 Feb 2009 14:04

running vlc.exe from commandline

Postby aviz » 16 Feb 2009 14:13

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: running vlc.exe from commandline

Postby Jean-Baptiste Kempf » 16 Feb 2009 15:29

make package-win32
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

aviz
New Cone
New Cone
Posts: 9
Joined: 16 Feb 2009 14:04

Re: running vlc.exe from commandline

Postby aviz » 16 Feb 2009 20:04

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

aviz
New Cone
New Cone
Posts: 9
Joined: 16 Feb 2009 14:04

Re: running vlc.exe from commandline

Postby aviz » 16 Feb 2009 20:35

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: running vlc.exe from commandline

Postby Rémi Denis-Courmont » 16 Feb 2009 21:17

Just run vlc from the root of the build tree.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

aviz
New Cone
New Cone
Posts: 9
Joined: 16 Feb 2009 14:04

Re: running vlc.exe from commandline

Postby aviz » 18 Feb 2009 10:03

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: running vlc.exe from commandline

Postby Rémi Denis-Courmont » 18 Feb 2009 18:44

I simply run: ./vlc filename
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

aviz
New Cone
New Cone
Posts: 9
Joined: 16 Feb 2009 14:04

Re: running vlc.exe from commandline

Postby aviz » 19 Feb 2009 11:32

Do you build with the configuration switches that are given on the wiki?
http://wiki.videolan.org/Win32CompileCygwinNew

ahmad_aljallad
Blank Cone
Blank Cone
Posts: 56
Joined: 04 Nov 2008 13:32

Re: running vlc.exe from commandline

Postby ahmad_aljallad » 19 Feb 2009 12:43

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests