CLI translation to MacOS

macOS specific usage questions
balz333
New Cone
New Cone
Posts: 7
Joined: 27 Apr 2020 14:05

CLI translation to MacOS

Postby balz333 » 02 May 2020 10:28

Hello together,

I have for my requirements builded a VLC Windows command line. Unfortunately I must change to Mac but have no skills in MacOS. Could some Mac expert help me please to translate the following Windows command line?

That's my working Windows VLC ommand line:

vlc file:///"C:/temp/Video/Test.mp4" --sout=#duplicate{dst=display{delay=500},dst=es{access-audio=http,mux-audio=ts,dst-audio=:8080/}} --no-sout-display-audio :sout-keep


And maybe that's the MacOS command line.

$ /Applications/VLC.app/Contents/MacOS/VLC /Test.mp4 --sout='#duplicate{dst=display{delay=500,dst=es{access-audio=http,mux-audio=ts,dst-audio=:8080/}} --no-sout-display-audio :sout-keep


But I'm not sure because I get a error message from the Mac

Last login: Fri May 1 13:17:47 on ttys000
AlexR-MacBook:~ alex$ /Applications/VLC.app/Contents/MacOS/VLC /Users/alex/Desktop/Test.mp4 --sout=#duplicate{dst=display{delay=500},dst=es{access-audio=http,mux-audio=ts,dst-audio=:8080/}} --no-sout-display-audio :sout-keep
VLC media player 3.0.10 Vetinari (revision 3.0.10-0-g7f145afa84)
[00007fc31740e3e0] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
[00007fc3175daf50] main stream output error: stream chain failed for `duplicatedst=esdst-audio=:8080/'
[00007fc3190340f0] main input error: cannot start stream output instance, aborting
[00007fc31b0520a0] main stream output error: stream chain failed for `duplicatedst=esdst-audio=:8080/'
[00007fc31c0000f0] main input error: cannot start stream output instance, aborting


The VLC Mac Wiki is very rudimentary and don't help me very.

Many thanks for your help!
Mario

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: CLI translation to MacOS

Postby dfuhrmann » 03 May 2020 12:41

Please try to put the stuff behind sout in quotes correctly, like this:

/Applications/VLC.app/Contents/MacOS/VLC /Test.mp4 --sout="#duplicate{dst=display{delay=500,dst=es{access-audio=http,mux-audio=ts,dst-audio=:8080/}}" --no-sout-display-audio :sout-keep

balz333
New Cone
New Cone
Posts: 7
Joined: 27 Apr 2020 14:05

Re: CLI translation to MacOS

Postby balz333 » 11 May 2020 12:36

The missing quotes were the solution.

Many thanks for your support!
Mario


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests