Page 1 of 1

CLI translation to MacOS

Posted: 02 May 2020 10:28
by balz333
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

Re: CLI translation to MacOS

Posted: 03 May 2020 12:41
by dfuhrmann
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

Re: CLI translation to MacOS

Posted: 11 May 2020 12:36
by balz333
The missing quotes were the solution.

Many thanks for your support!
Mario