Motion - Support Question 2006x 10x 10x 142338

Create mjpeg stream readeable by browsers froma file


Is there any way to use mjprox to feed an existing mjpeg file through a webserver so that it can be accessed via a browser?


Motion version: 3.2.6
ffmpeg version: CVS
Libraries: ffmpeg, mysql, postgresql
Server OS: gentoo

-- AntwanOdy - 10 Oct 2006


It would not be too hard to implement but the mjprox as it is made can only open the stream from a tcp socket.

Look maybe at the PHP variations to mjprox. It should be easy to implement then. The key elements are

  • Must be made either as an nph- cgi script, or as a program that sends the right headers to the browser so the stream becomes mjpeg and not text or html.
  • Must have a delay between each frame so the speed gets right.

-- KennethLavrsen - 26 Jul 2007
Topic revision: r2 - 26 Jul 2007, KennethLavrsen
Copyright © 1999-2024 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.