option sout-standard-access is unsafe and is blocked by secu

About encoding, codec settings, muxers and filter usage
mariuz
Blank Cone
Blank Cone
Posts: 13
Joined: 07 Feb 2008 11:08
VLC version: 0.9.x
Operating System: ubuntu
Contact:

option sout-standard-access is unsafe and is blocked by secu

Postby mariuz » 07 Feb 2008 14:38

I have an issue with 0.9.0
vlc is compiled with sudo ./configure --prefix=/opt/vlc --enable-v4l --enable-x264
and all goes OK until i try to create an mpeg4 http stream from the v4l input
Here is the command line

Code: Select all

/opt/vlc/bin/cvlc -vvv --color v4l:/dev/video0:channel=1 --sout '#transcode{vcodec=h264,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=http,mux=ts,dst=0.0.0.0:1212}' --ttl 12
[00000693] stream_out_transcode private error: cannot create chain
[00000692] main stream output debug: stream=`std'
[00000702] main private debug: looking for sout stream module: 2 candidates
[00000702] main private error: option sout-standard-access is unsafe and is blocked by security policy
[00000702] stream_out_standard private debug: creating `(null)/(null)://(null)'
[00000702] stream_out_standard private error: no access _and_ no muxer (fatal error)
[00000702] main private error: option sout-standard-access is unsafe and is blocked by security policy
[00000702] stream_out_standard private debug: creating `(null)/(null)://(null)'
[00000702] stream_out_standard private error: no access _and_ no muxer (fatal error)
[00000702] main private warning: no sout stream module matching "std" could be loaded
[00000702] main private debug: destroying chain... (name=std)
[00000702] main private debug: destroying chain done
[00000693] stream_out_transcode private error: cannot create chain
[00000693] main private warning: no sout stream module matching "transcode" could be loaded
[00000693] main private debug: destroying chain... (name=transcode)
[00000693] main private debug: destroying chain done
[00000692] main stream output error: stream chain failed for `transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=http,mux=ts,dst=0.0.0.0:1212}'
[00000691] main input error: cannot start stream output instance, aborting

TeraX
New Cone
New Cone
Posts: 3
Joined: 11 Feb 2008 01:40

Re: option sout-standard-access is unsafe and is blocked by secu

Postby TeraX » 13 Feb 2008 08:58

I have the same Error Message in vlc 0.9.0-svn

compiled: ./configure '--enable-shout' '--enable-twolame' '--disable-x11' '--disable-xvideo' '--disable-glx' '--disable-opengl' '--disable-wxwidgets' '--disable-skins2' '--disable-ffmpeg' '--prefix=/home/stream/vlctest'


using follow start parameter:

./cvlc --color http://scfire-dll-aa02.stream.aol.com:80/stream/1040 --sout-shout-name ".977 The 80s Channel" --sout '#transcode{acodec=vorb,ab=128,channels=2}:standard{access=shout,mux=ogg,dst=source:hackme@x.x.x.x:80/80er.ogg}'

Code: Select all

./cvlc --color http://scfire-dll-aa02.stream.aol.com:80/stream/1040 --sout-shout-name ".977 The 80s Channel" --sout '#transcode{acodec=vorb,ab=128,channels=2}:standard{access=shout,mux=ogg,dst=source:hackme@x.x.x.x:80/80er.ogg}' VLC media player 0.9.0-svn Grishenko [00000001] main libvlc debug: VLC media player - version 0.9.0-svn Grishenko - (c) 1996-2008 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--enable-shout' '--enable-twolame' '--disable-x11' '--disable-xvideo' '--disable-glx' '--disable-opengl' '--disable-wxwidgets' '--disable-skins2' '--disable-ffmpeg' '--prefix=/home/stream/vlctest' [00000001] main libvlc debug: translation test: code is "de" [00000322] dummy interface: using the dummy interface module... [00000336] main private error: option sout-standard-access is unsafe and is blocked by security policy [00000336] stream_out_standard private error: no access _and_ no muxer (fatal error) [00000333] stream_out_transcode private error: cannot create chain [00000332] main stream output error: stream chain failed for `transcode{acodec=vorb,ab=128,channels=2}:standard{access=shout,mux=ogg,dst=source:hackme@x.x.x.x:80/80er.ogg}' [00000331] main input error: cannot start stream output instance, aborting signal 2 received, terminating vlc - do it again in case it gets stuck [00000294] main playlist: saving Medienbibliothek to file /home/stream/.local/share/vlc/ml.xspf
Best Regards
TeraX

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: option sout-standard-access is unsafe and is blocked by secu

Postby revolunet » 13 Feb 2008 09:43

HI

you can try --security-policy=1 option

this is new in 0.9 see http://trac.videolan.org/vlc/changeset/24345
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

TeraX
New Cone
New Cone
Posts: 3
Joined: 11 Feb 2008 01:40

Re: option sout-standard-access is unsafe and is blocked by secu

Postby TeraX » 13 Feb 2008 09:53

Hi!

thank you for the fast answer!
It is working now, thank you!

Best Regards
TeraX

mariuz
Blank Cone
Blank Cone
Posts: 13
Joined: 07 Feb 2008 11:08
VLC version: 0.9.x
Operating System: ubuntu
Contact:

Re: option sout-standard-access is unsafe and is blocked by secu

Postby mariuz » 14 Feb 2008 15:06

ok it works now , thanks :P
i have to use it on an remote server there were to many clicks to push


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 24 guests