[MPlayer-users] capture rtsp streams with mencoder?

Corey Hickey bugfood-ml at fatooh.org
Tue Oct 5 01:10:57 CEST 2004


Ricardo Kleemann wrote:
> Hi guys,
> 
> I know mplayer supports accessing rtsp:// streams, but I was wondering if
> mencoder supports rtsp:// streams as well?
> 
> The idea is, similar to capturing from a tv:// device and encoding into a
> file, I'd like to capture a live stream and encode it into a file as well.
> So for example, I can use mp4live to broadcast a live stream to a server,
> and on the server side, I can use mencoder to capture that live stream and
> store it on the server.
> 
> Is this possible? If not, is such a capability planned for future releases
> of mencoder?
> 

Contrary to what you might expect, you can use mplayer to do this, not
mencoder.

$ mplayer -dumpstream rtsp://whatever

As long as mplayer can play it, -dumpstream can dump it. Then just use
mencoder on the resulting 'stream.dump' file.

-Corey




More information about the MPlayer-users mailing list