Page 1 of 1
start vlc with commandline
Posted: 16 Jun 2008 19:03
by Andreas
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
Re: start vlc with commandline
Posted: 17 Jun 2008 15:48
by VLC_help
Does it help if you put "" around the filename?
Like: vlc "my_file.mp4"
Re: start vlc with commandline
Posted: 17 Jun 2008 18:18
by Andreas
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
Re: start vlc with commandline
Posted: 17 Jun 2008 18:30
by MetalheadGautham
Re: start vlc with commandline
Posted: 18 Jun 2008 21:06
by Andreas
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
Re: start vlc with commandline
Posted: 20 Jun 2008 00:03
by VLC_help
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?
Re: start vlc with commandline
Posted: 20 Jun 2008 00:40
by MetalheadGautham
@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.
Re: start vlc with commandline
Posted: 20 Jun 2008 17:32
by VLC_help
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.
Re: start vlc with commandline
Posted: 20 Jun 2008 19:16
by Andreas
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
Re: start vlc with commandline
Posted: 21 Jun 2008 16:44
by VLC_help
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.
Re: start vlc with commandline
Posted: 15 Jul 2008 15:32
by enkidu
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
Re: start vlc with commandline
Posted: 15 Jul 2008 22:21
by VLC_help
Does it help if you shutdown VLC when playlist shows?
Re: start vlc with commandline
Posted: 15 Jul 2008 22:39
by enkidu
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
Re: start vlc with commandline
Posted: 16 Jul 2008 18:39
by VLC_help
--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.
Re: start vlc with commandline
Posted: 16 Jul 2008 19:39
by enkidu
--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
Re: start vlc with commandline
Posted: 17 Jul 2008 16:35
by VLC_help
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