Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Getting sound but no picture, please help

$
0
0

Hello :)

I am trying to create a glitchy video, and so far I am only getting sound. The video is long-ish(3minutes?), and maybe that is causing the problem.

Can you please help me? Thank you in advance.

import processing.video.*;
import ddf.minim.*;
import processing.opengl.*;
import glitchP5.*;


AudioPlayer player;

Movie myMovie;

GlitchP5 glitchP5;

void setup() {
  size(200, 200);
  stroke (255);
  frameRate(30);
  smooth();

   glitchP5 = new GlitchP5(this);
     myMovie = new Movie (this, "parade.mp4");
     myMovie.play();
}

void draw () {
  if(myMovie.available()) {
    myMovie.read();
  }

  image (myMovie, width, height);

 glitchP5.run();
  glitchP5.glitch(600, height, 1000, 1000, 500, 5, 5, 1.0f, 20, 60);
}

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

Viewing all articles
Browse latest Browse all 2896

Trending Articles