I'm having an issue with the VideoDisplay object when running it on an ODROID-C1 SoC (Ubuntu 14, ARM architecture). Regardless of whether I use a webcam via the VideoCapture as the input, or a video file via the XuggleVideo as the input, it creates the JFrame but displays a black screen instead of the video itself.
The same code runs fine on my MacBook. Both the webcam and video I'm using as test inputs on the ODROID-C1 play back fine when used by something other than openimaj on the ODROID-C1. They both also play back fine when I use the same webcam and video file using the same openimaj project on my MacBook.
When using the VideoCapture with the webcam, I can see that the video capture itself is working fine by adding facial detection to the VideoDisplay and hooking up a VideoDisplayListener to log info on the detected faces. The VideoDisplay however continues to display black.
To try and debug the issue I stripped the code down to bare metal...
{code}
XuggleVideo video = new XuggleVideo(new File("/tmp/3_min_big_bunny.mp4"));
VideoDisplay<MBFImage> vd = VideoDisplay.createVideoDisplay(video);
{code}
I had it working on an Odroid-U3 last summer without any problems (funnily enough also testing with big buck bunny). Not sure what the problem might be off the top of my head - can you tell me which JVM you're using (paste output of "java -version")?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2015-01-29
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having an issue with the VideoDisplay object when running it on an ODROID-C1 SoC (Ubuntu 14, ARM architecture). Regardless of whether I use a webcam via the VideoCapture as the input, or a video file via the XuggleVideo as the input, it creates the JFrame but displays a black screen instead of the video itself.
The same code runs fine on my MacBook. Both the webcam and video I'm using as test inputs on the ODROID-C1 play back fine when used by something other than openimaj on the ODROID-C1. They both also play back fine when I use the same webcam and video file using the same openimaj project on my MacBook.
When using the VideoCapture with the webcam, I can see that the video capture itself is working fine by adding facial detection to the VideoDisplay and hooking up a VideoDisplayListener to log info on the detected faces. The VideoDisplay however continues to display black.
To try and debug the issue I stripped the code down to bare metal...
{code}
XuggleVideo video = new XuggleVideo(new File("/tmp/3_min_big_bunny.mp4"));
VideoDisplay<MBFImage> vd = VideoDisplay.createVideoDisplay(video);
{code}
Any ideas?
Thanks,
Dean
I had it working on an Odroid-U3 last summer without any problems (funnily enough also testing with big buck bunny). Not sure what the problem might be off the top of my head - can you tell me which JVM you're using (paste output of "java -version")?