Alessio Caiazza is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

nolith / CaptureMJPEG http://capturemjpeg.lilik.it/

CaptureMJPEG, a processing library for Motion JPEG stream. CaptureMJPEG is released under the LGPLv3 license.

Clone this repository (size: 3.3 MB): HTTPS / SSH
hg clone https://bitbucket.org/nolith/capturemjpeg
hg clone ssh://hg@bitbucket.org/nolith/capturemjpeg

Issues

#3 Applets made with CaptureMJPEG didn't works

Reported by Alessio Caiazza

Using in frame.setResizable (true) and setAdaptiveFrameSize(boolean) causes the applet to crash with NullPointerException on frame.

Example

void setup() {
  frame.setResizable (true);
  background(0);
  capture = new CaptureMJPEG (this,
                              "http://mynetworkcamera.foo/image?speed=20",
                              "user",
                              "password");
  capture.setAdaptFrameSize(true);
  capture.startCapture();
  frameRate(20);
}

Using a fixed size applet solve this problem but HTTP connection are not allowed due to Security Policy.
Maybe the applet needs to be signed.

Further investigation needed.

Status: invalid Responsible: Alessio Caiazza Type: bug Priority: major
Milestone: none Component: CaptureMJPEG Version: 1.0

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Alessio Caiazza

    written

    • Changed status from new to invalid.
    • Changed responsible from nobody to nolith.

    An applet in order to work needs to be signed.

    Please refer to Hack signapplet on Procesing wiki.

    You need to sign your jar, core.jar, capturemjpeg.jar and commons-httpclient-3.1.jar.

    Maybe next release will be fatjarred and signed, but you still need to sign your code and core.jar.

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?