APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Xuggle video engine doesn't work post and replies

Return to the Xuggle video engine doesn't work thread
Login to post to this thread

Xuggle video engine doesn't work in new update (6.0.2), can not upload videos
Isuru Bhathiya
4 Posts

After installing the new update(6.0.2) it shows the message "The Xuggle video engine is not working or not installed". According to its instructions, I checked the information (a screenshot was attached below.) in the help/Diagnostic/About Xuggle. Then according to its instructions, I copied the jars from the source directory to the code base directory. But still have the issue. Because of this issue, I cannot upload any video to the tracker.

Attached File: 2198_Screenshot2.png


Replies to Xuggle video engine doesn't work in new update (6.0.2), can not upload videos

Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Douglas Brown Avatar
Douglas Brown
388 Posts

Can you tell us what OS you are using? Also, what is the JRE path shown when you choose Help|Diagnostics|About Java? Doug


> After installing the new update(6.0.2) it shows the
> message "The Xuggle video engine is not working or
> not installed". According to its instructions, I checked
> the information (a screenshot was attached below.)
> in the help/Diagnostic/About Xuggle. Then according
> to its instructions, I copied the jars from the source
> directory to the code base directory. But still have
> the issue. Because of this issue, I cannot upload
> any video to the tracker.



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Isuru Bhathiya
4 Posts

I am currently using Windows 10. But Windows 11 OS is currently available for my PC. therefore I hope to upgrade to it soon. (Should I wait until  u fix this issue?)

The path was

from
C:\Program Files\Tracker\Xuggle

to
C:\Program Files\Tracker



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Douglas Brown Avatar
Douglas Brown
388 Posts

Isuru, Can you take and attach a screenshot of the contents of C:\Program Files\Tracker? What does Help|About Java show for the jre path?



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Isuru Bhathiya
4 Posts

A screenshot of the message box that shows in the "Help | About Java" was attached with my very first post. That is the only message I  am getting from the "Help | About Java".

Attached File: Screenshot163.png



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Douglas Brown Avatar
Douglas Brown
388 Posts

The screenshot in your first post was Help|About Xuggle. I am asking about Help|About Java.



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Isuru Bhathiya
4 Posts

Here it is

Attached File: Screenshot166.png



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Douglas Brown Avatar
Douglas Brown
388 Posts

I'm sorry, Isuru, but I don't know why Xuggle doesn't work on your machine. All of your info and screenshots look totally normal and correct. Has anyone else experienced or heard of this issue?

