[MPlayer-users] Re: video out on two screens
    Andrey Khavryuchenko 
    akhavr at kds.com.ua
       
    Wed Dec  1 23:07:35 CET 2004
    
    
  
Reimar,
"RD" == Reimar Döffinger wrote:
 RD> With some cards you will be able to use only one xv instance, in
 RD> almost any case you would at least have to specify a different port.
 RD> But actually it works for me, just my PC is a bit too slow...  Also I
 RD> think you should better use -nocache for the slave instances (actually
 RD> caching isn't a good idea in most cases, except playback over network
 RD> or from CD or DVD).
Thanks again.  Here's the script that works for me:
#!/bin/sh
pid=$$
cd /tmp
mkdir $pid
cd $pid
mkfifo stream.yuv
mkfifo mp1
mkfifo mp2
(cat stream.yuv | tee mp1 > mp2 ) &
mplayer -nocache -quiet -vo x11 mp1 & 
mplayer -nocache -quiet -vo x11 mp2 &
mplayer -nocache -vo yuv4mpeg $*
cd ..
rm -rf $pid
-- 
Andrey V Khavryuchenko            http://www.kds.com.ua/
Silver Bullet Software Solutions  http://www.kds.com.ua/training/
    
    
More information about the MPlayer-users
mailing list