stdin stuff commited

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@694 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
gabucino 2001-05-04 12:00:28 +00:00
parent 01df02c62c
commit df29331ce3
2 changed files with 28 additions and 1 deletions

View File

@ -70,6 +70,7 @@ Supported input formats:
- MPEG 1/2 System Stream (PS/PES/VOB) and Elementary Stream (ES) file formats
- RIFF AVI file format
- ASF 1.0 file format
- supports reading from file or stdin
Supported audio & video codecs:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -167,6 +168,32 @@ Usage:
alias char-major-178 mga_vid
and run 'depmod -a' .
Playing from stdin:
~~~~~~~~~~~~~~~~~~~
Now it's possible.
To play something by reading from stdin, just use '-' as filename:
cat test.mpg | mplayer -vo xv -
Restrictions:
mpg: no backward seeking
asf: no backward seeking
avi: no index reading -> no seeking at all, and playing of some files are
+impossible
No control from controlling terminal/xterm, but hotkeys and osd works
from the window. or course LIRC still works everywhere.
This feature combined with external wrappers extends possibilities.
For example, to play a movie just downloaded from your favourite divx
server:
rar p ast-nssvcd.rar | mplayer -vo xmga -fs -
With an asf grabber or http dump program you can play from the net.
(however we planned to add direct asf/http/ftp inputs with seeking and other
stuff, but for now it's a good workaround)
TV output:
~~~~~~~~~~
If you have a Matrox G400 Dual-Head card, you can watch movies on TV, using

View File

@ -41,7 +41,7 @@ mplayer \- Movie Player for Linux
.RB [ \-noxv ]
.RB [ \-forcexv ]
.RB [ \-ss\ sec ]
.I file
.I - or file
.PP
.SH DESCRIPTION
.I mplayer