Gentoo Archives: gentoo-user

From: Chuanwen Wu <wcw8410@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to use mplayer play file online?
Date: Tue, 04 Mar 2008 09:43:16
Message-Id: 7797aa370803040143n6c606a4bqa2d14004be952c3a@mail.gmail.com
In Reply to: Re: [gentoo-user] How to use mplayer play file online? by Daniel Iliev
1 I have found a way. Just add USE=ftp when emerge mplayer.
2 Then, we can play movie in ftp use mplayer:
3
4 mplayer ftp://FTP_SERVER/FILE
5
6 > I'm not sure if mplayer supports authentication, but you could try to
7 > "pipe" the output from another client. Something like:
8 >
9 > curl --auth-options ftp:/exemple.com/patth/file | mplayer -
10 >
11 > or
12 >
13 > wget --auth-options ftp://exemple.com/patth/file -O - | mplayer -
14 But I still want to find a "pipe" way like what you show above.
15 I have a simple program, which can fetch a file in a remote
16 machine(this machine also run my protocol).
17 If mplayer can play in a pipe way, then I can player media like this:
18 MY_PROGRAM --fetch --MY_SERVER -O - | mplayer -
19 >
20 > --
21 > Best regards,
22 > Daniel
23 >
24 >
25 > --
26 > gentoo-user@l.g.o mailing list
27 >
28 >
29
30
31
32 --
33 wcw
34 --
35 gentoo-user@l.g.o mailing list