IPB

Welcome Guest ( Log In | Register )

New FLAC encoder
Nayru
post May 26 2006, 13:29
Post #1





Group: Members
Posts: 17
Joined: 6-November 05
Member No.: 25599



A new FLAC encoder has been developed, which is proposed for inclusion in ffmpeg. The author claims that in high-compression mode, it can compress certain files better than libFLAC.

http://mplayerhq.hu/pipermail/ffmpeg-devel...May/011385.html
Go to the top of the page
+Quote Post
 
Start new topic
Replies
krmathis
post Jun 17 2006, 08:45
Post #2





Group: Members
Posts: 742
Joined: 27-May 02
From: Oslo, Norway
Member No.: 2133



Album: Toto - Legend (in a single file)
Playing time: 72m 35s
Original File Size: 768284896 bytes
Computer specs: Apple PowerBook G4, 1.5GHz, 1GB ram, 7200rpm HDD.
Encoders: flac 1.1.2 and flake 06

CODE
flac:

level   enc time     bytes       ratio     kbps      dec time
-----  ---------   --------      -----    ------    ---------
  0     1m 50s     518214304     0.675               1m 15s
  5     3m 34s     496252171     0.646               1m 14s
  8    13m 46s     494499692     0.644               1m 26s

flake:

level   enc time     bytes       ratio     kbps      dec time
-----  ---------   --------      -----    ------    ---------
  0     3m 21s     526551866     0.685     967.2     1m 21s
  5     6m 53s     495548928     0.645     910.3     1m 30s
  8    13m 37s     492004491     0.640     903.8     1m 14s

The compression rate is comparable to flac, but it encodes noticeable slower at -0 and -5.
Anyway, you have done great work so far! smile.gif

Download the Mac OS X univeral binary here: direct link
Go to the top of the page
+Quote Post
Justin Ruggles
post Jun 18 2006, 04:20
Post #3





Group: Developer
Posts: 165
Joined: 3-June 06
From: Raleigh, NC
Member No.: 31393



QUOTE (krmathis @ Jun 17 2006, 01:45) *
Album: Toto - Legend (in a single file)
Playing time: 72m 35s
Original File Size: 768284896 bytes
Computer specs: Apple PowerBook G4, 1.5GHz, 1GB ram, 7200rpm HDD.
Encoders: flac 1.1.2 and flake 06

CODE
flac:

level   enc time     bytes       ratio     kbps      dec time
-----  ---------   --------      -----    ------    ---------
  0     1m 50s     518214304     0.675               1m 15s
  5     3m 34s     496252171     0.646               1m 14s
  8    13m 46s     494499692     0.644               1m 26s

flake:

level   enc time     bytes       ratio     kbps      dec time
-----  ---------   --------      -----    ------    ---------
  0     3m 21s     526551866     0.685     967.2     1m 21s
  5     6m 53s     495548928     0.645     910.3     1m 30s
  8    13m 37s     492004491     0.640     903.8     1m 14s

The compression rate is comparable to flac, but it encodes noticeable slower at -0 and -5.
Anyway, you have done great work so far! smile.gif


Thank you for the feedback.
It looks like I have a long way to go to make level 5 comparable to the reference encoder on PPC. At least level 8 is on par.

I finally let my system run for a while to test a whole album. Here is what I got at level 8.

Smashing Pumpkins - Siamese Dream
playing time: 1h2m15.8s

flac: encode time=1h1m35.42s ratio=0.583
flake: encode time=35m43.75s ratio=0.582

I know...it really is about time for a major upgrade...I'm still holding out for 10 good years out of my '97 IBM. wink.gif

Thanks,
Justin
Go to the top of the page
+Quote Post
miros
post Jun 18 2006, 08:13
Post #4





Group: Members
Posts: 5
Joined: 25-December 05
Member No.: 26630



Here are my results for four albums lying around. CPU AMD K8 1.8GHz, 64-bit OS, everything cached in memory, so the harddisk wouldn't be a bottleneck. Included is also decoding speed of another decoder that is very sensitive to higher LPC order. Versions used: flake-06 and flac CVS.

CODE
garbage / beautiful garbage

lvl|  ratio       speed (x realtime)    |  ratio       speed (x realtime)  
   |           flake   flac -d  flacdec |            flac   flac -d  flacdec
