404 Not found

About encoding, codec settings, muxers and filter usage
rv888
Blank Cone
Blank Cone
Posts: 17
Joined: 20 Jul 2007 17:21

404 Not found

Postby rv888 » 19 Jan 2008 00:43

Hi everyone,

I have the latest SVN of VLC installed 0.9.0-svn. If I attempt to std out via access=http to let say's 0.0.0.0:8080/file.mpg and then go to http://mydomain.com:8080/file.mpg, it won't stream. But if I set the std to 0.0.0.0:8080 (without the file) and go to http://mydomain.com:8080/, it'll play. If I paste the url http://mydomain.com:8080/file.mpg into a browser, I get a 404 Not Found error. Is there a setting I missed to turn on the ability to use a file name as the stream reference?

I did have the generic version (0.8.6d) installed via yum and this version would work just fine for this feature. However, it didn't support some of the newer features that latest SVN did, so I upgraded. Now this part no longer works.

What have I missed? Was there something in the config I needed to enable? I'm busy scouring the wiki and man pages for anything...

Thanks

rv888
Blank Cone
Blank Cone
Posts: 17
Joined: 20 Jul 2007 17:21

Re: 404 Not found

Postby rv888 » 19 Jan 2008 01:00

Here's something I just noticed.

In the verbose I see the following:

main private error: option sout-standard-dst is unsafe and is blocked by security policy

Security Policy?

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

Re: 404 Not found

Postby Rémi Denis-Courmont » 19 Jan 2008 20:08

It seems you are a victim of the bleeding edge security framework added a few days ago.
How did you set the sout? --sout...? :sout=... or something else ?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rv888
Blank Cone
Blank Cone
Posts: 17
Joined: 20 Jul 2007 17:21

Re: 404 Not found

Postby rv888 » 21 Jan 2008 06:17

I discovered the vlcrc file hidden away. I uncommented the security line and changed it from 2 to 1, and the tried again. It worked.

However, I'd really like to know what 2 or 1 means since I don't see ANYTHING online regarding this stuff yet. What exactly did I allow in by changing this?

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: 404 Not found

Postby funman » 21 Jan 2008 14:33

you can use vlc --help --advanced --help-verbose |& less to read the full help for EVERY vlc option, or go to http://trac.videolan.org/vlc/changeset/24345 to find exactly what is this option.

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

Re: 404 Not found

Postby Rémi Denis-Courmont » 23 Jan 2008 16:59

You can complain on the vlc-devel mailing list that changeset [24345] makes no sense. That's about it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mnemonic
New Cone
New Cone
Posts: 8
Joined: 11 Oct 2005 16:18

Re: 404 Not found

Postby mnemonic » 11 Feb 2008 14:54

Could it be that the current help doesn't give any info about "--security-policy"? At least I can't find anything regarding that.

I would like to have a little bit more info on how the "--security-policy" commandline switch is to be used so that I can use the std as I am used to.
In fact "--security-policy allow", "--security-policy prompt" didn't change anything, it simply won't let me stream.

This is my current commandline in case someone needs to know:

Code: Select all

./vlc -I dummy -vvv input_stream --sout '#transcode{vcodec=FLV1,acodec=mp3,samplerate=44100}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8081/stream.flv}'
Currently I have to edit the vlcrc file like explained by rv888 to get vlc doing what I want.

Thanks and kind regards :)
Be kind. Everyone you meet is fighting a hard battle. --Plato


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 21 guests