New FLAC encoder |
![]() ![]() |
New FLAC encoder |
Sep 13 2006, 06:48
Post
#76
|
|
|
Group: Developer Posts: 122 Joined: 31-January 06 Member No.: 27439 |
QUOTE CODE FILE SIZE t_FLAC.flac 321 356 528 t_i686.flac 319 851 517 t_INTEL.flac 319 851 517 wisodev, whats up with the second column? This are output file sizes in bytes that are results of runned tests above. t_FLAC.flac is output file from original Flac encoder at version 1.1.2. The t_i686.flac and t_INTEL.flac are output file from Flake encoder version 0.10. t_i686.flac encoded using binary from Justin build and t_INTEL.flac is encoding output from my build. (It is called INTEL because I use Intel C++ Compiler to build my binarys). The mystery is solved ;-) -------------------- http://code.google.com/p/wavtoac3encoder/
|
|
|
|
Sep 13 2006, 08:29
Post
#77
|
|
![]() Group: Members Posts: 137 Joined: 17-April 02 Member No.: 1804 |
wisodev,
still one mystery remains: CODE DECODE_FROM_FLAKE_INTEL... Kernel Time = 3.328 = 00:00:03.328 = 7% User Time = 22.703 = 00:00:22.703 = 53% Process Time = 26.031 = 00:00:26.031 = 61% Global Time = 42.188 = 00:00:42.188 = 100% DECODE_FROM_i686... Kernel Time = 3.140 = 00:00:03.140 = 7% User Time = 23.078 = 00:00:23.078 = 56% Process Time = 26.218 = 00:00:26.218 = 63% Global Time = 41.094 = 00:00:41.094 = 100% Although both compilations are expected to generate bit-identical output, the decoding times vary. Guess you would have to run those test multiple times to average out those variations. .sundance. This post has been edited by sundance: Sep 13 2006, 09:25 |
|
|
|
Sep 13 2006, 08:52
Post
#78
|
|
|
Group: Developer Posts: 122 Joined: 31-January 06 Member No.: 27439 |
QUOTE wisodev, still one mystery remains: CODE DECODE_FROM_FLAKE_INTEL... Kernel Time = 3.328 = 00:00:03.328 = 7% User Time = 22.703 = 00:00:22.703 = 53% Process Time = 26.031 = 00:00:26.031 = 61% Global Time = 42.188 = 00:00:42.188 = 100% DECODE_FROM_i686... Kernel Time = 3.140 = 00:00:03.140 = 7% User Time = 23.078 = 00:00:23.078 = 56% Process Time = 26.218 = 00:00:26.218 = 63% Global Time = 41.094 = 00:00:41.094 = 100% Although both compilations are expected to generate bit-identical output, the decoding times vary. Guess you would have to run those test multiple times to average out those variations. .sundance. Well, the test file is more then 400 MB and testing it in right way using more runs is time consuming. I only needed some simple estimate of speed, not precise testing. But the difference in decoding time is marginal and in range of measure error I think. -------------------- http://code.google.com/p/wavtoac3encoder/
|
|
|
|
Sep 13 2006, 14:43
Post
#79
|
|
![]() Group: Members Posts: 216 Joined: 20-July 03 Member No.: 7896 |
This are output file sizes in bytes that are results of runned tests above. t_FLAC.flac is output file from original Flac encoder at version 1.1.2. The t_i686.flac and t_INTEL.flac are output file from Flake encoder version 0.10. t_i686.flac encoded using binary from Justin build and t_INTEL.flac is encoding output from my build. (It is called INTEL because I use Intel C++ Compiler to build my binarys). The mystery is solved ;-) bleh put commas next time, I thought those were 3 different columns not a single number. out of curiosity where have you seen a number with spaces in it, that you didn't think the table looks wrong? This post has been edited by lexor: Sep 13 2006, 14:44 -------------------- The Plan Within Plans
|
|
|
|
Sep 13 2006, 19:07
Post
#80
|
|
|
Group: Developer Posts: 122 Joined: 31-January 06 Member No.: 27439 |
This are output file sizes in bytes that are results of runned tests above. t_FLAC.flac is output file from original Flac encoder at version 1.1.2. The t_i686.flac and t_INTEL.flac are output file from Flake encoder version 0.10. t_i686.flac encoded using binary from Justin build and t_INTEL.flac is encoding output from my build. (It is called INTEL because I use Intel C++ Compiler to build my binarys). The mystery is solved ;-) bleh put commas next time, I thought those were 3 different columns not a single number. out of curiosity where have you seen a number with spaces in it, that you didn't think the table looks wrong? Oh the spaces are common error in windows ;-) Try right clicking on some file in explorer and you can see this spaces everywhere or better try in windows console DIR command and the spaces comes in file sizes. This is funny. This post has been edited by wisodev: Sep 13 2006, 19:13 -------------------- http://code.google.com/p/wavtoac3encoder/
|
|
|
|
Sep 14 2006, 08:18
Post
#81
|
|
![]() Group: Members Posts: 139 Joined: 23-December 05 Member No.: 26599 |
I want to write my notes on lack of some features in current flake version.
In windows world, especially for on-the-fly ripping, it may be problem, but if you have flac/metaflac utilites and able to write simple script/batch file you can:
And now I'm using flake for (the best, ATM) compression (with -8, for compatibility reasons) and flac/metaflac to test/process .flac files. |
|
|
|
Sep 14 2006, 08:46
Post
#82
|
|
|
Group: Members Posts: 826 Joined: 29-September 04 Member No.: 17374 |
Oh the spaces are common error in windows ;-) "It's not a bug, it's a feature." Digit grouping symbol depends on your locale, and can be specified explicitly in Control Panel -> Regional options -> Numbers. BTW, a space is a correct grouping symbol in the Russian locale, and a comma is not. A comma is a decimal point symbol here. This post has been edited by Egor: Sep 14 2006, 09:40 |
|
|
|
Sep 14 2006, 09:18
Post
#83
|
|
|
Group: Developer Posts: 122 Joined: 31-January 06 Member No.: 27439 |
QUOTE Digit grouping symbol depends on your locale, and can be specified explicitly in Control Panel -> Regional options -> Numbers. BTW, a space is a correct grouping symbol in Russian locale, and a comma is not. A comma is a decimal point symbol here. Yes thanks for clarifying this issue. In Polish locale space is also valid as you can see in screenshot attached below and yes it is feature of OS. I was bit too sarcastic I suppose.
This post has been edited by wisodev: Sep 14 2006, 09:23 -------------------- http://code.google.com/p/wavtoac3encoder/
|
|
|
|
Sep 14 2006, 19:27
Post
#84
|
|
![]() Group: Members Posts: 216 Joined: 20-July 03 Member No.: 7896 |
hi, I have a somewhat strange request
thank you very much, I know it's weired This post has been edited by lexor: Sep 14 2006, 20:11 -------------------- The Plan Within Plans
|
|
|
|
Sep 14 2006, 19:32
Post
#85
|
|
|
Group: Members Posts: 132 Joined: 18-February 04 Member No.: 12104 |
Is this encoder (flake 0.10) trustworthy for "production" use?
|
|
|
|
Sep 14 2006, 23:17
Post
#86
|
|
![]() Group: Members Posts: 120 Joined: 14-September 03 From: Poland Member No.: 8837 |
FYI:
I have just encoded my favorite album of Maria Peszek called "Miasto Mania" with flake -12 and it plays perfectly on my iAudio U3 2GB flash player even though the specification states that it does support only flac 0, 1 & 2. Isn't that great! This post has been edited by bukem: Sep 14 2006, 23:18 |
|
|
|
Sep 15 2006, 00:07
Post
#87
|
|
|
Group: Developer Posts: 165 Joined: 3-June 06 From: Raleigh, NC Member No.: 31393 |
Is this encoder (flake 0.10) trustworthy for "production" use? It depends on what you're looking for. The testing has not been extremely exhaustive, but on the other hand, I have yet to produce a FLAC file with Flake which will not decode losslessly using the reference decoder. Also, it embeds an MD5 sum for checking losslessness. One thing it lacks which may be important to some is verification during encoding. FYI: I have just encoded my favorite album of Maria Peszek called "Miasto Mania" with flake -12 and it plays perfectly on my iAudio U3 2GB flash player even though the specification states that it does support only flac 0, 1 & 2. Isn't that great! Now that is a surprise! It would be interesting to make some test cases to put hardware players through a FLAC compatibility test. |
|
|
|
Sep 15 2006, 00:10
Post
#88
|
|
![]() Group: Members (Donating) Posts: 3474 Joined: 7-November 01 From: Strasbourg (France) Member No.: 420 |
I have just encoded my favorite album of Maria Peszek called "Miasto Mania" with flake -12 and it plays perfectly on my iAudio U3 2GB flash player even though the specification states that it does support only flac 0, 1 & 2. Isn't that great! This is exactly the kind of feedback I was looking for! Thank you for this test |
|
|
|
Sep 15 2006, 12:20
Post
#89
|
|
![]() Group: Members Posts: 120 Joined: 14-September 03 From: Poland Member No.: 8837 |
I have just encoded my favorite album of Maria Peszek called "Miasto Mania" with flake -12 and it plays perfectly on my iAudio U3 2GB flash player even though the specification states that it does support only flac 0, 1 & 2. Isn't that great! This is exactly the kind of feedback I was looking for! Thank you for this test I'm glad that I could help a bit. BTW, I've checked the iAudio site again, and to my surprise, I've found updated specification of U3: QUOTE MP3 : MPEG 1/2/2.5 Layer 3, ~320kbps, ~48khz, mono/stereo
WMA : ~256kbps, ~48khz, mono/stereo OGG : ~Q10, ~44.1khz, mono/stereo FLAC : compression level 0~8, ~44.1khz, mono/stereo WAV : ~48khz, 16bit, mono/stereo Video File up to 160x128 JPG, TXT |
|
|
|
Sep 15 2006, 16:32
Post
#90
|
|
|
FLAC Developer Group: Developer Posts: 1526 Joined: 27-February 02 Member No.: 1408 |
yes, that level 0-2 limitation was from the early days and I'm pretty sure all the iAUDIOs that support FLAC will play 0-8. their forums are the best place to ask though if you're about to buy.
Josh |
|
|
|
Sep 16 2006, 00:53
Post
#91
|
|
|
Group: Members Posts: 289 Joined: 12-May 03 From: The Hague Member No.: 6555 |
I've encoded over a dozen cd's with flake -8 so far and never encountered a problem apart from the memory leaks in older versions.
Don't have a DAP that plays flacs though. Because it has relatively few switches there's not much to go wrong either. Up to -8 it should output valid flac files that should be indistinguishable from the reference encoder output (save the encoder version string of course). But don't quote me on that. Indeed a -V option that uses the reference decoder for verification and a warning for levels over -8 (if there isn't one already) would come in handy. -------------------- Veni Vidi Vorbis.
|
|
|
|
Sep 18 2006, 11:31
Post
#92
|
|
![]() Group: Super Moderator Posts: 4887 Joined: 12-August 04 From: Exeter, UK Member No.: 16217 |
I have tried running my scripts with wisodev's flake 0.10 and both times now flake has crashed. The first time a memory allocation error was reported. My wife has just GTalked me to tell me that it has happened today (I left the script running before I went to work) so I'm afraid I can't tell you the exact error message.
I will try running the script again and post the exact (standard Windows) message, but I was wondering if anyone else had experienced this? -------------------- I'm on a horse.
|
|
|
|
Sep 18 2006, 12:01
Post
#93
|
|
![]() Group: Members Posts: 137 Joined: 17-April 02 Member No.: 1804 |
I've been using wiso's flake 0.10 several times in foobar's converter without any problems yet...
[edit] Forgot mentioning that I used the Intel compilation... This post has been edited by sundance: Sep 18 2006, 13:09 |
|
|
|
Sep 18 2006, 13:00
Post
#94
|
|
|
Group: Developer Posts: 122 Joined: 31-January 06 Member No.: 27439 |
@Synthetic Soul
Can you try running this scripts using flake-0.10-win32-i686.zip binary from flake sourceforge page. -------------------- http://code.google.com/p/wavtoac3encoder/
|
|
|
|
Sep 18 2006, 13:39
Post
#95
|
|
![]() Group: Super Moderator Posts: 4887 Joined: 12-August 04 From: Exeter, UK Member No.: 16217 |
I have run my scripts here at work using the i586, i686 and wisodev builds available at sourceforge.
In the first run, with all three encoders using -5 all encodes (50 files sent to each encoder) were successful. I just started another batch file only using the wisodev build using -0, -5, -8 and -12. The encoder crashed using -0 on file 37.wav. This leads me to believe that something about the file is causing the issue, as the first crash happened on 37.wav also, although I can't remember the compression setting used. As previously mentioned I cannot confirm any details about the second crash. I will perform some more tests with the wisodev build, specifically with my file 37.wav, and let you know if I can pin this down any further. -------------------- I'm on a horse.
|
|
|
|
Sep 18 2006, 13:53
Post
#96
|
|
![]() Group: Super Moderator Posts: 4887 Joined: 12-August 04 From: Exeter, UK Member No.: 16217 |
OK, I have tested 37.wav with the i586, i686 and wisodev builds at compression levels -0, -1, -5, -8, and -12.
All three builds work fine for all levels, except -0 where all three builds crash. Edit: Here's Flake's dying words, if it is any use: CODE Flake: FLAC audio encoder (c) 2006 Justin Ruggles Signed 16-bit 44100 Hz stereo samples: 10465224 blocksize: 1024 max order: 0 order method: maximum stereo method: mid-side progress: 100% | ratio: 0.813 | bitrate: 1147.0 kbps | bytes: 33988647 Edit 2: The above tests were taken using my "Yalac" corpus (used to test Yalac/TAK). I have just run the scripts on my "FLAC" corpus (used to test 1.1.2_CVS) and I had the same happen with file 02.wav, which is the same file as 37.wav. Therefore, out of 78 files tested only one file can highlight this bug. This post has been edited by Synthetic Soul: Sep 18 2006, 14:31 -------------------- I'm on a horse.
|
|
|
|
Sep 18 2006, 16:15
Post
#97
|
|
|
Group: Members Posts: 17 Joined: 2-October 03 Member No.: 9121 |
Hey,
I work for Winamp, and I'm very impressed by this encoder, so I wrote a winamp encoder plugin which uses libflake. Binary + source: http://stashbox.org/uploads/1158591116/enc_flac.zip To compile you'll need wisodevs win32 sources, extract them to the flake directory. Feel free to put this into the sourceforge SVN or whatever. For the moment, I just let the user configure the compression value, everything else is chosen based upon the compression by libflake. I have replicated the speed differences between flake and the reference flac encoder when comparing with other flac encoding plugins, and for a much smaller binary! I can't make any guarantees, but hopefully one day this will be considered for inclusion in the winamp installer. Thanks, Will Fisher |
|
|
|
Sep 18 2006, 16:58
Post
#98
|
|
![]() Group: Super Moderator Posts: 4887 Joined: 12-August 04 From: Exeter, UK Member No.: 16217 |
It seems the problem is still evident even in the first 10 seconds of the file, so I have uploaded a Flake -12 encoded version of the first 10 seconds for others to test:
http://synthetic-soul.co.uk/temp/37_0-10_12.flac -------------------- I'm on a horse.
|
|
|
|
Sep 18 2006, 22:59
Post
#99
|
|
|
Group: Members Posts: 289 Joined: 12-May 03 From: The Hague Member No.: 6555 |
I can encode that sample at -0 just fine, using wisodev's Flake 0.10 build, both through Foobar and the commandline.
I did discover another bug: when trying to read from the following filename: "- 37_0-10_12.wav" or when trying to write a file called "- 37_0-10_12.flac" it fails. For the output i get a "tried to write to nonexistent pipe" error and for the input file, it treats it like an unrecognised commandline and gives the standard message. I tested further and it gives the error for all filenames that start with a dash. Flac handles it fine. -------------------- Veni Vidi Vorbis.
|
|
|
|
Sep 18 2006, 23:45
Post
#100
|
|
![]() Group: Members Posts: 120 Joined: 14-September 03 From: Poland Member No.: 8837 |
@Synthetic Soul:
Flake 0.10 has failed to compress your test file with -0 switch on my Pentium 4 PC BUT it succeeded to compress it on my Intel Centrino laptop. Seems like Flake has some issues with Pentium 4? Edit: I did my tests with Flake on WinXP SP2 This post has been edited by bukem: Sep 18 2006, 23:51 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 07:59 |