0  |  0.713     52.1    202.9    418.1  |  0.727    135.5    210.0    424.3
1  |  0.678     50.7    184.7    391.6  |  0.703    137.6    205.9    408.5
2  |  0.678     50.6    184.8    391.2  |  0.701     90.4    206.4    416.7
3  |  0.670     50.0    179.7    382.4  |  0.694     90.9    179.5    385.5
4  |  0.668     51.1    176.0    373.5  |  0.668     77.6    170.7    351.5
5  |  0.666     46.5    170.4    352.9  |  0.667     58.5    172.3    354.6
6  |  0.664     31.2    169.0    344.0  |  0.666     43.9    172.0    355.2
7  |  0.664     27.9    170.8    348.9  |  0.665      9.7    172.8    359.0
8  |  0.661     24.1    163.6    309.1  |  0.663      7.2    168.4    329.1
9  |  0.661     18.4    164.2    311.9  |  
10 |  0.661     14.6    165.3    314.6  |  
11 |  0.657     11.8    110.0    118.7  |  
12 |  0.657      4.5    114.4    122.4  |  

u2 / the joshua tree

lvl|  ratio       speed (x realtime)    |  ratio       speed (x realtime)  
   |           flake   flac -d  flacdec |            flac   flac -d  flacdec
0  |  0.589     57.0    217.9    450.5  |  0.585    141.0    223.1    448.4
1  |  0.553     55.8    194.2    422.7  |  0.573    142.7    218.2    430.5
2  |  0.553     55.3    195.3    419.7  |  0.570     92.4    219.2    438.7
3  |  0.545     55.0    189.2    411.7  |  0.554     93.3    192.1    411.7
4  |  0.542     56.4    185.7    404.0  |  0.540     79.1    181.1    374.4
5  |  0.540     50.9    179.3    376.7  |  0.539     59.3    180.7    377.6
6  |  0.535     33.1    178.2    365.3  |  0.538     44.5    181.9    378.1
7  |  0.535     29.4    180.2    372.0  |  0.536      9.7    182.6    384.9
8  |  0.533     25.3    173.5    332.3  |  0.535      7.3    180.2    360.5
9  |  0.533     19.1    175.2    336.3  |  
10 |  0.533     15.0    175.2    337.8  |  
11 |  0.530     12.2    127.7    144.5  |  
12 |  0.530      4.5    131.3    147.8  |  

smashing pumpkins / gish

lvl|  ratio       speed (x realtime)    |  ratio       speed (x realtime)  
   |           flake   flac -d  flacdec |            flac   flac -d  flacdec
0  |  0.654     54.6    211.1    434.1  |  0.635    138.9    216.9    436.2
1  |  0.599     54.1    193.0    411.7  |  0.634    140.2    213.4    425.5
2  |  0.599     54.0    192.5    411.1  |  0.633     91.4    213.4    428.1
3  |  0.582     53.6    188.4    400.4  |  0.581     93.1    190.2    404.5
4  |  0.577     54.9    183.2    392.5  |  0.575     79.0    179.6    370.6
5  |  0.571     49.8    178.0    367.7  |  0.574     59.3    181.3    372.1
6  |  0.566     32.7    178.8    365.3  |  0.573     44.6    180.7    372.1
7  |  0.565     29.0    181.1    369.1  |  0.570      9.9    181.9    378.2
8  |  0.561     25.2    175.4    332.2  |  0.568      7.4    179.6    359.2
9  |  0.560     19.0    175.4    333.8  |  
10 |  0.560     15.0    176.2    336.2  |  
11 |  0.559     12.4    149.8    183.7  |  
12 |  0.559      4.6    155.9    190.2  |  

walk the line OST

lvl|  ratio       speed (x realtime)    |  ratio       speed (x realtime)  
   |           flake   flac -d  flacdec |            flac   flac -d  flacdec
0  |  0.628     54.7    217.1    445.7  |  0.654    137.9    220.3    441.0
1  |  0.608     52.9    193.6    410.6  |  0.621    141.0    216.5    425.3
2  |  0.607     51.9    194.8    409.3  |  0.618     91.8    219.3    440.2
3  |  0.602     52.2    190.5    402.7  |  0.637     91.9    191.5    406.6
4  |  0.602     53.7    186.4    397.6  |  0.603     78.5    183.9    380.1
5  |  0.601     48.7    180.3    377.2  |  0.602     59.0    185.4    387.1
6  |  0.600     31.8    176.9    357.3  |  0.601     44.2    185.7    386.5
7  |  0.599     28.5    183.4    377.8  |  0.599      9.7    187.9    395.1
8  |  0.599     25.1    180.6    354.8  |  0.599      7.2    186.6    383.0
9  |  0.599     18.9    180.5    361.4  |  
10 |  0.599     14.9    180.1    365.1  |  
11 |  0.598     12.4    163.3    255.1  |  
12 |  0.598      4.5    167.8    263.1  |


