dshow + MJPEG + HTTP streaming from analog camera

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
TheSteelRat
New Cone
New Cone
Posts: 4
Joined: 02 Aug 2011 19:19

dshow + MJPEG + HTTP streaming from analog camera

Postby TheSteelRat » 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:

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
But I have big delay (about 1 minute).
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
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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: dshow + MJPEG + HTTP streaming from analog camera

Postby Jean-Baptiste Kempf » 02 Aug 2011 23:45

Possibly a bug then...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: dshow + MJPEG + HTTP streaming from analog camera

Postby VLC_help » 03 Aug 2011 13:39

Low FPS video isn't something that VLC handles very well.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 44 guests