Other advices:
- Put size() at the start of setup().
- You probably call loop() repeatedly. I don't know the video library enough to tell if it is bad, but I don't think it is a good idea.
- Avoid using delay() in a sketch, in general.
- Put size() at the start of setup().
- You probably call loop() repeatedly. I don't know the video library enough to tell if it is bad, but I don't think it is a good idea.
- Avoid using delay() in a sketch, in general.