Page 1 of 1

Use VLC via Remove Control in terminal

Posted: 10 Jan 2020 17:51
by domino36
Hi there

This should actually be a rather simple one, but I can't find success in using rc in my terminal.

I started reading this:https://n0tablog.wordpress.com/2009/02/09/controlling-vlc-via-rc-remote-control-interface-using-a-unix-domain-socket-and-no-programming/

But I keep getting an error like:

Code: Select all

VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7) [00007f9e65807290] main interface error: no suitable interface module [00007f9e645007f0] main libvlc error: interface "oldrc,none" initialization failed [00007f9e645127c0] main interface error: no suitable interface module [00007f9e645007f0] main libvlc error: interface "(null),none" initialization failed [00007f9e645133f0] main interface error: no suitable interface module [00007f9e645007f0] main libvlc error: interface "default" initialization failed
I see that some other people have this problem as well: https://forum.videolan.org/viewtopic.php?f=2&t=151441&p=497841&hilit=oldrc#p497841

Is it a bug?
I think the rc module does not work properly...

What I tried:

I first made an alias to start vlc quickly:
`alias vlc="/Applications/VLC.app/Contents/MacOS/VLC"`

Code: Select all

# list all modules $ vlc --list # i see that there is a module called 'oldrc' but no rc. # The same I see in my preferences of vlc (version 3.0.8) on a mac os catalina. # there i have added the interface RC (tick) which add's 'oldrc' to my "Extra interface modules" $ vlc -p oldrc --advanced --help-verbose # this shows the help for the oldrc module like expected # But when I try to use that interface $ vlc -I oldrc # I get the error above
I think there is something wrong. I cleary have the interface available, but still it would tell me no suitable interface was found...

I would be very glad if somebody could help me on this.
Cheers

domino


VLC version: 3.0.8
OS: Mac Os X 10.15.1 Mac os Catalina




---- Edit:

When trying to use

Code: Select all

$ vlc -I rc
I do get those errors, but it seems to luanch something:
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[00007f9c9e010370] main interface error: no suitable interface module
[00007f9c9cc0a650] main libvlc error: interface "oldrc,none" initialization failed
[00007f9c9e010360] main interface error: no suitable interface module
[00007f9c9cc0a650] main libvlc error: interface "(null),none" initialization failed
[00007f9c9e0060c0] main playlist: playlist is empty
[00007f9c9e011030] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.8 Vetinari
Command Line Interface initialized. Type `help' for help.
I then tried to add a video to the playlist:

Code: Select all

$ > add /Users/pathtovideo/video.mp4
And then it starts raining errors (output from command launched with `-vvv` option was too long):
> add /Users/path/video.mp4
[00007fa6cb74a830] macosx window error: Cannot create vout as Mac OS X interface was not found
[00007fa6cb6e59d0] macosx vout display error: No drawable-nsobject nor vout_window_t found, passing over.
[00007fa6cd89faf0] main video output error: video output creation failed
[00007fa6cb69efc0] main decoder error: failed to create video output
[h264 @ 0x7fa6cb817c00] get_buffer() failed
[h264 @ 0x7fa6cb817c00] thread_get_buffer() failed
[h264 @ 0x7fa6cb817c00] decode_slice_header error
[h264 @ 0x7fa6cb817c00] no frame!