Menu

#4 0.2i doesn't recognize sampling rate

open
nobody
None
5
2002-07-23
2002-07-23
Anonymous
No

tooLame doesn't recognize wav file header
sampling freq and defaults to 44.1kHz

F:\work>c:toolame -s 32 -m s -b 128 29231.wav
Parsing Wave File Header
>>> Unable to get samp freq from Wave Header
>>> Default 44.1 kHz samp freq selected
>>> Input Wave File is Stereo
-----------------------------------------
---
Input File : '29231.wav' 44.1 kHz
Output File: '29231.mp2'
128 kbps MPEG-1 Layer II stereo Psycho model=1
(Mode_Extension=0)
[De-emph:Off Copyright:No Original:No
CRC:Off]
[Padding:Normal Byte-swap:Off Chanswap:Off
DAB:Off]

File is produced by TMPGenc and has proper header
(LAME MP3 has no problem to convert it)

Discussion

  • Nicolas Croiset

    Nicolas Croiset - 2002-08-24

    Logged In: YES
    user_id=528566

    This bug had also been corrected in the DAB patch listed in
    the bug N 549720.
    It was a problem with the read of the Wav header.

     
  • mikecheng

    mikecheng - 2003-02-13

    Logged In: YES
    user_id=141181

    This DAB patch was applied for 02j, so the WAVE sample rate
    code actually works now. But (and that's a big but) the wave
    reading code needs to skip over unknown chunks properly - at
    the moment it still just assumes a *really* basic wave
    header structure, and skips 44 bytes. Well dodgy!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.