# Processing video library wont play larger files

**URL:** <https://discourse.processing.org/t/processing-video-library-wont-play-larger-files/11368>\
**Category:** Libraries\
**Created:** [May 18, 2019, 8:06pm UTC](https://discourse.processing.org/t/processing-video-library-wont-play-larger-files/11368 "2019-05-18T20:06:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfickel](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@sfickel](https://discourse.processing.org/u/sfickel)\
**Post date:** [May 18, 2019, 8:06pm UTC](https://discourse.processing.org/t/processing-video-library-wont-play-larger-files/11368/1 "2019-05-18T20:06:20Z")

</div>

Hello! I am using the processing-video library and I am not able to get it to play a video file larger than 250mb which seems pretty small. Is there any way to get it to play larger files or is there a file size restriction on the library. Thanks!

Here is my code:

```auto
import processing.video.*;
Movie video; 

void setup() { 
  size(600, 400); 
  video = new Movie(this, "testvid5.mov"); 
  video.loop
  (); 
} 

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

void draw() {  
  image(video,0,0); 
}

```

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [May 19, 2019, 1:50am UTC](https://discourse.processing.org/t/processing-video-library-wont-play-larger-files/11368/2 "2019-05-19T01:50:56Z")

</div>

actually i try a 4GB .avi using a absolute path  
under  
/ win7 / 64bit /  
Processing 3.5.3  
and it worked.

* * *

but there might be other issues,  
i think it not finds your file ( and your problem might be independent from file size? )  
what is very confusing is the default path thing not working as expected.

```auto
String infile = "transit.mov";
  myvideo = new Movie(this, infile);

```

works if the file is in subdir /data/

but  
if i use

```auto
String infile = "data/transit.mov";

```

it not finds the file anymore.

* * *

same if i use  
String infile = “transit.mov”;  
but the file is in the sketch path  
and NOT in the /data/ path.

* * *

but abs path

```auto
String infile = "E:/somewhere else/transit.mov";

```

works fine.

* * *

you should copy the error msg you get.
