HydrogenAudio

Lossless Audio Compression => FLAC => Topic started by: jcoalson on 2003-01-26 08:05:24

Title: FLAC 1.1.0 released
Post by: jcoalson on 2003-01-26 08:05:24
I have uploaded the sources for FLAC 1.1.0, along with binaries for win32, RH7, and solaris-sparc to SourceForge (here (http://sourceforge.net/project/showfiles.php?group_id=13478)).  Thanks to everyone for the contributions and bug hunting.

You all have probably already seen the feature list in the FLAC 1.0.5 beta threads here (http://www.hydrogenaudio.org/forums/index.php?act=ST&f=2&t=5720) and here (http://www.hydrogenaudio.org/forums/index.php?act=ST&f=2&t=5373).  You may have noticed that the minor version has bumped up; this is because of the bug where older decoders will not be able to read FLAC files that have cue sheets in them.  See the homepage for the details.

http://flac.sourceforge.net/ (http://flac.sourceforge.net/)

Thanks again,
Josh
Title: FLAC 1.1.0 released
Post by: john33 on 2003-01-26 10:04:26
Complete set of ICL6 compiled Win32 binaries is available at my 'Others' page at Mirror 1 (link at bottom of main page).
Title: FLAC 1.1.0 released
Post by: starkebn on 2003-01-26 12:23:04
Hooray!

Now I just need to figure out how to get EAC to albumgain my rips...

I love flac!
Title: FLAC 1.1.0 released
Post by: ermannob on 2003-01-26 13:17:39
it seems that at sourceforge nothing is downloadable. 

anybody knows when it will be available?


-erm
Title: FLAC 1.1.0 released
Post by: guruboolez on 2003-01-26 13:21:41
Quote
it seems that at sourceforge nothing is downloadable.  

anybody knows when it will be available?


-erm

Mirror1 of John33. However, there is at least one mirror on Sourceforge that works (the second, or the third).
Title: FLAC 1.1.0 released
Post by: JLP on 2003-01-26 13:22:31
Downloaded just fine here.

Are there any special logo/banner/button images available to use them to link to FLAC homepage.
Title: FLAC 1.1.0 released
Post by: imi on 2003-01-26 13:29:10
Hello

I just downloaded the new version of flac and wanted to try out oggFLAC.  For some reason, I am unable to make oggFLAC files play, what going on.  Can someone please help me out here!!!!!!!!!!!!!!!!
Title: FLAC 1.1.0 released
Post by: fairway on 2003-01-26 13:39:38
OggFlac is NOT supported by the plugins at the moment as fas as I know.

I hoped that encoding with a cuesheet to a single file and loading it in winamp will let it split to several tracks according the cuesheet, but it doesn't seem to work too.
Title: FLAC 1.1.0 released
Post by: tonderai on 2003-01-26 13:41:06
Quote
For some reason, I am unable to make oggFLAC files play, what going on


Are you using foobar? I'm sure that can play ogg flacs.

I wonder if somebody could give me some help with metaflac  - to replaygain my existing flacs: i've used --add-replay-gain successfully on one file. how can i use it on multiple files without typing in every single filename?

I have tried
Code: [Select]
metaflac --add-replay-gain c:\*.flac
but this returns an error. Or i am just being dumb? I don't use the command line much 
Title: FLAC 1.1.0 released
Post by: kaiwei on 2003-01-26 15:04:32
what's the difference between john's & josh's version for the win32 binaries?
Title: FLAC 1.1.0 released
Post by: CiTay on 2003-01-26 15:31:57
To john33: Winamp 2.x complains that it can't find libmmd.dll when using your in_flac.dll. Adding the ICL6/ICL7 dll's won't help. jcoalson's standard compile works though. Also, what exactly are the test_XXX files for?

P.S.: Great work, Josh. FLAC has become my favorite lossless codec. ReplayGain works nicely.
Title: FLAC 1.1.0 released
Post by: john33 on 2003-01-26 15:43:16
Quote
To john33: Winamp 2.x complains that it can't find libmmd.dll when using your in_flac.dll. Adding the ICL6/ICL7 dll's won't help. jcoalson's standard compile works though.

Where did you place the 'libmmd.dll'? In the path? 'Cos it works fine here.
Quote
Also, what exactly are the test_XXX files for?

They're part of the standard compile. Probably needs an answer from Josh, really.
Title: FLAC 1.1.0 released
Post by: justinj88 on 2003-01-26 15:49:53
You can grab the libmmd.dll file from the main page of mirror 1 (http://homepage.ntlworld.com/jfe1205/).

Put it in the winamp folder (not the plugins folder).
Title: FLAC 1.1.0 released
Post by: Garf on 2003-01-26 16:03:16
The XMMS FLAC plugin has 6dB Hard Limiting enabled by default, but for a lossless format this is probably not a good idea (see also the 6dB Hard Limiter thread of last week).
Title: FLAC 1.1.0 released
Post by: CiTay on 2003-01-26 16:08:07
Quote
Put it in the winamp folder (not the plugins folder).

Indeed it works now. Thanks guys.
Title: FLAC 1.1.0 released
Post by: Slo Mo Snail on 2003-01-26 16:42:47
Quote
The XMMS FLAC plugin has 6dB Hard Limiting enabled by default, but for a lossless format this is probably not a good idea (see also the 6dB Hard Limiter thread of last week).

Which 6dB Hard Limiter thread of last week? The search function doesn't find anything 
Title: FLAC 1.1.0 released
Post by: Garf on 2003-01-26 17:01:58
http://www.hydrogenaudio.org/forums/index....f=24&t=5797&hl= (http://www.hydrogenaudio.org/forums/index.php?act=ST&f=24&t=5797&hl=)
Title: FLAC 1.1.0 released
Post by: Annuka on 2003-01-26 23:26:58
There is something wrong with the WA2 plugin.

%artist% displays the last performer or the last composer.

The artist is indended for a player with limited display capabilities - i.e. one line only.

I often have several performers but only one artist. Thus the plugin displays wrong information.
Title: FLAC 1.1.0 released
Post by: jcoalson on 2003-01-27 00:21:20
Quote
Also, what exactly are the test_XXX files for?

Those are the unit testers; they're called by the test scripts.

Quote
The XMMS FLAC plugin has 6dB Hard Limiting enabled by default, but for a lossless format this is probably not a good idea (see also the 6dB Hard Limiter thread of last week).

Good point, I'll fix that.

Quote
Are there any special logo/banner/button images available to use them to link to FLAC homepage.

Nope, not yet.

Quote
I just downloaded the new version of flac and wanted to try out oggFLAC.  For some reason, I am unable to make oggFLAC files play, what going on.  Can someone please help me out here!!!!!!!!!!!!!!!!

Ogg FLAC support for the plugins will be in the next release.  But for just encoding CD audio, there is no advantage to Ogg FLAC over native FLAC.

Quote
I hoped that encoding with a cuesheet to a single file and loading it in winamp will let it split to several tracks according the cuesheet, but it doesn't seem to work too.


I don't know how to do that but it is high priority in the TODO list.  I imagine X-fixer will be able to pull it off quickly in the winamp2 plugin.

Quote
There is something wrong with the WA2 plugin.

%artist% displays the last performer or the last composer.

The artist is indended for a player with limited display capabilities - i.e. one line only.

I often have several performers but only one artist. Thus the plugin displays wrong information.

You're using vorbis comments right?  I thought ARTIST was just a synonym for composer and there could be multiple ARTIST tags too.  But you're right, currently the logic prefers PERFORMER to ARTIST; maybe we need an option for that.

Josh
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-01-27 05:19:30
I've almost rewritten vorbiscomment handling in winamp2 plug-in. now it works with UTF-8, allows using all fields, concatenates fields with same name etc. I hope I'll upload it today.

about cuesheets - I do not know an easy way to make several files from one automatically. but I can make ability to add them manually with the syntax like this:

cue://track:filename
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-01-27 11:04:47
ok, here it goes:
http://x-fixer.narod.ru/tmp/in_flac.zip (http://x-fixer.narod.ru/tmp/in_flac.zip)

it was not extensively tested (especially on win9x). don't forget to send a bug report
though, most likely I'll rewrite everything again, to make use of existing VorbisComment APIs 
Title: FLAC 1.1.0 released
Post by: Annuka on 2003-01-28 00:22:40
Quote
ok, here it goes:
http://x-fixer.narod.ru/tmp/in_flac.zip (http://x-fixer.narod.ru/tmp/in_flac.zip)

it was not extensively tested (especially on win9x). don't forget to send a bug report
though, most likely I'll rewrite everything again, to make use of existing VorbisComment APIs 

Thanks - it seems to have fixed the bug.

Note that Misk is spelled Misc correctly.
Title: FLAC 1.1.0 released
Post by: Annuka on 2003-01-28 01:11:15
There is something wrong with the RH7 binaries. Same error was present in 1.0.4:

When using --import-vc-from and --export-vc-to, metaflac replaces all international chars with #s.
Tested on a standard Red Hat 7.3 and 8.0 system.

When I compiled it myself, the problem went away.
Title: FLAC 1.1.0 released
Post by: jcoalson on 2003-01-28 01:53:08
Quote
There is something wrong with the RH7 binaries. Same error was present in 1.0.4:

When using --import-vc-from and --export-vc-to, metaflac replaces all international chars with #s.
Tested on a standard Red Hat 7.3 and 8.0 system.

When I compiled it myself, the problem went away.

Yeah, it's getting harder and harder for me to get everything right; I'm on the verge of dropping RH and Solaris binary releases and leaving it up to the RPM maintainers.

Josh
Title: FLAC 1.1.0 released
Post by: spoon on 2003-01-28 21:51:18
...better late than never, updated FLAC for dBpowerAMP:

Using new Flac 1.1.0 this beta is expected to last no more than 2 weeks, let me know if you are using it (on dBpowerAMP Forum >> Beta):

http://www.dbpoweramp.com/beta/dBpowerAMP-...-codec-flac.exe (http://www.dbpoweramp.com/beta/dBpowerAMP-codec-flac.exe)

381KB
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-02-04 15:16:46
http://x-fixer.narod.ru/download/in_flac.zip (http://x-fixer.narod.ru/download/in_flac.zip)

updated version of winamp2 plug-in. includes some fixes and improvements, as usual.
Title: FLAC 1.1.0 released
Post by: Annuka on 2003-02-04 15:24:23
Quote
http://x-fixer.narod.ru/download/in_flac.zip (http://x-fixer.narod.ru/download/in_flac.zip)

updated version of winamp2 plug-in. includes some fixes and improvements, as usual.

A minor request:

Show bitrate of original wave - this is after all what comes out of my speakers.

Keep up the good work!
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-02-04 17:27:57
you mean show this value in infobox? I'm afraid there's no space left
Title: FLAC 1.1.0 released
Post by: madah on 2003-02-05 19:24:33
I think I found a bug in flac, when encoding from stdin:

Code: [Select]
flac 1.1.0, Copyright (C) 2000,2001,2002,2003 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.

options: -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3

-: 0% complete, ratio=1,593
-: 0% complete, ratio=0,647
-: 0% complete, ratio=0,628
-: 0% complete, ratio=0,640
-: 0% complete, ratio=0,662
-: 0% complete, ratio=0,678
-: 0% complete, ratio=0,689-: WARNING: unexpected EOF; expected 536870911 samples, got 1852416 samples

-: 0% complete, ratio=0,691


The resulting flac plays fine, but it has 1217 seek points, compared to 4 seek points when encoding directly from .wav.
When looking at metaflac --list, the piped .flac has total samples: 1853626, while the direct encoded one shows total samples: 1853615.

The piped .flac also has a lot of frame_samples=0 which doesn't seem right.

Used lame 3.92 --decode and flac 1.1.0.

The output logs (metaflac --list and stderr) was too large to post, so I zipped it up  here (http://home.vxu.se/mdati00/flacoutput.zip)
Title: FLAC 1.1.0 released
Post by: jcoalson on 2003-02-06 00:29:39
Quote
I think I found a bug in flac, when encoding from stdin:
...

Clarification:

1) you were piping in the same wave file?
2) how were you piping it in? a) command.com shell; b) cygwin bash (which version?); c) gui frontend (which?)
3) if a) or b) could you post the two encoding commands you used? (piped and non-piped)

