streaming with vlc

*nix specific usage questions
heiserhorn
New Cone
New Cone
Posts: 5
Joined: 22 Jul 2012 20:33

streaming with vlc

Postby heiserhorn » 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:

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 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

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: streaming with vlc

Postby Rémi Denis-Courmont » 22 Jul 2012 22:29

The file does not exist. Did you even read the error message?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

heiserhorn
New Cone
New Cone
Posts: 5
Joined: 22 Jul 2012 20:33

Re: streaming with vlc

Postby heiserhorn » 22 Jul 2012 22:40

Sorry,

There was a problem on the file permission. The group was root that's why vlc could not find the file.

I can now stream with the following command:

cvlc Film/Movies\ English/V\ for\ Vendetta-720p\ MP4\ AAC\ BRRip\ 2005-CC/V\ for\ Vendetta-720p\ MP4\ AAC\ BRRip\ 2005-CC.mp4 --sout '#standard{access=udp,mux=ts,dst=192.168.2.3:1234}'

I can now hear the audio but there is no video.

Cheers

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: streaming with vlc

Postby Jean-Baptiste Kempf » 27 Jul 2012 19:41

use -vvv to see the logs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests