Hi all. I have a question regarding redirecting output from mplayer to ffmpeg
for the purpose of downloading and converting an audio stream on the fly.
It is possible to dump a real audio stream that cannot otherwise be downloaded
using the following:
mplayer -dumpstream -dumpfile <filename> -playlist "<url>"
This save the .rm file which can then be converted using:
ffmpeg -i .
To reduce the time taken I have created a named pipe called 'streamdump'. In
one Konsole window I start 'ffmpeg -i streamdump ', then in
another start 'mplayer -dumpstream -dumpfile streamdump -playlist "<url>".
What I would like to know is if there is a way to redirect the output from
mplayer directly to ffmpeg without having to use the named pipe and two
konsole sessions. So far nothing I've tried has worked. I'm guessing that
there is likely to be more than one way to do this in a single step but I
haven't been able to make it work yet.
Any hints/pointers/suggestions/solutions gratefully received.
Thanks,
Rodney.
--
===================================================
Rodney Baker VK5ZTV
rodney.baker@iinet.net.au
===================================================
Vote for ME -- I'm well-tapered, half-cocked, ill-conceived and
TAX-DEFERRED!