Kevin Cosgrove <kevinc@xxxxxxxxx> wrote: > 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.... You can also make a fifo, redirect mplayer's pcm output to it and encode on the fly. I do something like this: FIFO_TMP="/tmp/mplayer-pcm-out.fifo" mkfifo "${FIFO_TMP}" oggenc -Q -o <outfile> "${FIFO_TMP}" & mplayer -vc null -vo null -ao pcm:fast:file="${FIFO_TMP}" <infile> _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user