Motion - Support Question 2013x 12x 26x 165019

Please Adjust Webcam Server to Work with Chrome

Question

Can you please update Motion so that its webcam server (the one operating on default port 8081) outputs an MJPEG stream embedded in an html page, instead of a raw MJPEG stream. For the last several versions, Chrome will not display an MJPEG stream if the stream is not part of an html page.Motion's webcam server outputs a raw MJPEG stream, so Chrome ignores it. If you look at Chrome's debug console when requesting Motion's MJPEG output, it just says "navigation cancelled" or something to that effect.

Firefox works fine. In Firefox, you'll notice that Firefox automatically parses the raw MJPEG stream and wraps the appropriate tags around it, if you look in the Firefox debugger.

Check this behavior at http://mjpeg.sanford.io and http://mjpeg.sanford.io/count.mjpeg.

Also see https://code.google.com/p/chromium/issues/detail?id=308999

Thanks!

Environment

Motion version: 3.2.12
ffmpeg version: 0.8.9-4:0.8.9-0ubuntu0.12.04.1
Libraries: ffmpeg
Server OS: Ubuntu 12.04, kernel 3.8.0-34
-- DavidRadin - 26 Dec 2013

Answer

Topic revision: r1 - 26 Dec 2013, DavidRadin
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.