8 int main(int ac, char **av)
10 int ret; setbuf(stdout,0);
13 //db.access(av[1], 34543, 0);
14 if( !db.opened() || db.error() ) exit(1);
16 if( !(ret=db.clip_set.FirstId()) ) do {
17 char fn[1024]; sprintf(fn,"%s/w%05d.txt",av[2],db.clip_set.id());
18 FILE *fp = fopen(fn,"w");
19 double *weights = (double *)db.clip_set._Weights();
20 int frames = db.clip_set.Frames();
21 for( int i=0; i<frames; ++i )
22 fprintf(fp,"%f\n",weights[i]);
24 } while( !(ret=db.clip_set.NextId()) );