|
|
#1 |
|
Member
Join Date: Aug 2008
Posts: 4
|
Paq8p is paq8o9 with a wav model that compresses 16/8bits stereo/mono uncompressed wav files smaller and faster. It also includes some minor improvements to bmp model.
uncompressed wav -> paq8o9 paq8p chimes.wav 55776 -> 32866 22251 chord.wav 97016 -> 48601 34611 ding.wav 80856 -> 38456 17810 notify.wav 119384 -> 65696 49932 recycle.wav 25434 -> 15025 14967 ringin.wav 10026 -> 6799 4309 ringout.wav 5212 -> 1349 1182 start.wav 1192 -> 708 681 tada.wav 171100 -> 101754 87270 Windows XP Balloon.wav 6400 -> 2525 1967 Windows XP Battery Critical.wav 36910 -> 22035 16325 Windows XP Battery Low.wav 53864 -> 21276 16704 Windows XP Critical Stop.wav 39382 -> 19161 14868 Windows XP Default.wav 24530 -> 11890 8485 Windows XP Ding.wav 17132 -> 8161 6246 Windows XP Error.wav 44136 -> 20474 14798 Windows XP Exclamation.wav 42576 -> 17719 12139 Windows XP Hardware Fail.wav 36614 -> 18171 13045 Windows XP Hardware Insert.wav 36636 -> 16411 12158 Windows XP Hardware Remove.wav 36538 -> 16724 12349 Windows XP Information Bar.wav 20336 -> 12086 8551 Windows XP Logoff Sound.wav 179704 -> 77530 58004 Windows XP Logon Sound.wav 190208 -> 79105 57015 Windows XP Menu Command.wav 1404 -> 454 573 Windows XP Minimize.wav 22580 -> 9755 8937 Windows XP Notify.wav 48988 -> 17947 12099 Windows XP Pop-up Blocked.wav 29444 -> 3659 2131 Windows XP Print complete.wav 43762 -> 17863 10870 Windows XP Recycle.wav 22816 -> 14015 13931 Windows XP Restore.wav 19458 -> 7775 7299 Windows XP Ringin.wav 38930 -> 20705 18069 Windows XP Ringout.wav 22070 -> 10721 7646 Windows XP Shutdown.wav 282608 -> 146813 116760 Windows XP Start.wav 2202 -> 1350 1331 Windows XP Startup.wav 424644 -> 224628 183810 Total 2289868 -> 1131303 870218 Time(sec) 1908.01 287.65 MEM 241119658 250567306 paq8o9 -6 rafale.bmp 4149414 -> 551540 Time 347.11 sec, used 468933087 MEM paq8p -6 rafale.bmp 4149414 -> 539067 Time 441.75 sec, used 486903535 MEM paq8o9 -6 bliss.bmp 1440054 -> 288817 Time 129.32 sec, used 468933087 MEM paq8p -6 bliss.bmp 1440054 -> 284653 Time 164.74 sec, used 486903535 MEM Last edited by amorphis : 25th August 2008 at 17:01. |
|
|
|
|
|
#2 |
|
Banned
Join Date: May 2008
Location: EE
Posts: 90
|
timer paq8o10t.exe -8 Pea.wav Pea.wav 18928940 -> 10486310 Time 1897.75 sec, used 1306457026 bytes of memory 8 wav 18928932 Kernel Time = 3.593 = 00:00:03.593 = 0% User Time = 1866.562 = 00:31:06.562 = 98% Process Time = 1870.156 = 00:31:10.156 = 98% Global Time = 1898.109 = 00:31:38.109 = 100% timer paq8p.exe -8 Pea.wav Pea.wav 18928940 -> WAV 16bits/stereo 8528547 18928940 -> 8528577 Time 912.71 sec, used 1777293778 bytes of memory Kernel Time = 1.265 = 00:00:01.265 = 0% User Time = 894.609 = 00:14:54.609 = 98% Process Time = 895.875 = 00:14:55.875 = 98% Global Time = 912.781 = 00:15:12.781 = 100% ![]() |
|
|
|
|
|
#3 |
|
Member
Join Date: Aug 2008
Posts: 4
|
thnx kaitz. you should also try -1 switch. much faster, slightly less compression.
|
|
|
|
|
|
#4 | |
|
Banned
Join Date: May 2008
Location: EE
Posts: 90
|
timer paq8p.exe -1 Pea.wav Pea.wav 18928940 -> WAV 16bits/stereo 9520566 18928940 -> 9520596 Time 286.98 sec, used 38872130 bytes of memory Kernel Time = 0.875 = 00:00:00.875 = 0% User Time = 279.171 = 00:04:39.171 = 97% Process Time = 280.046 = 00:04:40.046 = 97% Global Time = 287.000 = 00:04:47.000 = 100% |
|
|
|
|
|
|
#5 | |
|
Moderator Join Date: May 2008
Location: Tristan da Cunha
Posts: 611
|
![]() Mirror: Download |
|
|
|
|
|
|
#6 |
|
Member
Join Date: May 2008
Location: Denmark
Posts: 242
|
has anybody compared it to nanozip ?
|
|
|
|
|
|
#7 |
|
Member
Join Date: Aug 2008
Location: Saint Petersburg, Russia
Posts: 197
|
Why? It is obvious it'll do better because it's way more precise, though very slow
![]() |
|
|
|
|
|
#8 | |
|
Member
Join Date: May 2008
Location: Antwerp , country:Belgium , W.Europe
Posts: 450
|
![]() I tested on "Desmond Dekker - You Can Get It If You Really Want.wav" (44kHz, 16 bit, stereo) from http://www.squeezechart.com/TEST_Waveforms2.rar 28.306.988 1.wav - original wav 16.612.938 1wav_paq8p_1.paq8p 15.470.959 1wav_nz004_m50m_cDgr.nz 15.256.909 1wav_paq8p_3.paq8p 15.214.615 1wav_paq8p_6.paq8p 15.001.473 1.wav.mma3 14.925.740 1wav_nz004_m50m_co.nz 14.801.717 1wav_nz004_m50m_cc.nz 14.788.888 1wav_nz004_m50m_cOgr.nz 14.788.804 1wav_nz004_cOgr.nz Last edited by pat357 : 26th August 2008 at 16:53. |
|
|
|
|
|
|
#9 |
|
Programmer
Join Date: May 2008
Location: Gaziantep, Turkiye
Posts: 449
|
@pat357:
I wonder how ACWAV perform on your test file. Also, it's direct ripping from an audio cd? or mp3->wav conversion? |
|
|
|
|
|
#10 | |
|
Member
Join Date: May 2008
Location: Antwerp , country:Belgium , W.Europe
Posts: 450
|
Compressed file size = 17794362 bytes ( 1.59:1 compression) The wav I used is one of the test-files from www.squeezechart.com for his the WAV comparison tests, so I guess it's an "original" wav, not some MP3 -> WAV. Last edited by pat357 : 26th August 2008 at 17:54. |
|
|
|
|
|
|
#11 |
|
Member
Join Date: Aug 2008
Location: Saint Petersburg, Russia
Posts: 197
|
This attached file fails to be compressed by PAQ8O/PAQ8P. Regardless of the version or switch (even -0). Anyone knows what's the problem?
|
|
|
|
|
|
#12 | |
|
Banned
Join Date: May 2008
Location: EE
Posts: 90
|
Header reports 921654 bytes for image. (640x480x3) Dll file size is 79385. Maybe testing file size agenst reported data size, witch is bad, but fixes problem. |
|
|
|
|
|
|
#13 | |
|
Banned
Join Date: May 2008
Location: EE
Posts: 90
|
Scanned image is smaller. http://spreadsheets.google.com/pub?k...a4O_vzKMmbDyOA |
|
|
|
|
|
|
#14 | |||
|
Member
Join Date: Aug 2008
Posts: 4
|
|
|||
|
|
|
|
|
#15 | ||
|
Banned
Join Date: May 2008
Location: EE
Posts: 90
|
Maybe adding check after detection. Like from current offset +reported data len <= file size. If not, report as default data and correct size to the end of a file.
|
||
|
|
|
|
|
#16 |
|
Expert Join Date: May 2008
Location: Melbourne, Florida, USA
Posts: 291
|
Actually just a warning, not an error. If the transform fails, the file is compressed without the transform and decompression is still correct. During compression, the inverse transform is tested and the result is compared. If the result doesn't match, then the transform is skipped.
I posted paq8p to my PAQ page. http://cs.fit.edu/~mmahoney/compression/ |
|
|
|
|
|
#17 | |
|
Member
Join Date: Aug 2008
Location: Saint Petersburg, Russia
Posts: 197
|
|
|
|
|
|
|
|
#18 | |
|
Banned
Join Date: May 2008
Location: EE
Posts: 90
|
When this problem happens pos in file will be increased +1. And detection continues... compression for ppm. test |
|
|
|
|
|
|
#19 |
|
Moderator Join Date: May 2008
Location: Tristan da Cunha
Posts: 611
|
Thanks kaitz!
![]() Any chance you could include the source code? |
|
|
|
|
|
#20 |
|
Banned
Join Date: May 2008
Location: EE
Posts: 90
|
I am getting diff error when uncompressing wav data. It's in beginnig of a file: differ at 4092: file=179 archive=173
Compiled from original source. (VC 2008 or mingw) Original binary uncompresses ok. Using option -6 on 18 MB wav file. Output is larger compered to my compile. ![]() File used to test http://paq8.googlecode.com/svn/tmp/Pea.7z Can someone compile source and test usign option -6. |
|
|
|
|
|
#21 | |
|
Banned
Join Date: May 2008
Location: EE
Posts: 90
|
|
|
|
|
|
|
|
#22 |
|
Member
Join Date: May 2008
Location: Antwerp , country:Belgium , W.Europe
Posts: 450
|
It seems Paq8p1 has also lost some compression compared to original Paq8p. The difference is not "much", but I wonder if their should be any.
Paq8p1 CanterburyCorpus>paq8p1 -4 files_paq8p1_4 files Creating archive files_paq8p1_4.paq8p1 with 11 file(s)... files/alice29.txt 152089 -> 34940 files/asyoulik.txt 125179 -> 31373 files/cp.html 24603 -> 5575 files/fields.c 11150 -> 2019 files/grammar.lsp 3721 -> 786 files/kennedy.xls 1029744 -> 12051 files/lcet10.txt 426754 -> 82809 files/plrabn12.txt 481861 -> 119763 files/ptt5 513216 -> 30394 files/sum 38240 -> 7661 files/xargs.1 4227 -> 1094 2810784 -> 328733 Time 209.30 sec, used 128879371 bytes of memory Type Size Parts unkn 1576504 25 text 1234280 28 Total parts: 53, fragmentation cost 265 bytes Paq8p (original) CanterburyCorpus>paq8p -4 files_paq8p_4 files Creating archive files_paq8p_4.paq8p with 11 file(s)... files/alice29.txt 152089 -> 35013 files/asyoulik.txt 125179 -> 31442 files/cp.html 24603 -> 5677 files/fields.c 11150 -> 2034 files/grammar.lsp 3721 -> 788 files/kennedy.xls 1029744 -> 12095 files/lcet10.txt 426754 -> 83152 files/plrabn12.txt 481861 -> 119967 files/ptt5 513216 -> 23154 files/sum 38240 -> 7486 files/xargs.1 4227 -> 1108 2810784 -> 322183 Time 204.78 sec, used 141516849 bytes of memory Paq8o10t : CanterburyCorpus>paq8o10t -4 files_paq8o10t_4 files Creating archive files_paq8o10t_4.paq8o10t with 11 file(s)... files/alice29.txt 152089 -> 34939 files/asyoulik.txt 125179 -> 31374 files/cp.html 24603 -> 5575 files/fields.c 11150 -> 2019 files/grammar.lsp 3721 -> 786 files/kennedy.xls 1029744 -> 12142 files/lcet10.txt 426754 -> 82799 files/plrabn12.txt 481861 -> 119767 files/ptt5 513216 -> 22924 files/sum 38240 -> 7670 files/xargs.1 4227 -> 1087 2810784 -> 321352 Time 209.67 sec, used 128948494 bytes of memory 1576504 text 1234280 |
|
|
|
|
|
#23 |
|
Member
Join Date: May 2008
Location: Antwerp , country:Belgium , W.Europe
Posts: 450
|
@KZ :
Paq8p1 hangs when decompressing Paq8p1 -1 1 pea.wav. Could be usefull info for you to find the problem. paq8p1 1.paq8p1 Extracting 1 file(s) from 1.paq8p1 -1 Extracting ./pea.wav 18928940 -> WAV 16bits/stereo 18927616 ![]() Last edited by pat357 : 28th August 2008 at 20:59. |
|
|
|
|
|
#24 | |
|
Member
Join Date: Aug 2008
Posts: 4
|
paq8p -7 p2180033x24.bmp 9437238 -> 1708176 Time 625.64 sec, used 939888339 MEM paq8o9 -7 p2180033x24.bmp 9437238 -> 1740765 Time 502.00 sec, used 838031811 MEM paq8p -7 p3220352x24.bmp 14745654 -> 3438114 Time 935.59 sec, used 939888338 MEM paq8o9 -7 p3220352x24.bmp 14745654 -> 3496710 Time 821.01 sec, used 838031810 MEM Memory usage is much higher though. |
|
|
|
|
|
|
#25 | |
|
Banned
Join Date: May 2008
Location: EE
Posts: 90
|
|
|
|
|
|
|
|
#26 | |
|
Member
Join Date: May 2008
Location: Antwerp , country:Belgium , W.Europe
Posts: 450
|
Tested it twice : paq8p -1 pea.wav / paq8p 1.paq8p comparing output & original pea.wav : Comparing files 1.wav and PEA.WAV 00800000: D0 00 00800001: F4 C1 00800002: DE FF 00800003: F4 E6 00800004: C6 F1 00800005: F3 62 00800006: E5 F3 00800007: F3 85 00800008: 73 D5 ........ |
|
|
|
|
|
|
#27 | |
|
Banned
Join Date: May 2008
Location: EE
Posts: 90
|
|
|
|
|
|
|
|
#28 | |
|
Member
Join Date: May 2008
Location: Antwerp , country:Belgium , W.Europe
Posts: 450
|
Does -1 work for you ? (with original paq8p binary, I mean) |
|
|
|
|
|
|
#29 | |
|
Banned
Join Date: May 2008
Location: EE
Posts: 90
|
Level=option So 0x800000 is where another block starts. So it will fail. Input file is 18 MB so option -3 is needed minimum. Original binary is ok. But if compiled from original source for me it fails. at 4092 (0xFFC) If i am getting it right... Compile original source and test atleast -3 |
|
|
|
|
|
|
#30 |
|
Member
Join Date: May 2008
Location: Antwerp , country:Belgium , W.Europe
Posts: 450
|
Tested paq8p1 -4 on your "pea.wav".
Decompression hangs again : paq8p1 1.paq8p1 Extracting 1 file(s) from 1.paq8p1 -4 Extracting ./pea.wav 18928940 -> WAV 16bits/stereo ^C 18927616 Comparing files org.wav and PEA.WAV 00000030: 8C 8E 00000031: FF E2 00000032: 84 FA 00000033: FF 8D 00000034: A8 3E 00000035: FF CA ..... |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|