In the meantime I'll take a look

Josh

(edit: disable cursed smileys)
Title: FLAC 1.1.0 released
Post by: madah on 2003-02-06 02:16:24
I was bug-testing my own frontend (Frontah) but running this under cmd.exe (win2000) yielded the same results:

lame --decode inputfile.mp3 - | flac -o outputfile.flac - 2>stderr.txt

stderr.txt:
Code: [Select]
flac 1.1.0, Copyright (C) 2000,2001,2002,2003 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.

options: -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3

-: 0% complete, ratio=1,593
-: 0% complete, ratio=0,647
-: 0% complete, ratio=0,628
-: 0% complete, ratio=0,640
-: 0% complete, ratio=0,662
-: 0% complete, ratio=0,678
-: 0% complete, ratio=0,689-: WARNING: unexpected EOF; expected 536870911 samples, got 1852416 samples

-: 0% complete, ratio=0,691


then trying manually decode to wav:

lame --decode inputfile.mp3
flac inputfile.mp3.wav 2>stderr2.txt

stderr2.txt:
Code: [Select]
flac 1.1.0, Copyright (C) 2000,2001,2002,2003 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.

options: -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3

tech1.mp3.wav: 0% complete, ratio=0,408
tech1.mp3.wav: 16% complete, ratio=0,629
tech1.mp3.wav: 32% complete, ratio=0,619
tech1.mp3.wav: 48% complete, ratio=0,634
tech1.mp3.wav: 64% complete, ratio=0,657
tech1.mp3.wav: 80% complete, ratio=0,674
tech1.mp3.wav: 96% complete, ratio=0,686
tech1.mp3.wav: wrote 5100793 bytes, ratio=0,688
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-02-06 05:18:48
question to winamp plug-in users:
currently tag editor has field "comment", but uses tag "description" for it. I think this should be changed. but I don't know should I rename field to "description" or start using tag "comment"?
Title: FLAC 1.1.0 released
Post by: Volcano on 2003-02-06 15:06:17
Quote
but I don't know should I rename field to "description" or start using tag "comment"?


