On 1 August 2007 at 0:03, Florian Schmidt <mista.tapas@xxxxxxx> wrote: > On Tuesday 31 July 2007, Kevin Cosgrove wrote: > > On 21 July 2007 at 9:54, Thorsten Wilms <t_w_@xxxxxxxxxx> wrote: > > > On Sat, Jul 21, 2007 at 12:01:22AM -0700, Kevin Cosgrove wrote: > > > > I have a WMA file, yes only one, that I can play with Amarok. > > > > But, I want to convert it to OGG or WAV. How can I do that? > > > > > > If mplayer ca play it, this might work: > > > mplayer -ao pcm input.wma -ao pcm:file=output.wav > > > > > > (at least it does for mp3) > > > > Is there anyway for mplayer to write OGG instead of WAV? I can > > convert from WAV to OGG with oggenc, but it'd be nice not to have to > > spend the disk space intermediately. > > can't mplayer write to stdout? Yes, and oggenc's "--help" claims that it can read from stdin, but this: mplayer -ao pcm input.wma -ao pcm:fast | oggenc --raw - --output=output.ogg doesn't work. The resulting OGG file is nothing but header. oggenc won't allow stdin unless I use --raw. That requires "headerless" WAV. It seems the default for mplayer is "waveheader" for pcm, and I can't figure out how to change that. My piped command might work, if I could turn off the header. I've also played with SoX, but haven't managed to get that to work yet either. Thanks.... -- Kevin _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user