I would like to set up media streaming and playback locally in Ubuntu 10.04 over HTTP. Using VLC, I tried the following in a terminal:

vlc -vvv /content/v_mpeg4_176x144_30fps_210kbps.mp4
--sout '#standard{access=http,mux=ts,dst=127.0.0.1,port=8080}'

Entered the following in another terminal:

vlc http://127.0.0.1:8080

The error output I get from the client is:

VLC media player 1.0.6 Goldeneye
[0x9afe668] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x9d845c0] access_http access error: error: HTTP/1.1 400 Bad Request
[0x9d845c0] access_http access error: error: HTTP/1.1 400 Bad Request
[0x9d845c0] access_mms access error: error: HTTP/1.1 404 File Not Found
[0x9bb2128] main input error: open of `http://127.0.0.1:8080' failed: (null)

RTSP streaming works fine:

vlc -vvv /content/v_mpeg4_176x144_30fps_210kbps.mp4 --sout '#rtp{dst=127.0.0.1,port=8080,sdp=rtsp://127.0.0.1:8080/test.sdp}'

And:

vlc rtsp://127.0.0.1:8080/test.sdp

What am I missing in the HTTP case?

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.