Controlling VLC in Mac from Terminal

macOS specific usage questions
emoperez46
New Cone
New Cone
Posts: 3
Joined: 07 Oct 2020 07:12
VLC version: 3.0.11.1
Operating System: Mca OS
Location: Pembroke PInes FL

Controlling VLC in Mac from Terminal

Postby emoperez46 » 09 Oct 2020 07:10

I'm using the following command on Terminal to play a video on VLC:

$ /Applications/VLC.app/Contents/MacOS/VLC ~/Desktop/Test.m4v --intf=rc

I plays and I can hear the audio but it does not open the video window to show video and I get the following errors:

was not found
[00007fb59b7258b0] caopengllayer vout display error: No drawable-nsobject found!
[00007fb59b7258b0] macosx vout display error: No drawable-nsobject nor vout_window_t found, passing over.
[00007fb59d00ecf0] main video output error: video output creation failed
[00007fb59b5b1dc0] main decoder error: failed to create video output
[h264 @ 0x7fb59b861a00] get_buffer() failed
[h264 @ 0x7fb59b861a00] thread_get_buffer() failed
[h264 @ 0x7fb59b861a00] decode_slice_header error
[h264 @ 0x7fb59b861a00] no frame!

I have try different option like:

$ /Applications/VLC.app/Contents/MacOS/VLC ~/Desktop/Test.m4v --intf=rc --sout-display-video

$ /Applications/VLC.app/Contents/MacOS/VLC ~/Desktop/Test.m4v --intf=rc --fullscreen --autoscale

but I still get the same result.

Is there a way to make this work from command?

User avatar
ePirat
Developer
Developer
Posts: 162
Joined: 10 Oct 2017 00:07
Operating System: macOS
Contact:

Re: Controlling VLC in Mac from Terminal

Postby ePirat » 21 Dec 2020 11:36

You need to start the main interface and use the rc as secondary: /Applications/VLC.app/Contents/MacOS/VLC --extraintf=rc ~/Desktop/Test.m4v


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 43 guests