diff --git a/DOCS/README b/DOCS/README index 60884e8a94..a8c283aaa2 100644 --- a/DOCS/README +++ b/DOCS/README @@ -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 diff --git a/DOCS/mplayer.1 b/DOCS/mplayer.1 index c1d70c7711..f94252b0a1 100644 --- a/DOCS/mplayer.1 +++ b/DOCS/mplayer.1 @@ -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