#9 CGI Script Execution Capability

open
nobody
Plugins (3)
5
2013-07-28
2012-06-04
Anonymous
No

Being able to execute server-side cgi scripts (python, php, etc.) would add more flexibility for a user to implement their webpage with custom controls and functions.

For example, a webpage that uses mjpg-streamer to display video and buttons that execute a python script on the server to send USB or Serial commands to external devices. Not just PTZ controls but custom controls for a robot or other hardware.

Discussion

  • Austin Haigh
    Austin Haigh
    2013-07-28

    See my patch here: https://sourceforge.net/p/mjpg-streamer/patches/13/

    To install, just run

    git clone git@github.com:austinHaigh/mjpg-streamer-output_cgi.git
    cd mjpg-streamer-output_cgi
    make

    and copy the newly created .so file to your plugins/ directory. Check the README for bugs.