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.

Tacker hangs when loading video file post and replies

Return to the Tacker hangs when loading video file thread
Login to post to this thread

have to use "open with" to load video and .trz file
Gordon Judd
11 Posts

Doug,
I have run into a weird situation in trying to load certain .mov files.  When I start Tracker and try to import those files Tracker hangs with a white screen.  I used Handbrake to convert that video to a .mp4 file but found that converted file will also cause Tracker to hang on start up.

By accident I found that if I go to the files location and then click on "open with" and then select Tracker it will open and run normally.  After tracking a point mass I then saved that project in a .trz project file and closed tracker.

Now if I start Tracker and try to load that .trz file it will hang again.  However if I go through the "open with" process for the video file Tracker will start up normally.  After the video loads I can  load the .trz file and get back my tracking points.

If you would like you I could send you the .mov file and the .trz file so you could see what is going on.

Thanks,
Gordon Judd


Replies to have to use "open with" to load video and .trz file

Re: have to use "open with" to load video and .trz file -
Douglas Brown Avatar
Douglas Brown
375 Posts

Gordon--thank you, but can you please give us more information? Look at this Tracker document that explains how to diagnose and fix Tracker problems, or if necessary, how to document and report a bug.

https://www.compadre.org/osp/items/detail.cfm?ID=16061


> I have run into a weird situation in trying
> to load certain .mov files.  When I start Tracker
> and try to import those files Tracker hangs with a
> white screen.  I used Handbrake to convert that video
> to a .mp4 file but found that converted file will
> also cause Tracker to hang on start up.
>
> By accident
> I found that if I go to the files location and then
> click on "open with" and then select Tracker it will
> open and run normally.  After tracking a point mass
> I then saved that project in a .trz project file and
> closed tracker.
>
> Now if I start Tracker and try to
> load that .trz file it will hang again.  However if
> I go through the "open with" process for the video
> file Tracker will start up normally.  After the video
> loads I can  load the .trz file and get back my tracking
> points.
>
> If you would like you I could send you the
> .mov file and the .trz file so you could see what
> is going on.
>
> Thanks,
> Gordon Judd



Re: have to use "open with" to load video and .trz file -
Gordon Judd
11 Posts

Doug,
I am using version 6.0.8, and my Java file is at C:\Program Files\Tracler\9.0.4-x64-jre.
The startup log shows:
TrackerStarter version 6.0.8  10:32:27  Jun 02 2022

- launch initiated by user
- TrackerStarter running in jre: C:\Program Files\Tracker\9.0.4-x64-jre
- launching with main arguments: null
- TrackerStarter jar: C:\Program Files\Tracker\Tracker.exe
- code base accepted as trackerhome based on contents
- using trackerhome: C:\Program Files\Tracker
- xugglehome found relative to trackerhome: C:\Program Files\Tracker\Xuggle
- using xugglehome: C:\Program Files\Tracker\Xuggle
- xuggle 5.7 found: C:\Program Files\Tracker\xuggle-xuggler-server-all.jar
- loading starter preferences from: C:\Users\aAa\AppData\Local\OSP\tracker.prefs
- preferred Tracker version: tracker.jar
- preferred xuggle version: 5.7 server
- no preferred java VM
- using bundled VM: C:\Program Files\Tracker\9.0.4-x64-jre
- using default memory size: 1024 MB
- Windows: looking for tracker jars in C:\Program Files\Tracker
- tracker jars found: tracker-6.0.0.jar, tracker-6.0.1.jar, tracker-6.0.7.jar, tracker-6.0.8.jar, tracker.jar
- using tracker jar: C:/Program Files/Tracker/tracker.jar
- xuggle 5.7 files up to date
- setting TRACKER_HOME = C:\Program Files\Tracker
- setting XUGGLE_HOME = C:\Program Files\Tracker\Xuggle
- executing command: C:/Program Files/Tracker/9.0.4-x64-jre/bin/java -Xms32m -Xmx1024m -jar C:/Program Files/Tracker/tracker.jar
- writing code base start log C:\Program Files\Tracker\tracker_start.log
- exception writing code base start log (access denied?)
- writing user start log to C:\Users\aAa\AppData\Local\OSP\tracker_start.log
The message log gives:
Jun 02, 2022 10:32:28 AM org.opensourcephysics.cabrillo.tracker.Tracker loadPreferences
INFO: preferences loaded from C:/Users/aAa/AppData/Local/OSP/tracker.prefs
The preferences file gives:


    tracker.jar
    C:\Users\aAa\AppData\Local\OSP\Cache
    0
    1654180479
    D:/matlab_backup/Haul_Speed
    mov
    
        D:/matlab_backup/Haul_Speed/paul_haul_2_markers.avi
        D:/matlab_backup/Haul_Speed/paul_arden_delivery_haul.avi
        D:/matlab_backup/Haul_Speed/paul_haul_2_omega_speed.avi
        D:/matlab_backup/haul_speed_mattel/Mattel_forward_combined.mp4
        D:/matlab_backup/kick_back_of_tip/tip_kickback_2.trz
        D:/matlab_backup/kick_back_of_tip/tip_kickback_1.trz
    

</object>

Those kick-back_of_tip files are the ones that are generated by going through the "open with" process rather than trying to load the files via Tracker directly.

Let me know if you need any more information.



Re: have to use "open with" to load video and .trz file -
Douglas Brown Avatar
Douglas Brown
375 Posts

Thanks for the report, Gordon. So if I understand you, Tracker always hangs with a white/empty main view if you do the steps below. Is that correct?

1. open a new Tracker tab
2. choose Video|Import
3. select the .mov or .mp4 file

Does the .mov/mp4 file open if you choose File|Open?
Can you drag and drop the .mov/mp4 file onto Tracker to open it?



Re: have to use "open with" to load video and .trz file -
Gordon Judd
11 Posts

Doug,

Does the .mov/mp4 file open if you choose File|Open? - No

Does the .mov/mp4 file open if you drag and drop it? - No

As I have tried to explain the only way it will open (and other .mov files as well) is to go to File Explorer, right click on the .mov file to get the  "open with" option, and then select Tracker from the program options given in the open with list.



Re: have to use "open with" to load video and .trz file -
Gordon Judd
11 Posts

Doug,
I just opened another file going through the "open with" process.  

When I tried to open the .trz project file for that video I got the attached warning.  Thus it appears that the "open with" process defaults to opening the 5.1.5 version of tracker which will open these .mov files, that cause a problem in version 6.08.

Attached File: tracker_version_warning.jpg



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