Skip to content

Instantly share code, notes, and snippets.

@jrecursive
Created May 4, 2014 04:53
Show Gist options
  • Select an option

  • Save jrecursive/ff737ffad1733adbef69 to your computer and use it in GitHub Desktop.

Select an option

Save jrecursive/ff737ffad1733adbef69 to your computer and use it in GitHub Desktop.
create circuit mjpeg;
use mjpeg;
create device mjpeg-1 as mjpeg-reader {"url":"http://155.41.209.57/image"};
create channel mjm;
create device mjpeg-channel as channeler {"channel":"mjm"};
create wire wire-1 from mjpeg-1.images to mjpeg-channel.data;
create device mjpeg-2 as mjpeg-reader {"url":"http://sciencecentercam.fas.harvard.edu/axis-cgi/mjpg/video.cgi?camera=1&resolution=704x480&1366356887565"};
create wire wire-2 from mjpeg-2.images to mjpeg-channel.data;
alter circuit mjpeg set {"refresh-hz":5.0};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment