I realize this is a very commonly asked question but I haven't found anyone who's run into quite the problem that I'm running into. On my PI I run the following command:
raspivid -o - -t 99999 -w 640 -h 480 -fps 25 |cvlc -v stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h264
When I actually connect a client to this stream using I get the following error on the PI:
dummy interface: using the dummy interface module...
main input error: Invalid PCR value in EX_OUT_SET_(GROUP_)PCR !
main mux warning: late buffer mux import (30154)
mux_tx mux warning: packet with too strange dts (dts=1098139800,old-1098961070,pcr=1098961070)
My VLC stream then times out with
Your input can't be opened
VLC is unable to open the MRL 'http://192.168.1.3:8090/'. Check the log for details.
This seems to be a problem with the buffer in VLC perhaps?
I've tried using uv4l with no luck either, having read both this and this and couldn't get anything to take.
I'm wondering if this is in some way related to my network setup. I've got a single 3Com ethernet switch with my PI set to a static IP 192.168.1.3 and my Macbook set to 192.168.1.2 and nothing else on this little network. I'm a bit of a novice when it comes to network stuff so I very well may have done something wrong in how I connected the two?
edit -
The log in VLC on the OSX side says:
access_mms error: cannot connect to 192.168.1.3:8090
main debug: no access modules matched
main error: open of `http://192.168.1.3:8090/' failed
main debug: finished input
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
Seems to me as though the RPI simply isn't sending anything after the initial error.
edit 2 -
I should mention I know I can communicate between them because I can stream images using two simple openFrameworks applications that I wrote (basically just TCP streaming in C++). This uses the same devices and ethernet switch, so I know they're not completely the problem. The application only streams about 4 fps so isn't usable for what I want, sadly. VLC should be faster (from what I've read it will be) so I'd like to try streaming video using that. I suspect something is misconfigured on VLC on the Pi.