IPB

Welcome Guest ( Log In | Register )

FLAC 1.1.3 released
jcoalson
post Dec 2 2006, 07:20
Post #1


FLAC Developer


Group: Developer
Posts: 1526
Joined: 27-February 02
Member No.: 1408



FLAC 1.1.3 has been released. Almost 2 years in the making, FLAC 1.1.3 is a major release with improved compression, improved cover art and multichannel support, better recovery for corrupted files, many new features and options in the command-line tools, and several bug fixes. For developers, the decoder and encoder APIs have also been simplified and there is a new porting guide. See the changelog entry for complete details.

Josh
Go to the top of the page
+Quote Post
 
Start new topic
Replies
SoleBastard
post Dec 5 2006, 06:28
Post #2





Group: Members
Posts: 65
Joined: 13-August 04
Member No.: 16237



I wanted to check out the 'better multichannel support' of this new flac release so I did the following:

I extracted some PCM .wav files from a DVD-A disc I own, they're 24 bit 44.1KHz. I used Wavewizard v0.54b to merge the 6 .wav files according to Microsoft's standard order (L, R, C, LFE, RL, RR) into one big 5.1 24bit PCM .wav.

I then fed this file to convert using Foobar 0.9.4.2 set to preserve the bit depth and using the standard commandline: -s -8 - -o %d (even put my windows locale to English (UK)). This conversion failed and gives me the following error: Error writing to file (Encoder has terminated prematurely with code 1; please re-check parameters).

