annotate DOCS/tech/slave.txt @ 10579:f25d93203a71

From: Kir Kostuchenko <kir@users.sourceforge.net> Hi, I found that command line options brightness, hue, contrast and saturation does not works, becouse mplayer apply it, before open tv (kernel says invalid ioctl). Here are simple fix. Please apply.
author gabucino
date Tue, 12 Aug 2003 11:32:51 +0000
parents 7e5733a8c33b
children e4c79edf2be9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10218
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
1 SLAVE MODE PROTOCOL
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
2 -------------------
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
3
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
4 If the -slave option is given, playback is controlled by a line-based protocol.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
5 Each line must contain one of the following commands:
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
6
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
7 seek <value> [type=<0/\:1/\:2>]
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
8 Seek to some place in the movie.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
9 Type 0 is a relative seek of +/\:- <value> seconds.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
10 Type 1 seek to <value> % in the movie.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
11 Type 2 is a seek to an absolute position of <value> seconds.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
12 edl_mark
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
13 ????
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
14 audio_delay <value>
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
15 Adjust the audio delay of value seconds
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
16 quit
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
17 Quit MPlayer
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
18 pause
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
19 Pause/\:unpause the playback
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
20 grap_frames
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
21 Somebody know ?
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
22 pt_step <value> [force=<value>]
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
23 Go to next/\:previous entry in the playtree.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
24 pt_up_step <value> [force=<value>]
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
25 Like pt_step but it jumps to next/\:previous in the parent list.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
26 alt_src_step <value>
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
27 When more than one source is available it selects the next/\:previous one
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
28 (only supported by asx playlist).
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
29 sub_delay <value> [abs=<value>]
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
30 Adjust the subtitles delay of +/\:- <value> seconds or set it to <value>
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
31 seconds when abs is non zero.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
32 osd [level=<value>]
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
33 Toggle OSD mode or set it to level when level >= 0.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
34 volume <dir>
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
35 Increase/\:decrease volume
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
36 use_master
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
37 Switch volume control between master and pcm.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
38 mute
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
39 Mute/\:unmute sound output.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
40 [contrast|brightness|hue|saturation] <-100-100> [abs=<value>]
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
41 Set/\:Adjust video parameters.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
42 frame_drop [type=<value>]
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
43 Toggle/\:Set frame dropping mode.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
44 sub_alignment <value>
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
45 Set subtitle alignment.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
46 sub_visibility
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
47 Toggle subtitle visibility.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
48 sub_pos <value>
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
49 Adjust subtitles position.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
50 vobsub_lang
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
51 Switch the subtitle language when using VOBSub subtitles.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
52 get_percent_pos
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
53 ???
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
54 get_time_length
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
55 ???
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
56 vo_fullscreen
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
57 Switch to fullscreen mode.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
58 panscan value [value2]
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
59 ???
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
60 loadfile url
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
61 Load the given file/\:url.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
62 loadlist file
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
63 Load the given playlist file.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
64 change_rectangle val1 val2
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
65 ??? used by the rectangle video filter.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
66 dvdnav button
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
67 Press the given dvdnav button.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
68 1 is up, 2 is down, 3 is left, 4 is right, 5 is menu and 6 is select.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
69 tv_step_channel <dir>
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
70 Select next/\:previous tv channel.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
71 tv_step_norm
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
72 Change TV norm.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
73 tv_step_chanlist
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
74 Change channel list.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
75 tv_set_channel channel
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
76 Set the current TV channel.
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
77 tv_last_channel
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
78 Set the current TV channel to the last one.
10521
141141fdd250 I'd like to change tv tuner frequency in the slave mode. So this patch
gabucino
parents: 10218
diff changeset
79 tv_set_freq <frequency in MHz>
141141fdd250 I'd like to change tv tuner frequency in the slave mode. So this patch
gabucino
parents: 10218
diff changeset
80 Set the tv tuner frequency.
141141fdd250 I'd like to change tv tuner frequency in the slave mode. So this patch
gabucino
parents: 10218
diff changeset
81 tv_set_norm <norm>
141141fdd250 I'd like to change tv tuner frequency in the slave mode. So this patch
gabucino
parents: 10218
diff changeset
82 Set the tv tuner norm. PAL, SECAM, NTSC and so on..
10577
7e5733a8c33b Hi, here are slave commands:
gabucino
parents: 10521
diff changeset
83 tv_set_brightness [-100:100]
7e5733a8c33b Hi, here are slave commands:
gabucino
parents: 10521
diff changeset
84 Set tv tuner brightness.
7e5733a8c33b Hi, here are slave commands:
gabucino
parents: 10521
diff changeset
85 tv_set_contrast [-100:100]
7e5733a8c33b Hi, here are slave commands:
gabucino
parents: 10521
diff changeset
86 Set tv tuner contrast.
7e5733a8c33b Hi, here are slave commands:
gabucino
parents: 10521
diff changeset
87 tv_set_hue [-100:100]
7e5733a8c33b Hi, here are slave commands:
gabucino
parents: 10521
diff changeset
88 Set tv tuner hue.
7e5733a8c33b Hi, here are slave commands:
gabucino
parents: 10521
diff changeset
89 tv_set_saturation [-100:100]
7e5733a8c33b Hi, here are slave commands:
gabucino
parents: 10521
diff changeset
90 Set tv tuner saturation.
10579
f25d93203a71 From: Kir Kostuchenko <kir@users.sourceforge.net>
gabucino
parents: 10577
diff changeset
91 tv_set_brightness [-100:100]
f25d93203a71 From: Kir Kostuchenko <kir@users.sourceforge.net>
gabucino
parents: 10577
diff changeset
92 Set tv tuner brightness.
f25d93203a71 From: Kir Kostuchenko <kir@users.sourceforge.net>
gabucino
parents: 10577
diff changeset
93 tv_set_contrast [-100:100]
f25d93203a71 From: Kir Kostuchenko <kir@users.sourceforge.net>
gabucino
parents: 10577
diff changeset
94 Set tv tuner contrast.
f25d93203a71 From: Kir Kostuchenko <kir@users.sourceforge.net>
gabucino
parents: 10577
diff changeset
95 tv_set_hue [-100:100]
f25d93203a71 From: Kir Kostuchenko <kir@users.sourceforge.net>
gabucino
parents: 10577
diff changeset
96 Set tv tuner hue.
f25d93203a71 From: Kir Kostuchenko <kir@users.sourceforge.net>
gabucino
parents: 10577
diff changeset
97 tv_set_saturation [-100:100]
f25d93203a71 From: Kir Kostuchenko <kir@users.sourceforge.net>
gabucino
parents: 10577
diff changeset
98 Set tv tuner saturation.
10218
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
99 gui_[loadsubtitle|about|play|stop]
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
100 GUI actions