How to encode WAV to FLAC, encode |
![]() ![]() |
How to encode WAV to FLAC, encode |
May 17 2009, 12:16
Post
#1
|
|
|
Group: Members Posts: 11 Joined: 13-May 09 Member No.: 69758 |
I am interesting in the course of FLAC encoding. I wonder how to specify the wav's frames and the corresponding flac's frame. I encounter a little trouble while reading the introduction of FLAC format.
Thank u for helping me! Ur replies will all do me a favor:) -------------------- All my will
|
|
|
|
May 17 2009, 15:02
Post
#2
|
|
|
Group: Members Posts: 28 Joined: 22-September 07 Member No.: 47256 |
Foobar2k will do the job for you.
|
|
|
|
May 17 2009, 19:11
Post
#3
|
|
![]() Group: Members Posts: 172 Joined: 22-March 09 Member No.: 68263 |
I wonder how to specify the wav's frames and the corresponding flac's frame. What do you mean with that? Do you want to write FLAC files by hand? :S Anyway, transcoding from WAV to FLAC goes fine with the flac commandline utility, for Windows you can search for FLAC Frontend. -------------------- Music: sounds arranged such that they construct feelings.
|
|
|
|
May 17 2009, 19:31
Post
#4
|
|
![]() lossyWAV Developer Group: Developer Posts: 1722 Joined: 11-April 07 From: Wherever here is Member No.: 42400 |
WAV files have no frames per se. PCM contained in a RIFF WAV container is a stream of interleaved samples, the interleave corresponding to the number of channels in the content.
-------------------- lossyWAV -q X | FLAC -8 ~= 308kbps
SGS III (Rooted) + 64GB |
|
|
|
May 18 2009, 03:34
Post
#5
|
|
|
Group: Members Posts: 11 Joined: 13-May 09 Member No.: 69758 |
I wonder how to specify the wav's frames and the corresponding flac's frame. What do you mean with that? Do you want to write FLAC files by hand? :S Anyway, transcoding from WAV to FLAC goes fine with the flac commandline utility, for Windows you can search for FLAC Frontend. coz i've been trying to encode the WAV myself in some other language while there is FLAC's source code written in C/C++. i am doing a big task and it's more difficult than i imagine..... -------------------- All my will
|
|
|
|
May 18 2009, 04:00
Post
#6
|
|
|
Group: Members Posts: 11 Joined: 13-May 09 Member No.: 69758 |
WAV files have no frames per se. PCM contained in a RIFF WAV container is a stream of interleaved samples, the interleave corresponding to the number of channels in the content. woow met a master! When i use an IDE to read the wav file in binarycode-mode, i found the return is an N*1 array and all of them is data. It made me guess there is no signal of bit to indicate the begining or end of each sample. So how to identify WAV file sample by sample? Another question is that i dont know what's the corresponding relationship between a WAV file's block and a FLAC file's frame. That is to say, how does transcoding specify its frame length? defined by me, or, the FLAC's work has done this? Thank u so much ! -------------------- All my will
|
|
|
|
May 18 2009, 09:35
Post
#7
|
|
![]() lossyWAV Developer Group: Developer Posts: 1722 Joined: 11-April 07 From: Wherever here is Member No.: 42400 |
There's a good explanation of the RIFF:WAVE format here it helped me a lot when I was learning about WAV files. Once you understand the various chunks then you will be able to determine where the samples are.
-------------------- lossyWAV -q X | FLAC -8 ~= 308kbps
SGS III (Rooted) + 64GB |
|
|
|
May 19 2009, 17:55
Post
#8
|
|
|
Group: Members Posts: 11 Joined: 13-May 09 Member No.: 69758 |
There's a good explanation of the RIFF:WAVE format here it helped me a lot when I was learning about WAV files. Once you understand the various chunks then you will be able to determine where the samples are. Many THX! benefit a lot)) -------------------- All my will
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 22:24 |