Page 1 of 1

Cannot change http port

Posted: 09 Oct 2005 22:33
by danube
Hello friends;

I have installed VLC 0.8.1.
My problem is, when I start VLC in command line using the prefix --extraintf=http, i get the following response:

Code: Select all

danube@linux:~> vlc --extraintf=http VLC media player 0.8.1 Janus [00000366] main interface: creating httpd [00000366] main interface error: cannot bind socket [00000366] main interface error: cannot bind socket [00000366] http interface error: cannot listen on :8080 [00000366] main interface error: no suitable intf module [00000001] main vlc error: interface "http,none" initialization failed
When i change the server port in settings and restart vlc, the previous port before changing can be found, not the one i entered. And, no matter what port I enter, I always get the same output.

What's going wrong on my machine??
FYI: It's a SuSE 9.3 running wxgtk 2.6.2

Thanks to everybody,
Thomas

Posted: 09 Oct 2005 23:33
by AmiSyl
did you try with the --http-host option ?
like

Code: Select all

vlc --extraintf=http --http-host :8888
where 8888 is the port to listen to

Posted: 16 Oct 2005 20:08
by danube
Uhm... The problem was that when I edited the port in Input by entering a number into the field and pressed ok, it hasn't beeing saved. When I opened the window again, I saw the same value as before. Bug?

I did it now by using the up and down arrows beside the field. So it saves the values correctly and VLC comes now up without errors.

But now I have troubles to start a playback on my dBox. I can play all those media correctly local on my machine, I can browse through the filesystem correctly by dBox but when I want to start a video playing on the dBox, VLC gives out the following:

Code: Select all

VLC media player 0.8.1 Janus [00000193] main interface: creating httpd peek=GET received new request=GET /admin/dboxfiles.html?dir=%2Fmnt%2Fentertainment%2FDoku%2F HTTP/1.1 Authorization: Basic YWRtaW46YWRtaW4= Host: 192.168.1.6:8888 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* received new request - proto=HTTP - version=1 - msg=3 - url=/admin/dboxfiles.html - option name='Authorization' value='Basic YWRtaW46YWRtaW4=' - option name='Host' value='192.168.1.6:8888' - option name='Pragma' value='no-cache' - option name='Accept' value='image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*' mvar_FileSetNew: name=`file' dir=`/mnt/entertainment/Doku' sending answer HTTP/1.1 200 OK Content-type: text/html Cache-Control: no-cache Content-Length: 1438 peek=GET received new request=GET /?control=empty HTTP/1.1 Host: 192.168.1.6:8888 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* received new request - proto=HTTP - version=1 - msg=3 - url=/ - option name='Host' value='192.168.1.6:8888' - option name='Pragma' value='no-cache' - option name='Accept' value='image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*' mvar_PlaylistSetNew: name=`pl' sending answer HTTP/1.1 200 OK Content-type: text/html Cache-Control: no-cache Content-Length: 6182 peek=GET received new request=GET /?control=add&mrl=%2Fmnt%2Fentertainment%2FDoku%2FDer%20Schlund%20des%20Universums%2Empg HTTP/1.1 Host: 192.168.1.6:8888 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* received new request - proto=HTTP - version=1 - msg=3 - url=/ - option name='Host' value='192.168.1.6:8888' - option name='Pragma' value='no-cache' - option name='Accept' value='image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*' mvar_PlaylistSetNew: name=`pl' sending answer HTTP/1.1 200 OK Content-type: text/html Cache-Control: no-cache Content-Length: 6466 peek=GET received new request=GET /?sout=%23transcode%7Bvcodec%3Dmpgv%2Cvb%3D1000%2Cwidth%3D352%2Cheight%3D288%7D%3Aduplicate%7Bdst%3Dstd%7Baccess%3Dhttp%2Cmux%3Dts%2Curl%3D%3A8888%2Fdboxstream%7D%7D HTTP/1.1 Host: 192.168.1.6:8888 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* received new request - proto=HTTP - version=1 - msg=3 - url=/ - option name='Host' value='192.168.1.6:8888' - option name='Pragma' value='no-cache' - option name='Accept' value='image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*' mvar_PlaylistSetNew: name=`pl' sending answer HTTP/1.1 200 OK Content-type: text/html Cache-Control: no-cache Content-Length: 6466 peek=GET received new request=GET /?control=play&item=0 HTTP/1.1 Host: 192.168.1.6:8888 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* received new request - proto=HTTP - version=1 - msg=3 - url=/ - option name='Host' value='192.168.1.6:8888' - option name='Pragma' value='no-cache' - option name='Accept' value='image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*' mvar_PlaylistSetNew: name=`pl' [00000211] main private error: cannot bind socket [00000211] main private error: cannot bind socket [00000211] access_output_http private error: cannot listen on :8888 [00000209] stream_out_standard private error: no suitable sout access module for `http/ts://:8888/dboxstream' [00000207] stream_out_duplicate private error: no destination given [00000204] stream_out_transcode private error: cannot create chain [00000203] main stream output error: stream chained failed for `transcode{vcodec=mpgv,vb=1000,width=352,height=288}:duplicate{dst=std{access=http,mux=ts,url=:8888/dboxstream}}' [00000202] main input error: cannot start stream output instance, aborting sending answer HTTP/1.1 200 OK Content-type: text/html Cache-Control: no-cache Content-Length: 6579 peek=GET received new request=GET /dboxstream HTTP/1.0 received new request - proto=HTTP - version=0 - msg=3 - url=/dboxstream sending answer HTTP/1.0 404 Not found Content-Length: 187
Any suggestions to get it running?
Thanks everyone!

Posted: 27 Oct 2005 22:54
by danube
ok, ahm, don't anybody know what that means?

Code: Select all

received new request - proto=HTTP - version=1 - msg=3 - url=/ - option name='Host' value='192.168.1.6:8888' - option name='Pragma' value='no-cache' - option name='Accept' value='image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*' mvar_PlaylistSetNew: name=`pl' [00000211] main private error: cannot bind socket [00000211] main private error: cannot bind socket [00000211] access_output_http private error: cannot listen on :8888 [00000209] stream_out_standard private error: no suitable sout access module for `http/ts://:8888/dboxstream' [00000207] stream_out_duplicate private error: no destination given [00000204] stream_out_transcode private error: cannot create chain [00000203] main stream output error: stream chained failed for `transcode{vcodec=mpgv,vb=1000,width=352,height=288}:duplicate{dst=std{access=http,mux=ts,url=:8888/dboxstream}}' [00000202] main input error: cannot start stream output instance, aborting sending answer HTTP/1.1 200 OK Content-type: text/html Cache-Control: no-cache Content-Length: 6579