[MPlayer-users] Piping mplayer output while displaying to -vo device

Oliver Seitz info at vtnd.de
Tue Jan 20 07:32:33 CET 2009

Am 19.01.2009, 23:00 Uhr, schrieb Jesse L. Zamora <xtremek2008 at aim.com>:

> Hello,
> I've been developing a TV application for Linux using mplayer and
> mencoder as the backends (for viewing and recording). But I have a small
> dilema. Mencoder cannot record video while mplayer is displaying it on  
> the
> same device. So, I'd like to know if mplayer can pipe the video and audio
> output to a mkfifo pipe so then mencoder could record from the it? But, I
> don't know if that would be the best way to do it. Any suggestions?

Yes. In most cases when this question comes up, one suggests to record the  
stream with mplayer and do not play the stream but the recording. Like

mplayer $1 -dumpstream -dumpfile record.mplayer &
sleep 10
mplayer record.mplayer


More information about the MPlayer-users mailing list