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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Dec 3 19:54:23 CET 2004


Hi,
> mkfifo $path/stream.yuv
[...]
> mplayer -nocache -vo yuv4mpeg $*
won't work because yuv4mpeg always writes to the stream.yuv in the
current directory.
I have attached my suggestion. It allows to (and you must) specify the number of wanted
slave instances as the first argument.
Main changes: checking if mkdir worked and setting mode to 700, using
-benchmark for slave instances (you will get very bad A-V desync without
that on some files!!) and "$@" instead if $*, filenames with spaces
won't work otherwise...
btw.: Playing multiple files will never work like this...
If you have more suggestions (I'm not very good at writing shell
scripts), please tell me. Otherwise I will suggest
to include this in MPlayer's TOOLS subdir.

Greetings,
Reimar Döffinger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplmult.sh
Type: application/x-sh
Size: 632 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20041203/bd6cb321/attachment.sh>


More information about the MPlayer-users mailing list