Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: FLAC 1.1.0 released (Read 14699 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

FLAC 1.1.0 released

Reply #26
Quote
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!

FLAC 1.1.0 released

Reply #27
you mean show this value in infobox? I'm afraid there's no space left

FLAC 1.1.0 released

Reply #28
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

FLAC 1.1.0 released

Reply #29
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)

FLAC 1.1.0 released

Reply #30
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

FLAC 1.1.0 released

Reply #31
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"?

FLAC 1.1.0 released

Reply #32
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.

FLAC 1.1.0 released

Reply #33
ok, updated version is out.

FLAC 1.1.0 released

Reply #34
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

FLAC 1.1.0 released

Reply #35
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.

FLAC 1.1.0 released

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

FLAC 1.1.0 released

Reply #37
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

 

FLAC 1.1.0 released

Reply #38
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.

FLAC 1.1.0 released

Reply #39
Is there a switch to show the compression speed (x * realtime)? If not, i hereby request this feature. 

FLAC 1.1.0 released

Reply #40
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.

FLAC 1.1.0 released

Reply #41
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

FLAC 1.1.0 released

Reply #42
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 for more information.

FLAC 1.1.0 released

Reply #43
but it only works with external cue file, not with cuesheet metadata in flac file. doesn't it?

FLAC 1.1.0 released

Reply #44
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...)

FLAC 1.1.0 released

Reply #45
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.
r3mix zealot.

FLAC 1.1.0 released

Reply #46
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.

FLAC 1.1.0 released

Reply #47
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.
r3mix zealot.

FLAC 1.1.0 released

Reply #48
the plug-in has very low task priority, so i can't play games and listen to music