Re: Lots of files - how to select newest 10K files



On Fri, 08 Feb 2008 07:58:58 -0700, Douglas Mayne wrote:
This sounds a bit like a contrived homework-style problem.
Your problem seems some arbitrary collection of files until 10,000 files
have been selected. I can see that there is a case where some new files
will never be selected. For example, if more that 10,000 files are
created on the interval. That makes this look like a contrived
homework-style problem. I suppose that the contents of the four reports
presented above could be tweaked until the requirement is met and that
satisfy your selection criteria.

Well, it's not homework but it is a bit contrived.

Visit http://www.seiner.com and look at the lizardcam and the snakecam.
The crittercams run at 12FPS but motion only saves the frames when it
detects motion. The result is that every I have a directory with
thousands of time-stamped jpg images.

I have a script that runs every hour, which creates a flash video from
the last 24 hours' worth of images, and deletes anything older than that.

In a typical 24 hour period, the lizard is active for about an hour,
which, with my ~ 4:1 speedup, creates about 10-15 minutes of video.
Great.

The snake is only active a few minutes a day; after feeding it may not
move at all for a day or two. So the videos are uniformly boring and
short. Then, when she gets hungry, she will be very active and create a
few minutes of video whenever she hunts.

The snakecam is the problem. I want to end up with at least 10-15
minutes of snake video, which means that I have to keep about 10,000
frames even if it means keeping the previous day's activity. But when
she's 'hunting' she can move a lot and easily exceed 10K frames in a day.

Thus my problem. I want to have enough frames to create a movie of about
10 minutes even if it means using yesterday's footage, but if she moves
enough to create 20K frames in a 24 period I want to show that too.

.



Relevant Pages

  • Re: Can I play only specified frames of a movie in ppt
    ... you can do this if you insert your movie as an object - you'll need to ... set the Start Selection and End Selection points though in Media Player - ... names Media Object or Video Object any more - however, ... on other occassions we wish to only show frames 2003 to 2545 etc. ...
    (microsoft.public.powerpoint)
  • Re: Lots of files - how to select newest 10K files
    ... satisfy your selection criteria. ... The crittercams run at 12FPS but motion only saves the frames when it ... few minutes of video whenever she hunts. ... This command erases all the oldest files greater than 10000 the ...
    (comp.os.linux.misc)
  • Re: mpeg 2 editing
    ... >> exact match to the first MPEG, that it will fit in perfectly with the ... >> rest of the MPEG's frames, that are simply copied to the new ... > the degraded result of retranscoding mpeg-compressed video is not only ... > cheapie capture cards and DVD and hard-disk consumer camcorders ALREADY ...
    (rec.video.desktop)
  • Re: CPU requirements for HDTV MythTV
    ... So, in other words, you have no idea if you were watching 30fps or 25fps. ... Chances are you are dropping a lot of frames and just don't notice it. ... "I got fed up with jerky video playback on my Linux HTPC and Plus UP-1100P ... 23.976Hz NTSC telecine - if displays could do it, ...
    (alt.tv.tech.hdtv)
  • RE: Excessive Frame Drops in pimg application during video capture on
    ... I suspect it's the buffering filter that's dropping rather than the vcap ... What has happened in the past is the CPU is unable to encode video fast ... logic to evenly distribute the dropped frames throughout the video file. ...
    (microsoft.public.windowsce.platbuilder)

Loading