Hi, I am in the middle of doing a couple of updates, but wanted to let people know that I have verified that .ogg files are supported on Linux.
However, when testing on Ubuntu I am getting the following error when trying to stream video (I've tried .ogg, .mov, and .flv files which def. work when running locally):
"jackd not found at /sh"
Then I install jackd using apt-get, and then I get this error:
"JACK tmpdir identified as [/dev/shm]"
I am able to hear the video, but not see it.
Does anyone have any idea what might be a way to solve this?
Here's the code I'm using to stream using a video from wikipedia:
Code:
import jmcvideo.*;
import processing.opengl.*;
import javax.media.opengl.*;
VideoGL myMovie;
void setup() {
size(320, 240, OPENGL);
background(0);
// Load and play the video in a loop
String HTML_FILE = "http://upload.wikimedia.org/wikipedia/commons/3/3a/Harry_Truman_video_montage.ogg";
URL url = null;
try
{
url = new URL(HTML_FILE);
}
catch(Exception e)
{
println("errror!");
}
myMovie = new VideoGL(url);
myMovie.loop();
}
void draw()
{
PGraphicsOpenGL pgl = (PGraphicsOpenGL) g;
GL gl = pgl.beginGL();
myMovie.alpha = 20f/255f;
myMovie.image(gl, mouseX -(myMovie.vw/2)/2, mouseY-(myMovie.vh/2)/2,
myMovie.vw/2, myMovie.vh/2);
pgl.endGL();
}
Btw, this code works fine streaming .flv or .mov files on OSX.
Thanks, Angus