VLC mjpeg stream incompatible with Firefox
Posted: 05 Sep 2010 02:02
I use VLC 1.1.3. I am trying to stream video in mjpeg from a webcam. I'm using the following command:
The above command runs ok, without problems. I can view the stream using:
However, I can't view the stream in Firefox. Firefox doesn't display the stream when I point it to http://localhost:8080, but it offers to save the file (recognised as a binary file). However, Firefox can open mjpeg streams from other sources (generated by ffserver or motion).
I've also tried using "dst=localhost:8080/stream.mjpg"
Is the mjpeg stream generated by VLC incompatible with Firefox?
I've posted here although I use Linux - because I believe this problem has nothing to do with Linux. However, if anyone thinks otherwise - please let me know.
Code: Select all
vlc --no-audio v4l2:///dev/video0:width=640:height=480:fps=5:chroma=mjpg --sout "#standard{access=http,mux=mpjpeg,dst=localhost:8080}"
Code: Select all
vlc http://localhost:8080
I've also tried using "dst=localhost:8080/stream.mjpg"
Is the mjpeg stream generated by VLC incompatible with Firefox?
I've posted here although I use Linux - because I believe this problem has nothing to do with Linux. However, if anyone thinks otherwise - please let me know.