CLI

macOS specific usage questions
lukemackinnon
New Cone
New Cone
Posts: 3
Joined: 20 Apr 2009 03:23

CLI

Postby lukemackinnon » 20 Apr 2009 03:29

Hi,

Trying to run VLC on the command line without the GUI interface window appearing. The docs all say to run "clivlc" but this is not an executable that is found in the /Applications/VLC.app/Contents/MacOS directory. If I run VLC from the command line it runs a commandline instance but still throws up the GUI interface and it says on the command line:-

luke-mackinnons-macbook-pro-17:MacOS lukemackinnon$ ./VLC
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--enable-release' '--disable-debug' '--with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk'
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
^C[00000383] signals interface error: Caught Interrupt signal, exiting...

Clearly its telling me to run "cvlc" but there is no wrapper or execuatble in the directory of that name nor an option I can find in the -H that allows this.

Could someone please assist me and let me know what I must do to run at the command line without the GUI interface.

Cheers.

Regards,
Luke Mackinnon

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: CLI

Postby Jean-Baptiste Kempf » 20 Apr 2009 09:33

use ./VLC -Idummy
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.

lukemackinnon
New Cone
New Cone
Posts: 3
Joined: 20 Apr 2009 03:23

Re: CLI

Postby lukemackinnon » 20 Apr 2009 11:21

ok thanks. I am trying to get the CLi to run up VLC and to multicast (UDP) a file that I have stored locally... here is an example of my CLI command but its not working and I am not sure where to put the -ldummy option you gave me. Any assistance appreciated.

/Applications/VLC.app/Contents/MacOS/VLC -vvv 3059_sd.mpg --sout='#standard{access=udp,mux=ts,dst=225.33.33.33:10592}'


As you can see I am trying to take the input file 3059_sd.mpg (which is a TS, I have just changed the name) and I want to multicast it UDP as a TS on 225.33.33.33 on port 10592

Any suggestions how the CLI commend should be formed to do this and to also use the -ldummy to avoid the GUI windows and playback occurring?

Thanks heaps.

Regards,
Luke

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: CLI

Postby Jean-Baptiste Kempf » 20 Apr 2009 11:49

/Applications/VLC.app/Contents/MacOS/VLC -vvv -Idummy 3059_sd.mpg --sout='#standard{access=udp,mux=ts,dst=225.33.33.33:10592}'
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.

lukemackinnon
New Cone
New Cone
Posts: 3
Joined: 20 Apr 2009 03:23

Re: CLI

Postby lukemackinnon » 20 Apr 2009 13:17

Cheers j-b

got it running and working well. I also had some success with the following too, that may be useful to others who may read the thread.

/Applications/VLC.app/Contents/MacOS/VLC 3059_sd.mpg --sout=udp:225.33.33.33:10510 --ttl=10 --play-and-exit --daemon

Thanks again.

Luke


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests