Displaying 5 results from an estimated 5 matches for "bit_rate".
Did you mean:
birth_rate
2004 Aug 06
2
Please 30 second to look a my code
...leep(500); //Wait because drawing send window
SpeexBits bits;
void *state;
short InBuffer[FRAME_SIZE];
char OutBuffer[200];
char waveheader[WAVEHEADER];
HANDLE WaveFile;
HANDLE SpeexFile;
DWORD NrOfBytesRead, NrOfBytesWritten;
char nrBytes = 0;
int nbBytes = 0;
int bit_rate, frame_size, test=0;
bool first=true;
WaveFile = CreateFile(_T("\\Temp\\tempsound.wav"), GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
SpeexFile = CreateFile(_T("\\Temp\\tempsound.spx"), GENERIC_WRITE, 0, NULL,CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, N...
2004 Aug 06
0
Please 30 second to look a my code
...gt; void *state;
>
> short InBuffer[FRAME_SIZE];
> char OutBuffer[200];
> char waveheader[WAVEHEADER];
>
> HANDLE WaveFile;
> HANDLE SpeexFile;
>
> DWORD NrOfBytesRead, NrOfBytesWritten;
>
> char nrBytes = 0;
> int nbBytes = 0;
> int bit_rate, frame_size, test=0;
> bool first=true;
>
> WaveFile = CreateFile(_T("\\Temp\\tempsound.wav"), GENERIC_READ, 0,
> NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
> SpeexFile = CreateFile(_T("\\Temp\\tempsound.spx"), GENERIC_WRITE, 0,
> NULL,CREATE_AL...
2010 Jan 09
1
libvorbis 1.2.3 not generating 96kHz ogg file
...6kHz ogg file, but I seem to be limited to 50kHz . The command
is
ffmpeg -i t16bit96kHz.wav -acodec libvorbis test.ogg
and I get the error message
[libvorbis @ 0x2051460]oggvorbis_encode_init: init_encoder failedError
while opening codec for output stream #0.0 - maybe incorrect parameters
such as bit_rate, rate, width or height
I tried specifying different sample rates, and anything >= 50001Hz
will give that error message.
Is this a bug with libvorbis or is ffmpeg somehow preventing
me from specifying higher sample rates ?
Thanks
CSB
2009 Apr 14
5
.GSM -> .WAV (or ,MP3) Conversion
...y
Output #0, mp2, to '1239101491.30.conv.mp3':
Stream #0.0: Audio: mp2, 640000 Hz, mono, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
[mp2 @ 0xb7d352f0]Sampling rate 640000 is not allowed in mp2
Error while opening codec for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height
tim at freee-meee:~/dmc/call recordings$
Has anyone got any suggestions based on previous experience?
www.tdobson.net
----
If each of us have one object, and we exchange them, then each of us
still has one object.
If each of us have one idea, and we exchange them, then eac...
2004 Aug 06
2
Where to pause stream (minimum decodable length)?
Here is my situation:
I have large Speex encoded stream which I would like to playback on wave
out device. I could decode whole stream to pcm and play it back as pcm
audio, but this is not what I want. Instead I want to decode minimum
decodable bits (bytes?) to pcm and play it ... then decode another
minimum data chunk and play it, etc. This way I can achieve closest to
real-time playback or