[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: convert file.wmv to .wav ?

Bob Goodwin wrote on Sunday 16 September 2007:

> Can someone tell me how to convert audio .wmv to .wav, .mp3, or .ogg?

lame file.wav file.mp3


oggenc -o file.ogg file.wav

That should do the trick. ;) Lame is in the "lame" package and oggenc is 
part of the "vorbis-tools" package.

If you want to set the bitrate, CBR/VBR setting or other options you will 
have to read the manual pages.

> I tried ImageMagick 'convert' but I don't seem to be able to make it
> work, perhaps because I don't have the command right?  As usual I'm
> having trouble with the man page ...

Here an excerpt from convert's man page: (man convert)
--- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< ---
convert  -  convert  between  image formats as well as resize an image,
blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much
--- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< --- 8< ---

The reference to "image formats" clearly states, that it's for pictures, 
not for sound files.

"(...) ImageMagick(TM) is an image display and manipulation tool for the X
Window System. ImageMagick can read and write JPEG, TIFF, PNM, GIF,
and Photo CD image formats. It can resize, rotate, sharpen, color
reduce, or add special effects to an image, and when finished you can
either save the completed work in the original format or a different
one. ImageMagick also includes command line programs for creating
animated or transparent .gifs, creating composite images, creating
thumbnail images, and more. (...)"

Adalbert Prokop

Anthony's Law of Force: Don't force it; get a larger hammer.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]