[Flac-dev] Contents of Flac-dev Digest, Vol 65, Issue 4

Djeizon Barros djzn.br at gmail.com
Wed Feb 10 16:13:39 PST 2010


Hello dudes,

I had given up by the first one who answered, but I will go through this since two of you were interested about this... I actually don't care about the filesize, I just wanted to know what exactly causes this. (for the record, wavpack always produces the same filesize in win and lin).

Here you go:

djzn at orion:~$ flac --version
flac 1.2.1

djzn at orion:~$ wine $HOME/win32/flac/flac.exe --version
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 21/02/2010, dlt (d/m/y): 17/10/2010
flac 1.2.1
djzn at orion:~$

This fixme from WINE does not affect flac encoding at all, since the flac.exe in a windows native installation produces the very same flac filesize.

I believe that this could be a Windows API call that results in filesize mismatch compared to the Linux ELF executable, using the SAME COMPRESSION LEVELS or OPTIONS. Pointing out again that the executable from flac.exe in WINE is the exact same file in native windows installation. Tomorrow I will upload the two files.

Example from the console, without inserting tags or anything:

djzn at orion:~/music$ ls -l *
total 3,4M
drwxr-xr-x  3 djzn djzn 4,0K 2010-02-10 22:04 ./
drwxr-xr-x 85 djzn djzn 4,0K 2010-02-10 21:33 ../
-rw-r--r--  1 djzn djzn 3,4M 2010-02-10 22:04 situation_us_mix.wav

djzn at orion:~/music$ flac -5 *.wav

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

situation_us_mix.wav: wrote 2422440 bytes, ratio=0,687

djzn at orion:~/music$ mv situation_us_mix.flac situation_us_mix_lin.flac

djzn at orion:~/music$ wine $HOME/win32/flac/flac.exe -5 *.wav

fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 21/02/2010, dlt (d/m/y): 17/10/2010
flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

situation_us_mix.wav: wrote 2422438 bytes, ratio=0.687

djzn at orion:~/music$ mv situation_us_mix.flac situation_us_mix_win32.flac

djzn at orion:~/music$ ls -l *

-rw-r--r--  1 djzn djzn 2422440 2010-02-10 22:04 situation_us_mix_lin.flac
-rw-r--r--  1 djzn djzn 3528048 2010-02-10 22:04 situation_us_mix.wav
-rw-r--r--  1 djzn djzn 2422438 2010-02-10 22:04 situation_us_mix_win32.flac






> 
> Would you be able to put a pair of small examples files up on the web
> somewhere and post a URL?
> 
> Cheers,
> Erik

> 
> Have you checked they are the same version, i.e. does flac --version
> return the same answer for the two executables?
> 
> Steve.
> 
-- 
Djeizon Barros <djzn.br at gmail.com>


More information about the Flac-dev mailing list