OSDN Git Service

add png compress option
authorHiroshi Yamashita <piro@users.sourceforge.jp>
Tue, 24 May 2011 14:36:11 +0000 (23:36 +0900)
committerHiroshi Yamashita <piro@users.sourceforge.jp>
Tue, 24 May 2011 14:36:11 +0000 (23:36 +0900)
cmcheckwave.c

index 43f458f..ec7cd9e 100644 (file)
@@ -316,7 +316,7 @@ int dumpinfo(int mcnt)
                if (thumb) {
                        pre=0;
                        for(i=0;i<mcnt;i++) {
-                               asprintf(&cptr,"%s -ao nul -ss %.2f -frames 1 -vo png  %s ; mv 00000001.png %s-%d.png",MPLAYERCMD,(pre + (m[i].stsec-pre)/2)/1000.0,wkfilename,wkfilename,i);
+                               asprintf(&cptr,"%s -ao nul -ss %.2f -frames 1 -vo png:z=9  %s ; mv 00000001.png %s-%d.png",MPLAYERCMD,(pre + (m[i].stsec-pre)/2)/1000.0,wkfilename,wkfilename,i);
                                tclistpush2(cmdlist,cptr);
                                pre = m[i].stsec;
                        }