Giter Club home page Giter Club logo

Comments (3)

korakinos avatar korakinos commented on June 15, 2024 2

A hint for anyone who runs into this bug (as I did recently): It's very easy to work around it by loading the video data with loadBytes(), save the file to disk with saveBytes() and then have the Movie constructor read it from there.

from processing-video.

codeanticode avatar codeanticode commented on June 15, 2024

Need to check playback over http, should be supported.

from processing-video.

cacheflowe avatar cacheflowe commented on June 15, 2024

I just tested, and this works. However! It only works with http, and not https, at least with my example file below

import processing.video.*;

Movie movie;

void setup() {
  size(300, 400);
  background(0);
  movie = new Movie(this, "http://cacheflowe.com/images/code/installation/[email protected]");
  movie.loop();
}

void movieEvent(Movie m) {
  m.read();
}

void draw() {
  image(movie, 0, 0, width, height);
}

If I use https (the host does have a valid SSL cert) I get this error:

BaseSrc: [source] : Secure connection setup failed.
BaseSrc: [source] : Internal data stream error.
Element: [typefindelement0] : Stream doesn't contain enough data.

from processing-video.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.