Y
Y
YuriPikin2011-03-18 19:43:15
Data conversion
YuriPikin, 2011-03-18 19:43:15

How to convert wav to Lernout & Hauspie to mp3 under FreeBSD?

There are wav files, Lernout & Hauspie codec. The codec file and audio are distributed by Logic Line. It is very necessary to convert them under FreeBSD, for example, mplayer. The file can be downloaded here .
Currently:
FreeBSD 7.3
MPlayer SVN-r30341-snapshot-4.2.1
Tried to slip the codec as described here , the output is as follows:

MPlayer SVN-r30341-snapshot-4.2.1 © 2000-2009 MPlayer Team<br/>
1 audio & 0 video codecs<br/>
<br/>
Playing test.wav.<br/>
Audio only file format detected.<br/>
==========================================================================<br/>
Requested audio codec family [lhacm] (afm=acm) not available.<br/>
Enable it at compilation.<br/>
Cannot find codec for audio format 0x70.<br/>
Audio: no sound<br/>
Video: no video<br/>

Win32-codecs is installed, and this codec was originally in the package. I replaced it with my own, it didn't help either.
To begin with, I'm trying to overtake at least from wav to wav, that is, prepare the file for further normal conversion. The mplayer call line is:
mplayer test.wav -af resample=16000:0:1,format=s16le -ao pcm:file=test-decode.wav -vc null -vo null

Tell me what to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
ENargit, 2011-03-22
@YuriPikin

The approach suggested in the link is basically correct. You need to use win32-codecs. In Ubuntu, the conversion started without any configuration.
Configuration: Ubuntu 10.10, MPlayer 1.0rc4-4.4.5, w32codecs 1:20110131-0.1medibuntu1.
The mplayer output is as follows: Installed on a FreeBSD virtual machine. MPlayer installed with pkg_add, win32-codecs from ports. Got the same answer from Mplayer_a as in the question. The line “Enable it at compilation” suggested the idea - the package does not include support for win32 codecs. Rebuilt Mplayer from ports: In the installer, put a tick in front of WIN32. As in the instructions on the link, I created ~/.mplayer/codecs.conf, registered the absolute path to lhacm2.acm there. Everything worked. Try to do so.
Playing 263193694.wav.
Audio only file format detected.
=======================================
Opening audio decoder: [acm] Win32/ACM decoders
Loading codec DLL: 'lhacm2.acm'
Loaded DLL driver lhacm2.acm at 74f80000
AUDIO: 8000 Hz, 1 ch, s16le, 4.8 kbit/3.75% (ratio: 600->16000)
Selected audio codec: [lhacm2] afm: acm (Voxware AC aka Lernout & Hauspie CELP and CBS codecs)

cd /usr/ports/multimedia/mplayer && make deinstall install clean

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question