annotate DOCS/LIRC @ 1497:ad4d402b3d29

seek.c moved to demuxer.c, stream_reset in new_demuxer()
author arpi
date Sun, 12 Aug 2001 17:28:16 +0000
parents c9d6ed128abd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 LIRC support for MPlayer
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 written by Andreas Ackermann in 2/2001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 contact: acki@acki-netz.de
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 o What is LIRC?
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 Linux Infrared Remote Control - use an easy to build home-brewn IR-receiver,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 an (almost) arbitrary remote control and control your linux box with it!
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 More about it at www.lirc.org.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 o MPlayer and LIRC
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 If you have installed the lirc-package, you can compile MPlayer with LIRC
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 support using ./configure --enable-lirc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 If everything went fine, MPlayer will print a message like
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 LIRC init was successful.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 on startup. If an error occurs it will tell you. If it doens't tell you
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 anything about LIRC there's no support compiled in. That's it :-)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21
592
13868d43269a mplayer -> mplayer_lirc (thanx to kmarty@IRC)
arpi_esp
parents: 456
diff changeset
22 The application name for MPlayer is - oh wonder - mplayer_lirc.
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 It understands the following commands:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 PAUSE - pause playing. Any other keystroke will continue replay.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 QUIT - exit mplayer
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 RWND - 10 secs back
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 FRWND - 60 secs back
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 FWD - skip 10 secs
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 FFWD - skip 60 secs
456
884ea555b1a2 add mixer keys
pontscho
parents: 448
diff changeset
31 INCVOL - increase volume one percent
884ea555b1a2 add mixer keys
pontscho
parents: 448
diff changeset
32 DECVOL - decrease volmue one percent
884ea555b1a2 add mixer keys
pontscho
parents: 448
diff changeset
33 MASTER - use master mixer channel
884ea555b1a2 add mixer keys
pontscho
parents: 448
diff changeset
34 PCM - use pcm mixer channel
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 Don't forget to enable the repeat flag for RWND/FWD in .lircrc. Here's an
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 excerpt from my .lircrc:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 begin
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 remote = CU-SX070
592
13868d43269a mplayer -> mplayer_lirc (thanx to kmarty@IRC)
arpi_esp
parents: 456
diff changeset
41 prog = mplayer_lirc
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 button = Tape_Play
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 repeat = 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 config = FFWD
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 end
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 begin
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 remote = CU-SX070
592
13868d43269a mplayer -> mplayer_lirc (thanx to kmarty@IRC)
arpi_esp
parents: 456
diff changeset
49 prog = mplayer_lirc
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 button = Tape_Stop
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 config = QUIT
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 end
1153
a6706429f227 - Fu.. The option is called -lircconf
acki2
parents: 753
diff changeset
53
a6706429f227 - Fu.. The option is called -lircconf
acki2
parents: 753
diff changeset
54 I you don't like the standard location for the lirc-config file (~/.lircrc)
1361
c9d6ed128abd Some corrections.
atmos4
parents: 1153
diff changeset
55 use the -lircconf <filename> switch to specify another file.
1153
a6706429f227 - Fu.. The option is called -lircconf
acki2
parents: 753
diff changeset
56
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 Enjoy
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59 -Andreas
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60