Justin, are you planning to implement a variable blocksize support?
Go to the top of the page
+Quote Post
Justin Ruggles
post Jun 25 2006, 02:14
Post #5





Group: Developer
Posts: 165
Joined: 3-June 06
From: Raleigh, NC
Member No.: 31393



QUOTE (miros @ Jun 18 2006, 01:13) *
Justin, are you planning to implement a variable blocksize support?


Thanks for the decoding benchmarks. To answer your question, yes, eventually. My current order of business is integrating the current version with FFmpeg. There has already been a very basic version committed to current FFmpeg SVN which is along the lines of using "flac -0" but with even less compression. It was more of a test-run to get things properly integrated & generating compliant FLAC files. I will reply here again when FFmpeg has competitive encoding, not just compliant encoding.

The variable blocksize support will mostly likely be after my newest, forthcoming, FFmpeg patch has been applied & optimized by more experienced FFmpeg developers. smile.gif

-Justin
Go to the top of the page
+Quote Post

Posts in this topic
- Nayru   New FLAC encoder   May 26 2006, 13:29
- - kurtnoise   For those who want to test it, I've made a com...   May 26 2006, 14:40
- - jcoalson   it seems like a nice clean interface. some notes:...   May 26 2006, 21:57
|- - Justin Ruggles   Hi, I am the person writing the encoder mentioned ...   Jun 3 2006, 06:14
|- - jcoalson   QUOTE (Justin Ruggles @ Jun 3 2006, 00:14...   Jun 14 2006, 19:46
|- - Justin Ruggles   QUOTE (jcoalson @ Jun 14 2006, 12:46) QUO...   Jun 14 2006, 20:33
- - kurtnoise   Hi Justin, Thank you very much for this work (for...   Jun 3 2006, 16:49
|- - Justin Ruggles   QUOTE (kurtnoise @ Jun 3 2006, 09:49) Tha...   Jun 4 2006, 04:00
|- - kurtnoise   QUOTE (Justin Ruggles @ Jun 4 2006, 05:00...   Jun 4 2006, 07:55
|- - Justin Ruggles   QUOTE (kurtnoise @ Jun 4 2006, 00:55) Thr...   Jun 4 2006, 08:27
- - Justin Ruggles   Hi, I have made a small webpage to post updated ve...   Jun 14 2006, 08:56
- - kurtnoise   Hi Justin, Great stuff...Now, flake 0.4 works fin...   Jun 14 2006, 09:39
- - krmathis   flake dont seem to work correctly on Mac OS X (Pow...   Jun 14 2006, 18:42
|- - Justin Ruggles   QUOTE (krmathis @ Jun 14 2006, 11:42) fla...   Jun 14 2006, 18:49
- - krmathis   Hope you nail this, cause this looks like an inter...   Jun 14 2006, 19:34
- - ggf31416   40.964.828 bytes 16-bit Stereo 44100Hz WAV 3:52 ...   Jun 15 2006, 04:06
|- - Justin Ruggles   QUOTE (ggf31416 @ Jun 14 2006, 21:06) I s...   Jun 15 2006, 07:43
- - Justin Ruggles   Hi, Pre-release 5 is now out. * I hope the PPC en...   Jun 15 2006, 09:47
|- - krmathis   QUOTE (Justin Ruggles @ Jun 15 2006, 10:4...   Jun 15 2006, 17:00
- - Justin Ruggles   Hi all, Sorry to keep posting updates so often. ...   Jun 17 2006, 03:31
- - krmathis   Album: Toto - Legend (in a single file) Playing ti...   Jun 17 2006, 08:45
|- - Justin Ruggles   QUOTE (krmathis @ Jun 17 2006, 01:45) Alb...   Jun 18 2006, 04:20
|- - krmathis   QUOTE (Justin Ruggles @ Jun 18 2006, 05:2...   Jun 18 2006, 07:39
|- - miros   Here are my results for four albums lying around. ...   Jun 18 2006, 08:13
|- - Justin Ruggles   QUOTE (miros @ Jun 18 2006, 01:13) Justin...   Jun 25 2006, 02:14
- - HbG   CODEPearl Jam - Ten (new european version...   Jun 28 2006, 00:58
|- - Justin Ruggles   QUOTE (HbG @ Jun 27 2006, 17:58) CODEPear...   Jun 28 2006, 04:26
- - surf   hello. does this new encoder supports unicode? i c...   Jun 28 2006, 07:56
- - sundance   Justin, I'd also like to join in saying ...   Jun 28 2006, 08:47
|- - Justin Ruggles   Hello, QUOTE (sundance @ Jun 28 2006, 01...   Jun 28 2006, 14:38
|- - HbG   QUOTE (Justin Ruggles @ Jun 28 2006, 05:3...   Jun 28 2006, 14:57
|- - sundance   QUOTE (HbG @ Jun 28 2006, 13:57) ...but i...   Jun 28 2006, 15:25
|- - Justin Ruggles   QUOTE (HbG @ Jun 28 2006, 07:57) QUOTE (J...   Jun 29 2006, 03:06
- - wisodev   Well I am propobly too late but I have builded som...   Jul 4 2006, 19:19
|- - Justin Ruggles   QUOTE (wisodev @ Jul 4 2006, 12:19) Well ...   Jul 4 2006, 23:12
||- - wisodev   QUOTE Thank you! Especially for the win32 bui...   Jul 5 2006, 06:59
|- - HbG   QUOTE (wisodev @ Jul 4 2006, 10:19) Well ...   Jul 7 2006, 21:36
|- - Justin Ruggles   QUOTE (HbG @ Jul 7 2006, 14:36) Oh, one m...   Jul 8 2006, 00:29
- - jcoalson   another thing I would suggest is a big fat warning...   Jul 8 2006, 00:51
|- - Justin Ruggles   QUOTE (jcoalson @ Jul 7 2006, 17:51) anot...   Jul 8 2006, 21:44
- - Justin Ruggles   Hello, I'm posting again here because the FFm...   Jul 17 2006, 02:36
|- - Garf   QUOTE (Justin Ruggles @ Jul 17 2006, 03:3...   Jul 17 2006, 09:43
||- - Justin Ruggles   QUOTE (Garf @ Jul 17 2006, 02:43) QUOTE (...   Jul 17 2006, 10:36
|- - SebastianG   QUOTE (Justin Ruggles @ Jul 17 2006, 03:3...   Jul 18 2006, 09:14
- - krmathis   Great work! Hope you plan to "back-port...   Jul 17 2006, 08:02
- - Garf   Okay, I understand the what and why What's t...   Jul 17 2006, 10:51
|- - Justin Ruggles   QUOTE (Garf @ Jul 17 2006, 03:51) Okay, I...   Jul 17 2006, 21:45
- - jcoalson   I have actually been doing experiments solving the...   Jul 24 2006, 07:04
|- - SebastianG   QUOTE (jcoalson @ Jul 24 2006, 08:04) I h...   Jul 24 2006, 08:27
||- - jcoalson   QUOTE (SebastianG @ Jul 24 2006, 02:27) Q...   Jul 25 2006, 04:49
|- - TBeck   QUOTE (jcoalson @ Jul 24 2006, 08:04) I h...   Jul 24 2006, 16:25
- - HbG   Only noticed this now, it's leaking memory lik...   Sep 9 2006, 21:08
|- - Justin Ruggles   QUOTE (HbG @ Sep 9 2006, 14:08) Only noti...   Sep 9 2006, 23:21
|- - Justin Ruggles   QUOTE (Justin Ruggles @ Sep 9 2006, 16:21...   Sep 10 2006, 00:29
- - HbG   Thanks in advance!   Sep 9 2006, 23:34
- - HbG   That fixed it, thanks. But the speed's now dr...   Sep 10 2006, 12:02
|- - Justin Ruggles   QUOTE (HbG @ Sep 10 2006, 05:02) That fix...   Sep 10 2006, 19:31
- - wisodev   I have build the binary for Win32 (version 07 of f...   Sep 10 2006, 18:35
- - wisodev   QUOTE (Justin Ruggles @ Sep 10 2006, 20:3...   Sep 10 2006, 19:46
- - HbG   Oh yeah, wisodev's .07 build clocks in at abou...   Sep 11 2006, 01:35
|- - Justin Ruggles   QUOTE (HbG @ Sep 10 2006, 18:35) Oh yeah,...   Sep 11 2006, 03:28
|- - wisodev   He, I have found too that 0.08 windows binarys are...   Sep 11 2006, 07:38
- - sundance   Justin, would you consider adding wisodev's ...   Sep 11 2006, 21:55
|- - Justin Ruggles   QUOTE (sundance @ Sep 11 2006, 14:55) wou...   Sep 11 2006, 22:03
- - sundance   Justin, that's really good news. Too bad that...   Sep 11 2006, 22:08
|- - Justin Ruggles   QUOTE (sundance @ Sep 11 2006, 15:08) Jus...   Sep 11 2006, 22:21
|- - Justin Ruggles   Whew...it was accepted. http://sourceforge.net/pro...   Sep 11 2006, 22:49
|- - Justin Ruggles   QUOTE (Justin Ruggles @ Sep 11 2006, 15:4...   Sep 12 2006, 03:27
|- - wisodev   QUOTE For now I have built binaries for Linux, opt...   Sep 12 2006, 07:19
- - jcoalson   "flache" (High-Efficiency? painful?) is ...   Sep 11 2006, 23:25
- - sundance   What do you think about adding some version inform...   Sep 12 2006, 14:03
- - krmathis   Justin. I pulled revision 2 from SVN, and tried to...   Sep 12 2006, 16:14
- - wisodev   FLAKE 0.10 Win32 Build and Sources Download binar...   Sep 12 2006, 17:28
- - lexor   CODE FILE SIZE t_FLAC.flac 321 356 528 t_i686...   Sep 12 2006, 20:19
|- - wisodev   QUOTE CODE FILE SIZE t_FLAC.flac 321 356 528 ...   Sep 13 2006, 06:48
|- - lexor   QUOTE (wisodev @ Sep 13 2006, 01:48) This...   Sep 13 2006, 14:43
|- - wisodev   QUOTE (lexor @ Sep 13 2006, 15:43) QUOTE ...   Sep 13 2006, 19:07
|- - Egor   QUOTE (wisodev @ Sep 14 2006, 01:07) Oh t...   Sep 14 2006, 08:46
|- - wisodev   QUOTE Digit grouping symbol depends on your locale...   Sep 14 2006, 09:18
- - HbG   My run went at 37.00x That's more than three t...   Sep 13 2006, 01:20
- - sundance   wisodev, still one mystery remains: CODEDECODE...   Sep 13 2006, 08:29
|- - wisodev   QUOTE wisodev, still one mystery remains: CODEDEC...   Sep 13 2006, 08:52
- - iGold   I want to write my notes on lack of some features ...   Sep 14 2006, 08:18
- - lexor   hi, I have a somewhat strange request a few pages...   Sep 14 2006, 19:27
- - Madman2003   Is this encoder (flake 0.10) trustworthy for ...   Sep 14 2006, 19:32
- - bukem   FYI: I have just encoded my favorite album of Mar...   Sep 14 2006, 23:17
|- - guruboolez   QUOTE (bukem @ Sep 15 2006, 00:17) I have...   Sep 15 2006, 00:10
|- - bukem   QUOTE (guruboolez @ Sep 14 2006, 15:10) Q...   Sep 15 2006, 12:20
- - Justin Ruggles   QUOTE (Madman2003 @ Sep 14 2006, 12:32) I...   Sep 15 2006, 00:07
- - jcoalson   yes, that level 0-2 limitation was from the early ...   Sep 15 2006, 16:32
- - HbG   I've encoded over a dozen cd's with flake ...   Sep 16 2006, 00:53
- - Synthetic Soul   I have tried running my scripts with wisodev's...   Sep 18 2006, 11:31
|- - wisodev   @Synthetic Soul Can you try running this scripts ...   Sep 18 2006, 13:00
- - sundance   I've been using wiso's flake 0.10 several ...   Sep 18 2006, 12:01
- - Synthetic Soul   I have run my scripts here at work using the i586,...   Sep 18 2006, 13:39
- - Synthetic Soul   OK, I have tested 37.wav with the i586, i686 and w...   Sep 18 2006, 13:53
- - Will Fisher   Hey, I work for Winamp, and I'm very impresse...   Sep 18 2006, 16:15
- - Synthetic Soul   It seems the problem is still evident even in the ...   Sep 18 2006, 16:58
- - HbG   I can encode that sample at -0 just fine, using wi...   Sep 18 2006, 22:59
- - bukem   @Synthetic Soul: Flake 0.10 has failed to compres...   Sep 18 2006, 23:45
4 Pages V   1 2 3 > » 


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th October 2014 - 14:31