I tried feeding the same merged .wav file to the official flac frontend but it failed too, giving me both a warning (legacy WAVE file has format type 1 but bits-per-sample=24) and an error (WAVE has >2 channels but is not WAVE_FORMAT_EXTENSIBLE; cannot assign channels.

I've been converting my DVD-A discs using this very same method combined with FLAC 1.1.2 without any problems before. Moreover, putting back the 'old' flac.exe (1.1.2) to the Foobar folder results in a perfect encode.

What's up with the 'better mutlichannel support'?

(Regardless of this, thank you very much for creating this nice lossless encoder!)

This post has been edited by SoleBastard: Dec 5 2006, 06:31
Go to the top of the page
+Quote Post
Egor
post Dec 5 2006, 06:54
Post #3





Group: Members
Posts: 826
Joined: 29-September 04
Member No.: 17374



QUOTE (SoleBastard @ Dec 5 2006, 11:28) *
What's up with the 'better mutlichannel support'?

The new flac 1.1.3 requires multichannel wav files to be in WAVE_FORMAT_EXTENSIBLE, but currently fb2k generates it in WAVE_FORMAT_EX for 'compatibility' reason.

Besides convincing Peter to add _EXTENSIBLE support to Converter, you can try the following undocumented option:
QUOTE (jcoalson @ Nov 16 2006, 11:21) *
QUOTE (Egor @ Nov 7 2006, 00:13) *
Foobar2000 generates multichannel WAV files, which are not compatible with flac.exe 1.1.3 and Windows Media Encoder. I've sent you a sample to the address at sf.net.

ok, these look like the WAV files flac used to generate too, they are 6ch WAVEFORMATEX which are technically not allowed but common.

the way I am handling this in flac-1.1.3 is an undocumented option '--channel-map=none' to let flac assume the channels are in WAVEFORMATEXTENSIBLE's order. note that you still have to feed flac a multichannel file that uses one of the legal channel assignments (http://flac.cvs.sourceforge.net/*checkout*...ml#frame_header) if you want to make sure the decoded WAV later has the right channels in the right order with the right channel mask.


This post has been edited by Egor: Dec 5 2006, 06:54
Go to the top of the page
+Quote Post
Mangix
post Dec 5 2006, 07:01
Post #4





Group: Members
Posts: 587
Joined: 26-February 06
Member No.: 28077



QUOTE (Egor @ Dec 4 2006, 21:54) *
Besides convincing Peter to add _EXTENSIBLE support to Converter

erm, doesn't the converter feed flac.exe the raw PCM data or am i missing something here?
Go to the top of the page
+Quote Post

Posts in this topic
- jcoalson   FLAC 1.1.3 released   Dec 2 2006, 07:20
- - jcoalson   note there is one known bug that will affect the c...   Dec 2 2006, 07:49
|- - Triza   This bug is not called out with regards to other v...   Dec 6 2006, 12:20
|- - me7   QUOTE (Triza @ Dec 6 2006, 12:20) This bu...   Dec 6 2006, 12:56
- - Klyith   From the changelog: "Much better recovery for...   Dec 2 2006, 08:33
|- - jcoalson   QUOTE (Klyith @ Dec 2 2006, 02:33) From t...   Dec 2 2006, 18:37
|- - Maurits   QUOTE (jcoalson @ Dec 2 2006, 17:37) QUOT...   Dec 2 2006, 18:58
||- - jcoalson   QUOTE (Maurits @ Dec 2 2006, 12:58) By th...   Dec 2 2006, 20:36
|- - Fandango   QUOTE (jcoalson @ Dec 2 2006, 18:37) I th...   Dec 2 2006, 19:19
|- - hellokeith   QUOTE (jcoalson @ Dec 2 2006, 11:37) I th...   Dec 2 2006, 21:14
|- - Mangix   QUOTE (hellokeith @ Dec 2 2006, 12:14) QU...   Dec 2 2006, 21:27
|- - jcoalson   QUOTE (hellokeith @ Dec 2 2006, 15:14) Jo...   Dec 2 2006, 21:38
- - Fandango   I think many people will never know about the work...   Dec 2 2006, 12:33
- - molnart   I think every country in Europe except the UK use ...   Dec 2 2006, 12:39
|- - goodnews   QUOTE (molnart @ Dec 2 2006, 04:39) I thi...   Dec 2 2006, 14:10
- - Fandango   Oh wow, everyone except the English? That kind of ...   Dec 2 2006, 12:51
- - Emanuel   QUOTE (Fandango @ Dec 2 2006, 12:51) Oh w...   Dec 2 2006, 13:00
- - Fandango   Uhm, to make things clear... is it correct that we...   Dec 2 2006, 14:28
|- - goodnews   QUOTE (Fandango @ Dec 2 2006, 06:28) Uhm,...   Dec 2 2006, 14:36
- - me7   No, it's more than 6 bytes. I tried to encode ...   Dec 2 2006, 14:42
- - dv1989   I am surprised that this major update did not rece...   Dec 2 2006, 14:44
|- - Maurits   QUOTE (dv1989 @ Dec 2 2006, 13:44) I am s...   Dec 2 2006, 16:27
- - me7   What would happen if you put both versions into th...   Dec 2 2006, 15:07
- - dv1989   There is surely a better way to fix the problem?   Dec 2 2006, 15:09
- - Fandango   I found something which I think is a potential pro...   Dec 2 2006, 15:13
|- - Synthetic Soul   QUOTE (Fandango @ Dec 2 2006, 14:13) So t...   Dec 2 2006, 17:24
|- - Egor   QUOTE (Synthetic Soul @ Dec 2 2006, 22:24...   Dec 3 2006, 13:48
- - tev777   Thanks for the update, Josh. Keep up the great wor...   Dec 2 2006, 18:09
- - skelly831   Great news, thanks for the update!   Dec 2 2006, 19:47
- - iGold   Is it possible to show warning if incorrect apodiz...   Dec 2 2006, 20:28
- - DickxLaurent   Will there be a separate P4 specific build like th...   Dec 3 2006, 06:58
- - ozmosis82   Thanks for the great work Josh. Looks like it...   Dec 3 2006, 08:27
- - Sebastian Mares   1.1.2 is not affected by the locale bug, right?   Dec 3 2006, 08:47
|- - goodnews   QUOTE (Sebastian Mares @ Dec 3 2006, 00:4...   Dec 3 2006, 10:16
- - Jose Hidalgo   Considering that a LOT of countries are affected b...   Dec 3 2006, 10:51
- - Sebastian Mares   What does AccurateRip has to do with FLAC? Nothing...   Dec 3 2006, 11:12
|- - Jose Hidalgo   QUOTE (Sebastian Mares @ Dec 3 2006, 11:1...   Dec 3 2006, 11:53
- - ernstblaauw   I will also wait for the version which fixes the l...   Dec 3 2006, 11:19
- - Cartoon   An estimate of a bigfix would be appreciated. Week...   Dec 3 2006, 11:57
- - Synthetic Soul   Thanks for the confirmation, and quotes, Egor. I ...   Dec 3 2006, 13:57
- - Case   I uploaded a hack-fixed version for Windows here. ...   Dec 3 2006, 14:00
|- - WaldoMonster   QUOTE (Case @ Dec 3 2006, 14:00) I upload...   Dec 3 2006, 23:48
- - ernstblaauw   QUOTE (Case @ Dec 3 2006, 05:00) I upload...   Dec 3 2006, 15:56
|- - Synthetic Soul   QUOTE (ernstblaauw @ Dec 3 2006, 14:56) S...   Dec 3 2006, 20:18
|- - Clemech   Is the new version of FLAC OK to use with FLACFron...   Dec 3 2006, 21:08
|- - doubleXP   QUOTE (Clemech @ Dec 3 2006, 21:08) Is th...   Dec 3 2006, 21:20
|- - Clemech   QUOTE (doubleXP @ Dec 3 2006, 15:20) QUOT...   Dec 3 2006, 21:31
- - lextune   Thanks for all your work Josh   Dec 4 2006, 05:06
- - me7   To clear things up: The command line fix completel...   Dec 4 2006, 11:58
- - Synthetic Soul   I believe that is the idea, yes. The easiest way ...   Dec 4 2006, 12:16
- - Synthetic Soul   Discussion regarding decimal separator moved here.   Dec 4 2006, 14:42
- - jcoalson   first, to save time I'll say the answers by sy...   Dec 4 2006, 19:52
|- - Cartoon   QUOTE (jcoalson @ Dec 4 2006, 20:52) , wh...   Dec 6 2006, 12:06
- - dv1989   Can you not update the download on the page and ad...   Dec 4 2006, 21:49
- - Jose Hidalgo   I agree : strict procedures are OK, but a bit of p...   Dec 4 2006, 23:53
- - Maurits   How about a 1.1.3a?   Dec 5 2006, 00:50
- - SoleBastard   I wanted to check out the 'better multichannel...   Dec 5 2006, 06:28
|- - Egor   QUOTE (SoleBastard @ Dec 5 2006, 11:28) W...   Dec 5 2006, 06:54
|- - Mangix   QUOTE (Egor @ Dec 4 2006, 21:54) Besides ...   Dec 5 2006, 07:01
||- - Egor   QUOTE (Mangix @ Dec 5 2006, 12:01) erm, d...   Dec 5 2006, 07:20
||- - SoleBastard   QUOTE (Egor @ Dec 5 2006, 08:20) QUOTE (S...   Dec 5 2006, 07:26
|- - SoleBastard   Thanks Egor, that '--channel-map=none' opt...   Dec 5 2006, 07:07
- - jcoalson   note that if you use --channel-map=none, the incom...   Dec 5 2006, 17:22
- - Tung   What's the simplest way to re-encode FLAC file...   Dec 5 2006, 23:10
- - me7   The simplest way is foobar.   Dec 5 2006, 23:25
|- - ernstblaauw   QUOTE (me7 @ Dec 5 2006, 14:25) The simpl...   Dec 5 2006, 23:47
- - jcoalson   depends on the material but probably 0.5-1.0%   Dec 6 2006, 00:29
- - me7   This depends on the lenght of the album. I got an ...   Dec 6 2006, 00:30
- - Emanuel   QUOTE (Tung @ Dec 5 2006, 23:10) What...   Dec 6 2006, 01:26
|- - esa372   QUOTE (Tung @ Dec 5 2006, 14:10) What...   Dec 6 2006, 01:57
|- - GeSomeone   QUOTE (Emanuel @ Dec 6 2006, 02:26) Cut a...   Dec 6 2006, 12:27
|- - ernstblaauw   QUOTE (Emanuel @ Dec 5 2006, 16:26) QUOTE...   Dec 6 2006, 23:29
|- - MiSP   QUOTE (Emanuel @ Dec 6 2006, 02:26) QUOTE...   Sep 21 2007, 23:33
|- - Egor   QUOTE (MiSP @ Sep 22 2007, 05:33) Tested ...   Sep 22 2007, 08:34
|- - MiSP   QUOTE (Egor @ Sep 22 2007, 09:34) Try the...   Sep 22 2007, 16:04
- - Jose Hidalgo   I'd even say "Many people are currently b...   Dec 6 2006, 12:10
- - Emanuel   QUOTE (GeSomeone @ Dec 6 2006, 12:27) QUO...   Dec 6 2006, 12:46
- - WaldoMonster   (Moved to a new topic)   Dec 7 2006, 13:11
- - Emanuel   John33, does your compile of flac 1.1.3 over at Ra...   Jan 15 2007, 15:39
|- - john33   QUOTE (Emanuel @ Jan 15 2007, 14:39) John...   Jan 15 2007, 16:27
- - Martin H   Hi John33 I had just finished testing your first...   Jan 15 2007, 17:13
|- - john33   QUOTE (Martin H @ Jan 15 2007, 16:13) Hi ...   Jan 15 2007, 17:37
|- - jcoalson   QUOTE (john33 @ Jan 15 2007, 11:37) I inc...   Jan 15 2007, 21:58
- - Emanuel   QUOTE (john33 @ Jan 15 2007, 17:37) I inc...   Jan 15 2007, 20:42
- - hat3k   excuse me? can i make a feature request, i need me...   Jan 15 2007, 22:45
- - Martin H   @John33 I don't think that you have to make ...   Jan 15 2007, 23:07
- - john33   OK, guys, thanks for the feedback. I'll not bo...   Jan 15 2007, 23:24
- - Martin H   @Josh Coalson Do you know why the optimized(ICL9....   Jan 17 2007, 13:05
|- - Egor   QUOTE (Martin H @ Jan 17 2007, 18:05) Do ...   Jan 17 2007, 16:28
|- - Jose Hidalgo   QUOTE (Martin H @ Jan 17 2007, 13:05) Man...   Jan 17 2007, 18:08
|- - Martin H   QUOTE (Jose Hidalgo @ Jan 17 2007, 18:08)...   Jan 17 2007, 18:46
- - Martin H   Yes, i know that this is the explenation for lossy...   Jan 17 2007, 16:57
- - jcoalson   libFLAC still uses floating point for the LPC anal...   Jan 17 2007, 17:10
- - Martin H   @Josh Thank you very much for the explanation A...   Jan 17 2007, 17:19
- - Martin H   Sorry, for repeating my question, but just in case...   Jan 21 2007, 14:42
|- - Heliologue   QUOTE (Martin H @ Jan 21 2007, 07:42) Sor...   Jan 21 2007, 18:55
|- - Triza   QUOTE (Heliologue @ Jan 21 2007, 09:55) Q...   Sep 23 2007, 19:30
- - jcoalson   I feel your pain Martin! this has come up be...   Jan 21 2007, 17:58
|- - Martin H   QUOTE (jcoalson @ Jan 21 2007, 17:58) I f...   Jan 21 2007, 19:11
- - Jose Hidalgo   Wow ! A 20-year old bug ! Amazing ! ...   Jan 21 2007, 18:58
2 Pages V   1 2 >


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st August 2014 - 22:32