File size is not important for me. I need audio data from wav file and metadata in one file. How to encode a wav file to an uncompressed flac file? Regards, Maciej ----- Original Message ----- From: "Erik de Castro Lopo" <mle+la at mega-nerd.com> To: <flac-dev at xiph.org> Sent: Monday, December 02, 2013 8:28 AM Subject: [SPAM] Re: [flac-dev] Encode wav to uncompressed flac> Maciej M?czy?ski wrote: > >> Is it possible to encode wav file to uncompressed flac file? > > Its certainly possible, but why would you want to? An uncompressed > flac file is actually about 10% *bigger* than a WAV file because > there is extra metadata within the audio data. > > Cheers, > Erik > -- > ---------------------------------------------------------------------- > Erik de Castro Lopo > http://www.mega-nerd.com/ > _______________________________________________ > flac-dev mailing list > flac-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/flac-dev >
dbPoweramp for Windows (http://www.dbpoweramp.com/) offers an encoder with uncompressed FLAC compression. It is still completely pointless, though. regards, Christoph On 12/2/2013 9:08 AM, Maciej M?czy?ski wrote:> File size is not important for me. I need audio data from wav file and > metadata in one file. How to encode a wav file to an uncompressed flac file? > > Regards, > Maciej > > ----- Original Message ----- > From: "Erik de Castro Lopo" <mle+la at mega-nerd.com> > To: <flac-dev at xiph.org> > Sent: Monday, December 02, 2013 8:28 AM > Subject: [SPAM] Re: [flac-dev] Encode wav to uncompressed flac > > >> Maciej M?czy?ski wrote: >> >>> Is it possible to encode wav file to uncompressed flac file? >> Its certainly possible, but why would you want to? An uncompressed >> flac file is actually about 10% *bigger* than a WAV file because >> there is extra metadata within the audio data. >> >> Cheers, >> Erik >> -- >> ---------------------------------------------------------------------- >> Erik de Castro Lopo >> http://www.mega-nerd.com/ >> _______________________________________________ >> flac-dev mailing list >> flac-dev at xiph.org >> http://lists.xiph.org/mailman/listinfo/flac-dev >> > _______________________________________________ > flac-dev mailing list > flac-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/flac-dev
Maciej M?czy?ski wrote:> File size is not important for me. I need audio data from wav file and > metadata in one file.But FLAC is lossless! When you convert a WAV to FLAC, you get a file where the decoded audio data is exactly the same as in the WAV file. Why would you want a larger file that is exactly the same as the compressed file? Anyway, like I hinted in my previous email, WAV files contain a single contiguous block of audio data while FLAC contains multiple chunks of audio data each with its own header. This is true even when the FLAC is uncompressed.> How to encode a wav file to an uncompressed flac file?The flac command line parameters are here: https://www.xiph.org/flac/documentation_tools_flac.html#encoding_options but I don't see a way if doing it with what's there. If you want to mess about with it you can check flac out of git and grab the revision before this one: https://git.xiph.org/?p=flac.git;a=commit;h=fc360735ce4d1aa88a94bfccdd3bea5bdd19a8d6 The versions before that commit do what you want. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
I thought that an uncompressed FLAC file provides better sound quality than a compressed FLAC file. To Erik: How to grab the revision before this one https://git.xiph.org/?p=flac.git;a=commit;h=fc360735ce4d1aa88a94bfccdd3bea5bdd19a8d6? Regards, Maciej ----- Original Message ----- From: "Erik de Castro Lopo" <mle+la at mega-nerd.com> To: <flac-dev at xiph.org> Sent: Monday, December 02, 2013 9:52 AM Subject: [SPAM] Re: [flac-dev] Encode wav to uncompressed flac> Maciej M?czy?ski wrote: > >> File size is not important for me. I need audio data from wav file and >> metadata in one file. > > But FLAC is lossless! When you convert a WAV to FLAC, you get a file > where the decoded audio data is exactly the same as in the WAV file. > Why would you want a larger file that is exactly the same as the > compressed file? > > Anyway, like I hinted in my previous email, WAV files contain a single > contiguous block of audio data while FLAC contains multiple chunks of > audio data each with its own header. This is true even when the FLAC is > uncompressed. > >> How to encode a wav file to an uncompressed flac file? > > The flac command line parameters are here: > > > https://www.xiph.org/flac/documentation_tools_flac.html#encoding_options > > but I don't see a way if doing it with what's there. > > If you want to mess about with it you can check flac out of git and > grab the revision before this one: > > > https://git.xiph.org/?p=flac.git;a=commit;h=fc360735ce4d1aa88a94bfccdd3bea5bdd19a8d6 > > The versions before that commit do what you want. > > Erik > -- > ---------------------------------------------------------------------- > Erik de Castro Lopo > http://www.mega-nerd.com/ > _______________________________________________ > flac-dev mailing list > flac-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/flac-dev >