Open Wikinaut opened 9 years ago
How can I play the mplayer outut to stdout so that lame can be used as encoder ?
This works, using a temporary out.wav file:
mplayer -vc null -vo null -af resample=44100 -ao pcm:fast -ao pcm:waveheader -ao pcm:file="out.wav" "infilename.wma" lame -h -V2 "out.wav" "outfilename.mp3"
But how can I simply pipe the output of mplayer to lame ?
The following does not work
mplayer -vc null -vo null -af resample=44100 -ao pcm:fast -ao pcm:waveheader -ao pcm:file="/dev/stdout" "infilename.wma" | lame -h -V2 - "outfilename.mp3"
Sorry, I don't really know that. I just use mplayer as a video player.
mplayer -ao pcm:file=/dev/stdout -really-quiet infile.ext | lame --preset medium -h - outfile.mp3
How can I play the mplayer outut to stdout so that lame can be used as encoder ?
This works, using a temporary out.wav file:
But how can I simply pipe the output of mplayer to lame ?
The following does not work