start vlc with commandline

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Andreas
New Cone
New Cone
Posts: 4
Joined: 16 Jun 2008 18:50
VLC version: 0.8.6
Operating System: Windows
Location: Germany

start vlc with commandline

Postby Andreas » 16 Jun 2008 19:03

Hello, please help me,
in WinXP commandline I enter for example: vlc my_file.mp4
Then the vlc-window starts up, but the file doen't play.
In the playlist the file appears, but the mp4-video doesn't start.
How do I get the playlist to start?
I've already looked at the commandline-options,
but I've not found any switch, which starts the playlist from commandline.
Can you help me (I'm a newbie)
Greetings
Andreas

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: start vlc with commandline

Postby VLC_help » 17 Jun 2008 15:48

Does it help if you put "" around the filename?
Like: vlc "my_file.mp4"

Andreas
New Cone
New Cone
Posts: 4
Joined: 16 Jun 2008 18:50
VLC version: 0.8.6
Operating System: Windows
Location: Germany

Re: start vlc with commandline

Postby Andreas » 17 Jun 2008 18:18

No, sorry - then the same occurs:
The .mp4-file has now been enqueued in the playlist, but the playlist doesn't start.
Do I've to enter a second command line for this? In this case, I'd need to write
a batch-file for this - isn't it so?
Greetings
Andreas

MetalheadGautham
Big Cone-huna
Big Cone-huna
Posts: 720
Joined: 25 Apr 2007 23:11
VLC version: 0.9 series
Operating System: ArchLinux i686
Location: well....... there is a door in front of my house
Contact:

Re: start vlc with commandline

Postby MetalheadGautham » 17 Jun 2008 18:30

Visit: VLC and Other alternatives to Popular Media Players
Website: thesmallerbang.wordpress.com
On Linux, blindly use VLC, SMPlayer, Kaffeine, GXine, Totem and MPlayer
Image
PM requests to attend to problems will not be entertained
Please post your question in the RIGHT forum.
SEARCH before posting to see if your question's been already answered

Andreas
New Cone
New Cone
Posts: 4
Joined: 16 Jun 2008 18:50
VLC version: 0.8.6
Operating System: Windows
Location: Germany

Re: start vlc with commandline

Postby Andreas » 18 Jun 2008 21:06

Thanks, but the quotes don't help here. (I mean, the quotes are because of long Win 9.X file nemes (joliet names?).
It occurs the same as yesterday - the .mp4 has been enqueued in the playlist, but no more.
I've had already read the vlc --longhelp --advanced, but I've found no option to start the playlist.
Can you help me?
Greetings
Andreas

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: start vlc with commandline

Postby VLC_help » 20 Jun 2008 00:03

I don't know what causes this, because at least in my VLC vlc something.mp4 starts the playback automatically. Have you tried resetting VLC settings?

MetalheadGautham
Big Cone-huna
Big Cone-huna
Posts: 720
Joined: 25 Apr 2007 23:11
VLC version: 0.9 series
Operating System: ArchLinux i686
Location: well....... there is a door in front of my house
Contact:

Re: start vlc with commandline

Postby MetalheadGautham » 20 Jun 2008 00:40

@VLC_Help: This is an issue with Windows, not VLC to be solved just by a simple hard reset of settings.

I think you need to ask some windows commandline user (who are pretty rare :? ) this question.

To verify, try doing the same with another media player. MPlayer is the best bet. Do the same with MPlayer and report back if you face the same issue.
Visit: VLC and Other alternatives to Popular Media Players
Website: thesmallerbang.wordpress.com
On Linux, blindly use VLC, SMPlayer, Kaffeine, GXine, Totem and MPlayer
Image
PM requests to attend to problems will not be entertained
Please post your question in the RIGHT forum.
SEARCH before posting to see if your question's been already answered

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: start vlc with commandline

Postby VLC_help » 20 Jun 2008 17:32

I don't think you can modify Windows command line handling in that way it doesn't input right parameters or changes them. Specially when .mp4 file enters to playlist it seems that something in VLC settings might be out of default.

Andreas
New Cone
New Cone
Posts: 4
Joined: 16 Jun 2008 18:50
VLC version: 0.8.6
Operating System: Windows
Location: Germany

Re: start vlc with commandline

Postby Andreas » 20 Jun 2008 19:16

Dear vlc_help and the other,
thanks.
I've tried the following option with the playlist: --repeat
(the default is: --play-and-stop) - and then the playlist works!
However, I want to start the playlist and to play the .mp4-file only once a time.
And now, naturally, the file repeats and I must stop it manually
This behavior of the playlist seems to me unlogically, isn't it?
Can you explain me this behavior? (The same occurs with the Media Player Classic (mpc)).
Is this because of the theory of streaming (I'm a dummy in this)
But I ca now burn my wanted Autorun-CD.
Greetings
Andreas

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: start vlc with commandline

Postby VLC_help » 21 Jun 2008 16:44

Some software can queue files to playlist instead of starting the playback immediately (when started with command line switches). So when you doubleclick file from Windows Explorer, it adds it to current playlist. With Media Player Classic you can use /play and /open and /add to either add stuff to playlist or start the playback (Help -> Command line switches)

With VLC you could try --no-loop which should prevent playlist loop/repeat.

enkidu
New Cone
New Cone
Posts: 9
Joined: 05 Apr 2007 11:24

Re: start vlc with commandline

Postby enkidu » 15 Jul 2008 15:32

I need to run VLC from the command-line, opening a predefined playlist file.
Most importantly, I need the Playlist window to open automatically, as well.

I thought the -I and/or --extraintf options would do that, but that is not the case.
tested :
  • vlc playlist.xspf -I playlist
    vlc playlist.xspf -I playlist.xspf
    vlc playlist.xspf --extraintf playlist
    vlc playlist.xspf --extraintf playlist.xspf
all for cmdlines correctly run VLC with the desired playlist, but the "Playlist" window is not opened.
Can anyone help / suggest ?

( using 0.8.6i /WinXP SP2 )


thanks
enkidu

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: start vlc with commandline

Postby VLC_help » 15 Jul 2008 22:21

Does it help if you shutdown VLC when playlist shows?

enkidu
New Cone
New Cone
Posts: 9
Joined: 05 Apr 2007 11:24

Re: start vlc with commandline

Postby enkidu » 15 Jul 2008 22:39

Does it help if you shutdown VLC when playlist shows?
hello and thanks for the quick reply.
It does -- on my machine. But my aim it to create an autostart.inf file for a DVD or USB key where VLC starts automatically, with the playlist open, and user can choose from the list.
I have to assume little computer literacy on the part of my users.

so if anyone has an answer, I'm listening !!

thanks
enkidu

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: start vlc with commandline

Postby VLC_help » 16 Jul 2008 18:39

--wx-playlist-view {0 (Normal), 1 (Embedded), 2 (Both)}
Playlist view
There are two possible playlist views in the
interface : the normal playlist (separate
window), or an embedded playlist (within the
main interface, but with less features). You
can select which one will be available on the
toolbar (or both).
Is the only one that I can find from help and I am not sure if that is what you are looking for.

enkidu
New Cone
New Cone
Posts: 9
Joined: 05 Apr 2007 11:24

Re: start vlc with commandline

Postby enkidu » 16 Jul 2008 19:39

--wx-playlist-view {0 (Normal), 1 (Embedded), 2 (Both)}

Is the only one that I can find from help and I am not sure if that is what you are looking for.
Got it too, today : does not work.
Do any of these options work for you ? regardless of your OS.

thanks
enkidu

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: start vlc with commandline

Postby VLC_help » 17 Jul 2008 16:35

I don't have access to Linux or Mac so I can't say anything about them. And I don't find any mention for this. Maybe someone should add this feature.
http://wiki.videolan.org/VLC_command-line_help


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 79 guests