Hello everybody I would like to view my VLC videos into processing I saw that no spout plugin is existing for VLC so I'm trying to use network
I tried to open rtp and rtsp with the Movie class, but, impossible to make it works
I tried to add it in the valid protocols, but still not this is my code
`import processing.video.*;
class Mov2 extends Movie
{
Mov2(PApplet main, String url)
{
super(main, url);
supportedProtocols[1] = "rtsp";
supportedProtocols[2] = "rtp";
}
}
Mov2 movie;
void setup() {
size(640, 360);
background(0);
try
{
movie = new Mov2(this, "rtp://127.0.0.1:1234/");
}
catch (Exception e)
{
}
movie.loop();
}
void movieEvent(Movie m) {
m.read();
}
void draw()
{
image(movie, 0, 0, width, height);
}`
Does anybody knows how can I do ?
Thanks a lot !