The Open Source Physics website will be unavailable Friday evening through Saturday afternoon as electrical work occurs in the American Center of Physics server room. Down time will begin at 6PM Eastern Time on Friday. Service is expected to resume by 6PM on Saturday, July 30.

Education Prize Logo
Science SPORE Prize
November 2011

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

Endless loop when loading video post and replies

Return to the Endless loop when loading video thread
Login to post to this thread

Video loader loops - Aug 21, 2013 at 4:30PM
Paul Fontana
2 Posts

I'm loading a .mov video in v4.81.  The video loader progress bar gets to 79%, then returns to 20% and climbs again, and keeps skipping back to 20% every time it gets past 79%.  At first the loop appeared to be endless, but after letting the video load for a while and coming back later, I discovered it had eventually terminated and the video was in memory.  Is this normal?  How many times should I expect to have to wait through the loop?


Replies to Video loader loops

Re: Video loader loops - Aug 21 2013 6:01PM
Douglas Brown Avatar
Douglas Brown
135 Posts

This is the normal progress bar behavior when loading a video with Xuggle. Each iteration of the progress from 20 to 80% represents 1200 frames loaded.

This behavior is needed since Xuggle cannot determine how many frames the video has in advance. When loading a video specified in a trk file, the frame count IS known and the progress bar does not iterate.



Re: Re: Video loader loops - Aug 21 2013 6:11PM
Paul Fontana
2 Posts

Thanks for the prompt reply!  That explains it.  My video is 16112 frames, so must have iterated 14 times, each iteration taking a minute or so, and when you don't know what a program is supposed to be doing, 14 min. ~ ?.



The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics