diff DOCS/README @ 693:3b039b8938e6

stdin stuff commited
author gabucino
date Fri, 04 May 2001 12:00:28 +0000
parents 10fc57f7e368
children 623b2213d10f
line wrap: on
line diff
--- a/DOCS/README	Thu May 03 23:32:56 2001 +0000
+++ b/DOCS/README	Fri May 04 12:00:28 2001 +0000
@@ -70,6 +70,7 @@
 - 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 @@
          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