LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cannot convert .wav file with flac (https://www.linuxquestions.org/questions/linux-software-2/cannot-convert-wav-file-with-flac-646493/)

linuxjamil 06-02-2008 04:52 PM

Cannot convert .wav file with flac
 
Dear All

I am unable to encode a file with flac.

My command was : flac --best test.wav

but it shows message with error like :

# flac --best bugsbunny1.wav

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 12 -e -q 0 -r 0,6

bugsbunny1.wav: ERROR initializing encoder
state = 14:FLAC__STREAM_ENCODER_NOT_STREAMABLE


____________

Flac version was flac-1.1.0
Distro is - Fedora Core 1


Plz tell me what is the error and convey the right command

DragonM15 06-02-2008 05:17 PM

This site uses a different tool entitled shntool to convert wav to flac.
http://opensource.weblogsinc.com/200...o-mp3-or-flac/


The tool that they use to convert waves to flac for fedora
http://dag.wieers.com/rpm/packages/shntool/

Hope this helps,
DragonM15

DragonM15 06-02-2008 05:18 PM

On another note.

Try: flac -8 inputfile outputfile -8 represents the highest quality where -0 represents the lowest. Hope this helps

DragonM15

linuxjamil 06-03-2008 05:11 PM

flac error
 
not working like flac -b *.wav out.flac

all the time it is saying ERROR Initializing encoder

DragonM15 06-04-2008 01:52 AM

ARe you trying to make multiple .wav files into a single flac file? In that case I would probably make all the waves into one large one... Im not entirely sure if flac has the capability to convert multiple waves to a single flac.... Might have to look into it.

DragonM15

DragonM15 06-04-2008 02:19 AM

I was tinkering with flac.... I can convert multiple waves into their respected names flac filenames via
Code:

flac -8 *.wav
This automatically converts all wav files in that directory to their flac counterparts.
If I use flac -b you have to put a blocksize number. I dont believe this is the option you wanted?

DragonM15

DragonM15 06-07-2008 03:02 PM

Did you get it to work?

DragonM15


All times are GMT -5. The time now is 07:59 PM.