The lattter.  All other formats do it that way.
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-02-06 18:51:29
ok, updated version is out.
Title: FLAC 1.1.0 released
Post by: jcoalson on 2003-02-07 01:20:30
Quote
I was bug-testing my own frontend (Frontah) but running this under cmd.exe (win2000) yielded the same results:

One last request, could you try the same piping command, but include -V also?

lame --decode inputfile.mp3 - | flac -V -o outputfile.flac - 2>stderr.txt

and let me know if you get a verify error?  Thanks.

Josh
Title: FLAC 1.1.0 released
Post by: madah on 2003-02-07 06:17:33
lame --decode inputfile.mp3 - | flac -V -o outputfile.flac - 2>stderr.txt

stderr:
Code: [Select]
flac 1.1.0, Copyright (C) 2000,2001,2002,2003 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.

options: -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3 -V

-: 0% complete, ratio=1,593
-: 0% complete, ratio=0,647
-: 0% complete, ratio=0,628
-: 0% complete, ratio=0,640
-: 0% complete, ratio=0,662
-: 0% complete, ratio=0,678
-: 0% complete, ratio=0,689-: WARNING: unexpected EOF; expected 536870911 samples, got 1852416 samples

-: 0% complete, ratio=0,691


The file seems fine, to be absolutely sure:

