Well Hello!
I’m beginning in Arduino and Processing which I think is a PERFECT alliance for me.
I don’t know about you but for me it’s a dream come true to be able to make our own robot and make our own app to control it with the same programming language (or they’re just similar… I don’t know told you I’m beginning) that we use to program our robot and it’s pretty easy.
WHATEVER!!!
So I am basically making an app to control my upcoming Arduino projects.
For the moment I just wanna turn it on and off using the arrow keys of my computer and I know how to do that, IT IS NOT the problem.
The problem is that I wanna put a video in my app and make it pause or play when it’s on or off but the video won’t RUUUN!!! Here’s the ERROR:
Processing video library using GStreamer 1.16.2
BaseSrc: [source] : Could not open file “C:\Users\I’m not gonna show my last name in a forum\Downloads\Projet\data\Système_Bleu.mov” for reading.
BaseSrc: [source] : GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
BaseSrc: [source] : Could not open file “C:\Users\I’m still not gonna show my last name in a forum lol\Downloads\Projet\data\Système_Bleu.mov” for reading.
BaseSrc: [source] : GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
WARNING: no real random source present!
I don’t know how to fix it please help!
Oh and by the way here is the code in case you need it:
import processing.video.*;
Movie systemebleu;
PImage niveaux;
PImage logo;
PImage animationlogo=new PImage[20];
void setup() {
fullScreen();
background(0);
systemebleu=new Movie(this, “Système_Bleu.mov”);
systemebleu.loop();
niveaux=loadImage(“Niveaux.png”);
logo=loadImage(“Logo_Hassan_Labs.png”);
frameRate(15);
animationlogo[0]=loadImage(“Logo_Animé_D’Hassan_Labs.png”);
animationlogo[1]=loadImage(“Logo_Animé_D’Hassan_Labs 2.png”);
animationlogo[2]=loadImage(“Logo_Animé_D’Hassan_Labs 3.png”);
animationlogo[3]=loadImage(“Logo_Animé_D’Hassan_Labs 4.png”);
animationlogo[4]=loadImage(“Logo_Animé_D’Hassan_Labs 5.png”);
animationlogo[5]=loadImage(“Logo_Animé_D’Hassan_Labs 6.png”);
animationlogo[6]=loadImage(“Logo_Animé_D’Hassan_Labs 7.png”);
animationlogo[7]=loadImage(“Logo_Animé_D’Hassan_Labs 8.png”);
animationlogo[8]=loadImage(“Logo_Animé_D’Hassan_Labs 9.png”);
animationlogo[9]=loadImage(“Logo_Animé_D’Hassan_Labs 10.png”);
animationlogo[10]=loadImage(“Logo_Animé_D’Hassan_Labs 11.png”);
animationlogo[11]=loadImage(“Logo_Animé_D’Hassan_Labs 12.png”);
animationlogo[12]=loadImage(“Logo_Animé_D’Hassan_Labs 13.png”);
animationlogo[13]=loadImage(“Logo_Animé_D’Hassan_Labs 14.png”);
animationlogo[14]=loadImage(“Logo_Animé_D’Hassan_Labs 15.png”);
animationlogo[15]=loadImage(“Logo_Animé_D’Hassan_Labs 16.png”);
animationlogo[16]=loadImage(“Logo_Animé_D’Hassan_Labs 17.png”);
animationlogo[17]=loadImage(“Logo_Animé_D’Hassan_Labs 18.png”);
animationlogo[18]=loadImage(“Logo_Animé_D’Hassan_Labs 19.png”);
animationlogo[19]=loadImage(“Logo_Animé_D’Hassan_Labs 20.png”);
}
void draw() {
noStroke();
fill(50);
rect(0,0,width,height/7.68);
tint(200,255,255);
image(systemebleu,880,120,480,640);
noTint();
image(niveaux,width/2.276,500,200,178);
stroke(0,255,255);
fill(32,0,48);
rect(width/2.239,width/4.553,height/4.314,height/4.314);
image(animationlogo[frameCount%20],width/2.239,height/2.56,width/7.67,width/7.67);
image(logo,width/1.074,height/76.8,width/18.213,width/18.213);
}
Here are some informations you might need:
- Operating System: Windows 10
- Version of Processing: 3.5.4
- Wig: snatched
- Hotel: Trivago
Thank you for replying ^-^