On Wed, 18 Apr 2007, Kae Verens wrote:
> Gavin McCullagh wrote:
> >On Tue, 17 Apr 2007, fuzzix wrote:
> >
> >>You could use:
> >>
> >>mplayer -ao pcm:file=foo.wav rtsp://real.stream> >>
> >>Also, if mplayer plays it mencoder should be able to encode it.
> >
> >Do you mean decode it? I would have assumeed encoding was rather more
> >involved than decoding.
>> same thing. Encoding and Decoding are the same thing, but in different
> directions.
It really isn't the same thing. For example, lame and mpg123 are
substantially different programs. One is capable of encoding mp3 and the
other of decoding mp3.
> mplayer reads in encoded information, decodes it into an internal model,
> then re-encodes it in a format usable by an output channel (ALSA, OSS, or a
> file, for example)
>> mencoder does exactly the same thing.
This is an example of mencoder decoding a real stream, not encoding one.
Sorry, I guess I'm being a pedant here. I imagine what fuzzix meant was
that if mplayer can decode it, mencoder can decode, transcode or re-encode
it to something which it can encode. I don't think it follows that it
could encode anything it can decode though.
Gavin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!