mplayer: extract audio to PCM to stdout
First the obligatory disclaimer: Yes I googled. Yes I checked the man page.
OK then. I would to have mencoder/mplayer read a video file and output just the audio part as PCM (raw 16 bit) to stdout. The -dumpaudio option does not do this. The -dumpaudio option dumps the audio as is, not converting from the input codec to a "proper" raw format. In a perfect world I woudl type something like this: Code:
mcoder some_video_file --just-the-audio-pcm-to-stdout-yes-please | sox <various sox options> |
mplayer -ao pcm:fast:file=audio_out.wav -vo null -vc null video.avi
|
All times are GMT -5. The time now is 08:06 AM. |