[MPlayer-users] Re: video out on two screens

D Richard Felker III dalias at aerifal.cx
Sun Dec 5 02:42:38 CET 2004


On Sat, Dec 04, 2004 at 09:28:05PM +0000, Martin Simmons wrote:
> >>>>> On Fri, 3 Dec 2004 20:38:28 +0100, Ulrich Schweitzer <us- at gmx.de> said:
> 
> > On Friday 03 December 2004 19:54, Reimar Döffinger wrote:
> 
> > > > mkfifo $path/stream.yuv
> > > 
> > > [...]
> > > 
> > > > mplayer -nocache -vo yuv4mpeg $*
> > > 
> > > won't work because yuv4mpeg always writes to the stream.yuv in the
> > > current directory.
> 
> > You are, of course, right. (Note to self: Don't post untested scripts)
> 
> > > I have attached my suggestion. 
> 
> > Unfortunately your script still doesn't make it possible to specify a 
> > relative path to the media file. I don't see a way to do this as long as 
> > mplayer doesn't offer something like -dumpfile for -vo yuv4mpeg. Bummer.
> 
> > If you intend to distribute it, I suggest you put in
> > PWD=`pwd`
> > and
> > cd $PWD
> > as first and last lines, respectively. It is very bad form for a script to 
> > return in a different dir than the on it was called from. Otherwise 
> > people might nuke their system by calling something like
> > mplmult.sh && cd .. && rm -rf *
> 
> Don't worry, the script will run in a separate process with its own cwd...this
> isn't DOS :-)

rotfl!
rich

> 
> __Martin
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users




More information about the MPlayer-users mailing list