# Processing video library can't display human figure in a video with green background(solved)

**URL:** https://discourse.processing.org/t/processing-video-library-cant-display-human-figure-in-a-video-with-green-background-solved/24270
**Category:** Libraries
**Created:** [October 1, 2020, 2:25pm UTC](https://discourse.processing.org/t/processing-video-library-cant-display-human-figure-in-a-video-with-green-background-solved/24270 "2020-10-01T14:25:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kenny](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@Kenny](https://discourse.processing.org/u/Kenny)
#### Post date: [October 1, 2020, 2:25pm UTC](https://discourse.processing.org/t/processing-video-library-cant-display-human-figure-in-a-video-with-green-background-solved/24270/1 "2020-10-01T14:25:58Z")

</div>

Hi everyone,

I am using the following code to play the welcoming p5js [video](https://github.com/processing/p5.js-video/blob/gh-pages/assets/video.mp4) which is green background with human figures talking. The problem is that I can only see green canvas (and hear voices) without human figures. I don’t understand where went wrong. Could anyone help? Thanks

The following is my code.

```auto
import processing.video.*;

Movie movie;

void setup() {
  size(320, 240);
  movie = new Movie(this, "video.mp4");
  movie.play();
}

void draw() {

  if (movie.available()){

    movie.read(); 
  }

  image(movie, 0, 0);
}

void keyPressed(){
  if (key == CODED){
    
    if (keyCode == UP){
      println("movie length: " + movie.duration());
    }
  }
}

```

* * *

the solution is to change canvas size to 960x720

---

<div class="post-metadata">

### Author: ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)
#### Post date: [October 2, 2020, 8:19am UTC](https://discourse.processing.org/t/processing-video-library-cant-display-human-figure-in-a-video-with-green-background-solved/24270/2 "2020-10-02T08:19:08Z")

</div>

> [@Kenny](#):
>
> the solution is to change canvas size to 960x720

Hi @Kenny  
Is this the actual video size?

---

<div class="post-metadata">

### Author: ![Kenny](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@Kenny](https://discourse.processing.org/u/Kenny)
#### Post date: [October 2, 2020, 2:03pm UTC](https://discourse.processing.org/t/processing-video-library-cant-display-human-figure-in-a-video-with-green-background-solved/24270/3 "2020-10-02T14:03:43Z")

</div>

> [@noel](#):
>
> Is this the actual video size?

yes, that’s right, it is the video’s actual size.
