zzxxpp1011239740 / webp

Automatically exported from code.google.com/p/webp
0 stars 0 forks source link

webpconv tool is slow to encode #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. timex webpconv bryce_big.jpg

What is the expected output?
encode roughly same speed as other encoders. ie a few seconds at most

What do you see instead?
93 seconds

timex webpconv bryce_big.jpg
processing bryce_big.jpg
Output file bryce_big.webp
Used quality=85
timex 93936.50ms

Please use labels and text to provide additional information.
webpconv 0.0.5
windows7, nehalem, 32 bit msys exe built with gcc 4.5.0

Original issue reported on code.google.com by fbarch...@google.com on 25 Dec 2010 at 1:02

Attachments:

GoogleCodeExporter commented 9 years ago
The new encoder took 24s for this image on default quality (75)

vikas[138] time cwebp -q 75 bryce_big.jpg -o bryce_big.webp
Saving file 'bryce_big.webp'
4461356 bytes Y-U-V-All-PSNR 36.85 42.21 43.98   38.12 dB
block count:  intra4: 85305
              intra16: 8925  (-> 9.47%)
              skipped block: 1411 (1.50%)
bytes used:  header:            504  (0.0%)
             mode-partition: 513053  (11.5%)
 Residuals bytes  |segment 1|segment 2|segment 3|segment 4|  total
  intra4-coeffs:  | 2513602 |  843679 |  261585 |   50478 | 3669344  (82.2%)
 intra16-coeffs:  |    2007 |   15958 |   27884 |   15066 |   60915  (1.4%)
  chroma coeffs:  |  130769 |   51063 |   27937 |    7744 |  217513  (4.9%)
    macroblocks:  |      53%|      26%|      14%|       5%|   94230
      quantizer:  |      30 |      24 |      17 |      15 |
   filter level:  |       4 |       0 |       0 |       0 |
------------------+---------+---------+---------+---------+-----------------
 segments total:  | 2646378 |  910700 |  317406 |   73288 | 3947772  (88.5%)
23.880u 0.170s 0:24.20 99.3%    0+0k 0+8720io 0pf+0w

Original comment by vikaas.a...@gmail.com on 21 Mar 2011 at 5:28

GoogleCodeExporter commented 9 years ago
24 seconds seems slow?  ffmpeg takes 1.3 seconds for jpeg.

timex ffmpeg -i bryce_big.jpg -an -qscale 8 bryce_big_new.jpg
timex 1375.56ms

Photoshop is about 2 seconds

cjpeg is 2.3 seconds from RGB
timex cjpeg -quality 75 -outfile newbryce.jpg bryce_big.tga
timex 2352.18ms

Original comment by fbarch...@google.com on 21 Mar 2011 at 11:38