Postby NewtownGuy » 19 Aug 2016 15:12
Thank you but I still get the same errors as before.
I changed the command to this:
cvlc --no-audio --no-sout-audio < /home/vout1 stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8081}' --h264-fps=5.0 :demux=h264 &
It's in a script, stream_8081.sh, with the usual /bin/bash. I invoke it like this from user root:
nice -5 su -c ./stream_8081.sh pi &
I get this:
root@Z:~/B# VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
Failed to create secure directory (/run/user/0/pulse): Permission denied
[01268828] pulse audio output error: PulseAudio server connection failure: Connection refused
Failed to create secure directory (/run/user/0/pulse): Permission denied
Failed to create secure directory (/run/user/0/pulse): Permission denied
[01267678] core interface error: no suitable interface module
[011d08f8] core libvlc error: interface "globalhotkeys,none" initialization failed
[01267678] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[01267678] core interface error: no suitable interface module
[011d08f8] core libvlc error: interface "dbus,none" initialization failed
[01267678] dummy interface: using the dummy interface module...
[011e4070] core access out error: socket bind error: Permission denied
[011e4070] core access out error: socket bind error: Permission denied
[011e4070] core access out error: cannot create socket(s) for HTTP host
[011e4070] access_output_http access out error: cannot start HTTP server
[011f8270] stream_out_standard stream out error: no suitable sout access module for `http/ts://:8081'
[011e4b90] core stream output error: stream chain failed for `standard{access=http,mux=ts,dst=:8081}'
[b4200508] core input error: cannot start stream output instance, aborting
How do I fix this ?