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.

more than 10.000 frames? post and replies

Return to the more than 10.000 frames? thread
Login to post to this thread

video size a problem?
Martin Peters
13 Posts

and I got another question concerning the size of the examined video:
If I want to track an objekt during a big video of more than 10.000 frames (e.g. 40.000) TRACKER stops at frame number 10.000.
If I change the endframe number, the program changes it again back to 10.000.
How can I track such a video without using a video cutting tool?

Regards
Martin


Replies to video size a problem?

Re: video size a problem? -
Douglas Brown Avatar
Douglas Brown
451 Posts

I'll have to look into this, Martin. It must be a bug--the maximum frame count should be 300,000.

Has anyone else out there had this same problem?  Doug



memory full -
Martin Peters
13 Posts

Thanks Doug!
Another point in tracking bigger videos is that I couldn't find a way to delete the memory. I mean, I use the tracker to track two trackpoints in 3600 frames (more and my computer breaks down and the tracker data is gone) and then I want to track the next 3600 frames. I thought if I delete the trackcoordinates of the first run (after exporting them) the memory should be empty again and ready to go for the next 3600 frames. But the display "memory in use" keeps its value and the program becomes very slow until it breaks down when the memory is full.

Do you have ideas for this problem? Is it just me having this problem? Is it my computer which is too slow or is it a general problem of TRACKER?
Regards
Martin



Re: memory full -
Douglas Brown Avatar
Douglas Brown
451 Posts

You might try either deleting not only the marked points but the entire track, then creating a new track to continue tracking. If that doesn't work, you should relaunch Tracker and start fresh with the continued tracking.

Have you tried increasing Tracker's memory size (Edit|Preferences, Runtime tab)?

You mention the program becoming slow. You can probably fix this by clicking the reset button at the right end of the toolbar and turning off the auto-refresh. This will prevent the tables and plots from refreshing each time a new point is marked. (You can still refresh manually by clicking the reset button and choosing Refresh.)

Hope this helps. Doug



Re: Re: memory full -
Martin Peters
13 Posts

This is how I do it right now. Relaunching tracker and starting with a new track. But there is a small deviation from the old track because I choose a new keyframe (of course using the x,y-coordinates of the old track to find the right position). (and then the 10.000 frames limit occures. But this is the other point...)

I increased the memory size to 1GB. (my computer has got 4GB RAM). If I try to take more than 1GB, tracker does not open any more. I had to reinstall the program.

I'm already using the manual refresh. It is faster like that, but it still becomes very slow as I mentioned.

Does no one else have problems with the tracking speed? May be I am the only one who uses tracker for such a big data size with frames more than 10.000?

Post edited August 20, 2013 at 3:14 AM EST.



Re: Re: Re: memory full -
Douglas Brown Avatar
Douglas Brown
451 Posts

Hi Martin,

If you'll email me directly at dobrown@cabrillo.edu I can send you a beta version of Tracker 4.82 that fixes the 10,000 frame limit problem.  In fact I will send it to anyone else who works with very large videos, too--just email me. Note: If you do NOT work with 10,000+ frames, please do NOT email me as this beta will have no benefit for you.

I don't know why specifying more than 1 GB of memory prevents Tracker from launching, but I can reproduce the problem on my laptop. I will look into this bug further. In the meantime, if you accidentally set the memory too high and can no longer launch Tracker, you can do this instead of reinstalling:

1. find and open the .tracker.prefs file in your home directory (note the starting dot, which makes the file hidden unless you tell your OS to show hidden files).

2. edit the memory size line to read "<property name="memory_size" type="int">1000</property>". The value can be smaller than 1000, but not larger.

3. save your changes and relaunch Tracker.

Doug


 

 



Re: Re: Re: memory full -
Giancarlo Cavagna
7 Posts

Dear Martin, I also analyze video with many frames (50000) and I your problems: memory full and slow in tracking, 10000 block frame,. I wrote to Doug for the beta version 4.82. You've tried this version? He solved the problems?
Thank you.
Hello
Giancarlo



Re: memory full -
Martin Peters
13 Posts

Hi Giancarlo,
I am using Doug's new version 4.82, too. Now I can track more than 10000 frames. But still TRACKER becomes very slow after tracking more than 5000 frames at a time. That's why I always track just 3600 frames at a time and then restart TRACKER (to clear the memory) and start a new track with the coordinates of the first run.
Regards
Martin



Re: Re: memory full -
Giancarlo Cavagna
7 Posts

Thanks Martin,
Doug sent me the 4.82. I'll try in the next few days.
About the slow, I'll try to increase the memory (runtime), I have 16 GB of ram. You've already tried?
Regards
Giancarlo



Re: Re: Re: memory full -
Martin Peters
13 Posts

I upgraded my ram to 4GB. This decreased the problem. But still I track portions of 3600 frames at a time, because it is too slow either.
But may be 16GB is better...? Let me know!
Regards

Martin



Re: Re: Re: memory full -
Jens Biele
6 Posts

I know the issue.
1) Increase RAM as far as possible (usually limited by Java, not your PC's physical memory.) 1 GB seems to be the limit for the JRE I have.
2) turn off auto-refresh!! This slows it down .. you won't see the data rolling in and graphs evolving, but you can always do that after (simply click refresh)



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