flac -t outputfile.flac 2>stderr2.txt
Code: [Select]
flac 1.1.0, Copyright (C) 2000,2001,2002,2003 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.


outputfile.flac: testing, 16% complete
outputfile.flac: testing, 32% complete
outputfile.flac: testing, 48% complete
outputfile.flac: testing, 64% complete
outputfile.flac: testing, 80% complete
outputfile.flac: testing, 95% complete
outputfile.flac: testing, 100% complete
outputfile.flac: ok                    


It's just that it has a large amount of seek points.
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-02-07 07:26:28
Josh (just to be sure), since we're talking about Windows, are you sure you set stdin and stdout modes to binary?
Title: FLAC 1.1.0 released
Post by: jcoalson on 2003-02-07 19:52:30
Quote
lame --decode inputfile.mp3 - | flac -V -o outputfile.flac - 2>stderr.txt

...

The file seems fine, to be absolutely sure:

flac -t outputfile.flac 2>stderr2.txt

...

It's just that it has a large amount of seek points.


OK, thanks.  I'll try to reproduce it.

Quote
Josh (just to be sure), since we're talking about Windows, are you sure you set stdin and stdout modes to binary?


Yep, that was fixed some time ago.  It worked for me when I tested it in command.com, but for some reason it does not work with my (old) version of cygwin bash.  But if I don't explicitly set the file mode, it works in bash but not in command.com.  Maybe a newer version of cygwin would work.

