streaming with vlc
Posted: 22 Jul 2012 20:42
Hi,
I am trying to stream from my nas server.
here's the command I use:
sudo vlc-wrapper Film/Movies\ English/The\ Matrix --sout udp://192.168.2.3
I have previously run this command to be able to use vlc-wrapper:
sudo chmod u+s `which vlc-wrapper`
here's the problem I have:
I understand that is not working because of permissions but I do no understand what I have to do.
I cannot run vlc as root so I have to run vlc-wrapper which is set Set-UID root.
That should be all right?
Cheers
I am trying to stream from my nas server.
here's the command I use:
sudo vlc-wrapper Film/Movies\ English/The\ Matrix --sout udp://192.168.2.3
I have previously run this command to be able to use vlc-wrapper:
sudo chmod u+s `which vlc-wrapper`
here's the problem I have:
Code: Select all
VLC media player 2.0.2 Twoflower (revision 2.0.1-453-g40d9fef)
[0xe5d158] main libvlc error: cannot open config file (/root/.config/vlc/vlcrc): Permission denied
[0xfa4d40] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0xfa4d40] main interface error: no suitable interface module
[0xfa4f08] main interface error: no suitable interface module
[0xe5d158] main libvlc error: interface "globalhotkeys,none" initialization failed
[0xe5d158] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0xfa4e80] [cli] lua interface: Listening on host "*console".
VLC media player 2.0.2 Twoflower
Command Line Interface initialized. Type `help' for help.
> [0xe9d8d8] filesystem access error: cannot open file /home/michele/Film/Movies English/The Matrix (No such file or directory)
[0xe9d8d8] main access error: File reading failed
[0xe9d8d8] main access error: VLC could not open the file "/home/michele/Film/Movies English/The Matrix". (No such file or directory)
[0xe921f8] main input error: open of `file:///home/michele/Film/Movies%20English/The%20Matrix' failed
[0xe921f8] main input error: Your input can't be opened
[0xe921f8] main input error: VLC is unable to open the MRL 'file:///home/michele/Film/Movies%20English/The%20Matrix'. Check the log for details.
I cannot run vlc as root so I have to run vlc-wrapper which is set Set-UID root.
That should be all right?
Cheers