mplayer-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]

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


To: "MPlayer usage questions, features, bugreports" <mplayer-users@xxxxxxxxxxxx>
Subject: Re: [MPlayer-users] Re: video out on two screens
From: Ulrich Schweitzer <us-@xxxxxx>
Date: Fri, 3 Dec 2004 20:38:28 +0100
Delivered-to: itdp@localhost
Delivered-to: mplayer-users@mplayerhq.hu
In-reply-to: <20041203185423.GA4884@rz.uni-karlsruhe.de>
References: <m3mzwyl1jt.fsf@netmaster.kds.com.ua><200412031850.06826.us-@gmx.de><20041203185423.GA4884@rz.uni-karlsruhe.de>
User-agent: KMail/1.5.4

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 *

Ulrich
-- 
PGP key ID: 0xDF6FC4FA

"A mouse is a device used to select the xterm you want to type in."
Author unknown

_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
http://mplayerhq.hu/mailman/listinfo/mplayer-users


[Prev in Thread] Current Thread [Next in Thread]