There is something you can do to use Tracker without Xuggle: convert your video clip into an image stack using online video converters such as Online Converter (https://www.onlineconverter.com/video-to-jpg).

I hope this helps!  Doug

> After installing the new update(6.0.2) it shows the
> message "The Xuggle video engine is not working or
> not installed".
> Because of this issue, I cannot upload
> any video to Tracker.



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Christoph Wissing
2 Posts

Dear Doug,

I have the same issue on Linux and investigated the issue a little bit. I start with a fresh installation of 6.0.3 with my personal local account. Everything works. However when I login with a different (guest) account on the same machine I see the described Xuggle issue. I get it to run, when calling tracker with sudo rights though.

When I reboot the computer and login with the guest account that was problematic before, I can use tracker normally, but now my personal account fails. Running with sudo forces it to run on any account. I reproduced this issue on my desktop running Fedora 34 and two laptops, one with CentOS 8 and one with Ubuntu 21.04.

Most likely the issue is internal to Xuggle and not really something on the Tracker end, but I am lacking competences to further debug this. Did you update Xuggle with one of the recent Tracker releases? Perhaps something bad sneaked in.

Thanks for all that good stuff!

Regards, Christoph



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Christoph Wissing
2 Posts

Hello,

let me answer myself. By chance I found out, what is causing the problem with the video engine, when I switch the accounts as described.

When Tracker is started (on Linux) it creates a directory /tmp/xuggle. Perhaps it is Xuggle creating it and not Tracker  itself. In any case, the directory remains and another user cannot use it due to permission issues. When I make sure, that the /tmp/xuggle directory is not there, I can start Tracker with any account.

If Tracker is control of the directory it can be easily fixed, e.g. by extending the username or a hash. If Xuggle is in charge, relevant developers can certainly do something about.

Perhaps this causes similar effects also on other platforms. Recently there have been a few more reports about problems with the Video engine. From the provided details I would guess it is Windows.

Hope that helps!

Regards, Christoph



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Vi Acc
1 Posts

Your right, the /tmp/xuggle is the problem. I'm using Linux Mint and unless I reboot, Tracker sees the folder someone else created with another login and won't start xuggle. However, once rebooted, the tmp folder is cleared, and Tracker runs normally. I didn't have such issues in version 5 of Tracker. Hope the glitch can be fixed.



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Milos Krsmanovic
9 Posts

Hello,

I just found this thread by searching for this exact issue, which I also have.

My About Java screenshot is attached.

This is happening in version 6.0.3. on Windows 10. I upgraded the software to the latest version as the previous version I had (5. something) suddenly started reporting errors about my system having x64 version of Java and needing x32 version to load the videos. So this might not be the issue with Xuggle, but Java.

Copying Xuggle jar files manually or by clicking the button in the dialog does nothing. I tried running Tracker as the admin and an ordinary user.

Attached File: Xuggle03.PNG



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Douglas Brown Avatar
Douglas Brown
388 Posts

From your screenshot it looks like Tracker is using a bundled 32-bit Java. I suspect you have installed the new version 6.x.x into the same directory as the older Tracker 5.x.x. The old version required 32-bit Java and came with a bundled 32-bit Java while the new version 6.x.x requires a 64-bit Java and comes with a bundled 64-bit Java. For this reason, the default Tracker directory is different for the new (Program Files (x86)/Tracker) versus the old (Program Files/Tracker)--the old and new are in completely separate directories.

There are 2 possible fixes:

1. Open the preferences (Edit|Preferences) and in the Runtime tab check that the Tracker version is set to default and the Java Virtual Machine is set to the Tracker/9.0.4-x64-jre. Restart Tracker and see if this does the job.
2. If not, you should uninstall Tracker 6, then reinstall in a separate directory from Tracker 5. This should certainly work.



> My About Java
> screenshot is attached.
>
> This is happening in version
> 6.0.3. on Windows 10. I upgraded the software to the
> latest version as the previous version I had (5. something)
> suddenly started reporting errors about my system
> having x64 version of Java and needing x32 version
> to load the videos. So this might not be the issue
> with Xuggle, but Java.
>
> Copying Xuggle jar files manually
> or by clicking the button in the dialog does nothing.
> I tried running Tracker as the admin and an ordinary
> user.



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Milos Krsmanovic
9 Posts

I tried the first thing - setting the Java Virtual Machine via the preferences - and that did it. It works now.

Thank you so much for your help!



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Concetto Gianino
3 Posts

Even the new version of Tracker (6.x.x) does not work for me, I tried to install it in another folder and I set the preferences, but when I try to import a video I can't. By default it tries to open files with the extension of images and not videos (See screenshot). Tracker only starts regularly the first time when I install it. I tried to change the installation folder but it doesn't solve the problem. You can help me?

Attached File: Immagine1.png



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Concetto Gianino
3 Posts

At first use after installation, everything works fine. When I close and reopen the problem arises, it does not recognize the video formats and the diagnosis tells me (see other attachment)

Attached File: Immagine2.png



Re: Xuggle video engine doesn't work in new update (6.0.2), can not upload videos -
Matias Gonzalez
2 Posts

Hi man, I dont know if you are still having this issue or if you resolved it already, but for anyone who hasnt: for me, executing Tracker.exe as administrator solved this issue. Christopher Wissing (one of the other users who replied to this thread above) said that the issue relies with user permissions, and that does seem to be the case. While his system was linux and mine windows, I thought this wouldnt work, but it does. He had to open tracker with sudo, but for those of us who have windows, you should open it as administrator instead (which is the same thing, just different terminology)



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book