# HG changeset patch # User gabucino # Date 988977628 0 # Node ID 3b039b8938e6a688ce0f7ace7e20d5daac901431 # Parent 14a2f35921a0e7fa8a7dff4bea0e57961beead11 stdin stuff commited diff -r 14a2f35921a0 -r 3b039b8938e6 DOCS/README --- 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 diff -r 14a2f35921a0 -r 3b039b8938e6 DOCS/mplayer.1 --- a/DOCS/mplayer.1 Thu May 03 23:32:56 2001 +0000 +++ b/DOCS/mplayer.1 Fri May 04 12:00:28 2001 +0000 @@ -41,7 +41,7 @@ .RB [ \-noxv ] .RB [ \-forcexv ] .RB [ \-ss\ sec ] -.I file +.I - or file .PP .SH DESCRIPTION .I mplayer