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:

d...@orion:~$ flac --version
flac 1.2.1

d...@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
d...@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:

d...@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

d...@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

d...@orion:~/music$ mv situation_us_mix.flac situation_us_mix_lin.flac

d...@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

d...@orion:~/music$ mv situation_us_mix.flac situation_us_mix_win32.flac

d...@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 <[email protected]>
_______________________________________________
Flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to