I don't think have a cmd.exe to test with; my old windows box is NT4 SP5.

Josh
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-02-10 11:24:47
Quote
I don't think have a cmd.exe to test with; my old windows box is NT4 SP5.

well... my NT4 SP6.1 has cmd.exe, so I guess, your should have too. otherwise, I can send you cmd.exe from win2k - it seems to work fine under NT4.
Title: FLAC 1.1.0 released
Post by: CiTay on 2003-02-10 13:42:58
Is there a switch to show the compression speed (x * realtime)? If not, i hereby request this feature. 
Title: FLAC 1.1.0 released
Post by: fairway on 2003-02-10 16:10:55
Did you already think about implementing file splitting in several tracks when a cue sheet is found? I believe there was a plugin for winamp called mp3cue, so you might just ask the author how it is done. After all that cddb can be used for artists/tracks.
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-02-11 04:36:12
mp3cue uses a different approach (not usable from input plug-in) - it creates it's own playlist window, instead of using standard one. that's not what I want.

in fact, the only problem is to add entries to winamp playlist. I don't know an easy way of doing this.

edit: may be someone can ask the author of mp3cue to add support for flac? it seems to be not too hard
Title: FLAC 1.1.0 released
Post by: Volcano on 2003-02-11 09:46:31
Quote
may be someone can ask the author of mp3cue to add support for flac? it seems to be not too hard

It already works with any audio format. See this thread (http://www.hydrogenaudio.org/forums/index.php?s=&act=ST&f=19&t=6010) for more information.
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-02-12 04:58:24
but it only works with external cue file, not with cuesheet metadata in flac file. doesn't it?
Title: FLAC 1.1.0 released
Post by: Sachankara on 2003-02-12 06:45:53
jcoalson,

How about allowing UTF-8 input via the command line encoder which can then be converted into Unicode by FLAC itself? I find it much more simple to pass UTF-8 formated text to a console application than trying to pass Unicode code. Or perhaps it's just me?

(Something like --utf-8 could be used to tell FLAC that the text passed to it will be in UTF-8 format...)
Title: FLAC 1.1.0 released
Post by: LordofStars on 2003-02-12 20:37:00
Xfixer to add files to the playlist why not use the enque to winamp function? Just use the same switches the shortcut passes to the exe file when you use the right click menu.
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-02-13 09:25:47
this is the only way I know (though I think there's an undocummented function for it, like the one for deleting entries from playlist). the main problem with it, is that files will be added to the end of playlist, instead of original entry location.
Title: FLAC 1.1.0 released
Post by: LordofStars on 2003-02-13 19:37:04
yeah it does appear as a problem but if people added one cue sheet then split it then added the next sheet it should work right? Somewhat tedious but they would only have to do it once.
Title: FLAC 1.1.0 released
Post by: RenneCt on 2003-04-02 15:50:10
the plug-in has very low task priority, so i can't play games and listen to music
Title: FLAC 1.1.0 released
Post by: X-Fixer on 2003-04-04 04:54:05
[FAQ] http://x-fixer.narod.ru/download/in_flac.zip (http://x-fixer.narod.ru/download/in_flac.zip)

this one has priority slider in config