dshow + MJPEG + HTTP streaming from analog camera
Posted: 02 Aug 2011 19:44
Hi.
I want to stream the video from my video capture card to the MJPEG format with help of HTTP. The main feature that this stream will be browsable by Firefox or Google Chrome.
I use such command line:
But I have big delay (about 1 minute).
I tried to disable mime type:
And the delay is 3 seconds now and the stream is not browsable by browsers.
Why there is such big delay??? Do you have any ideas?
I want to stream the video from my video capture card to the MJPEG format with help of HTTP. The main feature that this stream will be browsable by Firefox or Google Chrome.
I use such command line:
Code: Select all
vlc dshow:// --no-audio :dshow-vdev="Pinnacle Systems 500-USB Device" :dshow-caching=0 :dshow-size=352x288 --sout-mux-caching=0 :sout=#transcode{vcodec=MJPG,vb=300,fps=5,width=352,height=288}:duplicate{dst=std{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=localhost:8081/video.mjpg}} --qt-start-minimized --http-caching=0
I tried to disable mime type:
Code: Select all
vlc dshow:// --no-audio :dshow-vdev="Pinnacle Systems 500-USB Device" :dshow-caching=0 :dshow-size=352x288 --sout-mux-caching=0 :sout=#transcode{vcodec=MJPG,vb=300,fps=5,width=352,height=288}:duplicate{dst=std{access=http,mux=mpjpeg,dst=localhost:8081/video.mjpg}} --qt-start-minimized --http-caching=0
Why there is such big delay??? Do you have any ideas?