~ubuntu-branches/ubuntu/karmic/tovid/karmic

« back to all changes in this revision

Viewing changes to docs/src/en/makemenu.t2t

  • Committer: Bazaar Package Importer
  • Author(s): Matvey Kozhev
  • Date: 2008-01-24 22:04:40 UTC
  • Revision ID: james.westby@ubuntu.com-20080124220440-x7cheljduf1rdgnq
Tags: upstream-0.31
ImportĀ upstreamĀ versionĀ 0.31

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
makemenu manual
 
2
 
 
3
 
 
4
==Name==
 
5
 
 
6
makemenu: Create (S)VCD/DVD-compliant text menus
 
7
 
 
8
 
 
9
==Description==
 
10
 
 
11
makemenu generates (S)VCD- or DVD-compliant MPEG videos for use as
 
12
navigational menus, given a list of text strings to use for title
 
13
names. You can customize the menu by providing an optional background
 
14
image or audio clip, or by using custom font and font color.
 
15
 
 
16
 
 
17
==Usage==
 
18
 
 
19
**makemenu** [//OPTIONS//] //TITLES// **-out** //OUT_PREFIX//
 
20
 
 
21
For example:
 
22
 
 
23
: ``makemenu "Season One" "Season Two" "Featurettes" -out MainMenu``
 
24
 
 
25
 
 
26
==Options==
 
27
 
 
28
: **-ntsc** (default)
 
29
    Generate an NTSC-format menu
 
30
: **-ntscfilm**
 
31
    Generate an NTSC-format menu (24000/1001fps)
 
32
: **-pal**
 
33
    Generate a PAL-format menu
 
34
: **-dvd** (default)
 
35
    Generate a DVD-format menu, with highlighted text included
 
36
    as a multiplexed subtitle stream.
 
37
: **-vcd**
 
38
: **-svcd**
 
39
    Generate a VCD/SVCD menu; each menu option will have a
 
40
    number associated with it. You can have up to nine menu
 
41
    options per menu.
 
42
 
 
43
 
 
44
Menu background/audio options:
 
45
 
 
46
: **-background** //IMAGE//
 
47
    Use //IMAGE// (in most any graphic format) as a background. If image is not
 
48
    the correct aspect ratio (4:3), it will be scaled and/or cropped,
 
49
    depending on the **-crop** and **-scale** options. If no background is
 
50
    supplied, a default background will be created.
 
51
 
 
52
: **-crop** (default)
 
53
    If provided background image is not 4:3 aspect ratio, crop edges
 
54
    to make it so. Image will be scaled up if it is too small. Cropping
 
55
    keeps the center area of image. If you want to do cropping/scaling
 
56
    yourself in another program, provide an image of 768x576 pixels.
 
57
 
 
58
: **-scale**
 
59
    If provided background image is not 4:3 aspect ratio, scale/stretch
 
60
    it to make it fit. May cause visible distortion!
 
61
 
 
62
: **-audio** //AUDIOFILE//
 
63
    Use //AUDIOFILE// (in most any audio format) for background music. The
 
64
    menu will play for long enough to hear the whole audio clip. If
 
65
    one is not provided, 4 seconds of silence will be used.
 
66
 
 
67
: **-length** //NUM//
 
68
    Make the menu //NUM// seconds long. Useful for menus with **-audio**:
 
69
    if you don't want the entire //AUDIOFILE// in the menu, then you can trim
 
70
    the length of the menu with **-length**.
 
71
 
 
72
 
 
73
Menu text options:
 
74
 
 
75
: **-menu-title** **"**//MENU TITLE TEXT//**"**
 
76
    Add //MENU TITLE TEXT// as a title/header to the menu.
 
77
 
 
78
: **-font** //FONTNAME// (default Helvetica)
 
79
    Use //FONTNAME// for the menu text. Run 'convert -list type' to see a
 
80
    list of the fonts that you can use; choose a font name from the
 
81
    leftmost column that is displayed. Or you can specify a ttf font file instead. 
 
82
    E.g., '-font /path/to/myfont.ttf'.
 
83
 
 
84
: **-fontsize** //NUM// (default 24)
 
85
    Sets the size for the font to //NUM// pixels.
 
86
 
 
87
: **-menu-title-fontsize** //NUM// (default **-fontsize** + 8)
 
88
    Sets the size of the menu title.
 
89
 
 
90
: **-fontdeco** **'**//FONTDECORATION//**'**
 
91
    Sets the font decoration method to //FONTDECORATION//. It is used by the 
 
92
    'convert' ImageMagick command to draw the menu text. You can add colored
 
93
    text outlines, gradient fills, and many others. See **Usage notes**.
 
94
 
 
95
: **-align** {**left**|**center**|**middle**|**right**}
 
96
    Align the text at the top left, top center, very middle, or top right 
 
97
    side of the screen. You may also substitute any "gravity" keyword 
 
98
    allowed by ImageMagick (north|south|east|west|northeast|southwest|...).
 
99
 
 
100
: **-textcolor** {**#**//RRGGBB//|**#**//RGB//|//COLORNAME//}
 
101
    Use specified color for menu text. #//RRGGBB// and #//RGB// are
 
102
    hexadecimal triplets (e.g., #FF8035). //COLORNAME// may be any of
 
103
    several hundred named colors; run 'convert -list color' to see them.
 
104
    White (#FFF) is the default color.
 
105
 
 
106
 
 
107
DVD-only options:
 
108
 
 
109
: **-button** //BUTTON// (default '>')
 
110
    Specify the button used for menu selection. Specify either a _single_
 
111
    character or one of the shortcuts:
 
112
    - **play** -- Use a button shaped like 'Play' on many A/V electronics:
 
113
        a triangle pointing to the right. (uses the font Webdings)
 
114
    - **movie** -- Use a button shaped like an old movie projector.
 
115
        (uses the font Webdings)
 
116
    - **utf8** -- Use your own non-keyboard character as a button. Provide
 
117
        only the four hex digits: eg '-button utf8 00b7'. Beware that
 
118
        ImageMagick's utf8 characters aren't the same as those drawn in
 
119
        character browsers like gucharmap.
 
120
 
 
121
 
 
122
: **-highlightcolor** {**#**//RRGGBB//|**#**//RGB//|//COLORNAME//}
 
123
    Use the specified color for button highlighting. Yellow (#FF0) is the
 
124
    default color.
 
125
 
 
126
: **-selectcolor** {**#**//RRGGBB//|**#**//RGB//|//COLORNAME//}
 
127
    Use the specified color for button selections (when a menu item is played
 
128
    or activated). Red (#F00) is the default color.
 
129
 
 
130
: **-button-outline** {**#**//RRGGBB//|**#**//RGB//|//COLORNAME//}
 
131
    Outline buttons with the specified color. 'none' is the default.
 
132
 
 
133
: **-button-font** //FONTNAME//
 
134
    Specify a differnt font to use for the buttons. By default, the button
 
135
    font will be inherited from the title font (see **-font**). Use this
 
136
    option to use a different font for the buttons. The button font size is
 
137
    inherited from **-fontsize** and cannot be changed.
 
138
 
 
139
 
 
140
Other options:
 
141
 
 
142
: **-debug**
 
143
    Print extra debugging information to the log file. Useful in
 
144
    diagnosing problems if they occur. This option also leaves
 
145
    the log file (with a .log extension) in the directory after
 
146
    encoding finishes as well as all the temporary files created.
 
147
 
 
148
: **-nosafearea**
 
149
    Do not attempt to put text inside a TV-safe viewing area. Most
 
150
    television sets cut off about 10% of the image border, so the script
 
151
    automatically leaves a substantial margin. This option turns that
 
152
    behavior off, leaving only a tiny margin. Use at your own risk.
 
153
 
 
154
: **-overwrite**
 
155
    Overwrite any existing output menu.
 
156
 
 
157
: **-noask**
 
158
    Don't ask interactive questions, and assume answers that will
 
159
    continue making the menu until completion.
 
160
 
 
161
: **-quiet**
 
162
    Limit output to essential messages.
 
163
 
 
164
 
 
165
If the word "**back**" is given as an episode title, a "back" button for
 
166
returning to a higher-level menu will be added at the end of the list
 
167
of titles. "**Back**" //must be the last title listed//.
 
168
 
 
169
 
 
170
==Examples==
 
171
 
 
172
: ``makemenu -ntsc -vcd -align center -textcolor white -font "Helvetica" "Episode 1" "Episode 2" "Episode 3" -out "Season-1"``
 
173
   Make an NTSC VCD menu with white Helvetica text containing three centered selections: Episode 1, Episode 2, and Episode 3. The finished menu will be called Season-1.mpg.
 
174
 
 
175
: ``makemenu -ntsc -dvd -align southwest -textcolor white -highlightcolor "#5f65ff" -selectcolor "#ffac5f" -font "Kirsty" "Episode 1" "Episode 2" "Episode 3" -out "Main_menu"``
 
176
   Make an NTSC DVD menu with white Kirsty text containing three lower-left aligned selections: Episode 1, Episode 2, and Episode 3. Items under the cursor will be highlighted a pale blue, and selected items will be a pale orange (before going to the selected title). The finished menu will be called Main-menu.mpg.
 
177
 
 
178
: tovid.org
 
179
    The wiki has many more screenshots of menus with the commands that generated them.
 
180
 
 
181
 
 
182
==Usage notes==
 
183
 
 
184
The argument given to **-font** must be one of the fonts listed
 
185
by the command 'convert -list type'. Please note that many of
 
186
your installed fonts may not be available; if you want to maximize the
 
187
number of fonts available to [makemenu #makemenu], download and run
 
188
[Anthony Thyssen's http://www.cit.gu.edu.au/~anthony/anthony.html]
 
189
[imagick_type_gen.pl http://www.cit.gu.edu.au/~anthony/software/imagick_type_gen.pl]
 
190
script and run it like this:
 
191
imagick_type_gen.pl > ~/.magick/type.xml.
 
192
If that doesn't work, try
 
193
imagick_type_gen.pl > ~/.magick/type.mgk.
 
194
 
 
195
Or you can specify a ttf font file directly to the **-font** options if you don't want to install fonts to ImageMagick.
 
196
 
 
197
The **-fontdeco** option is quite flexible and takes a lot of ImageMagick's 
 
198
//convert// options. Please refer to the tovid [wiki http://tovid.wikia.com/wiki/Making_a_DVD_with_text_menus] and Anthony Thyssen's 
 
199
guide for further explanation and examples.
 
200
 
 
201
==See also==
 
202
 
 
203
**idvid**(1), **makedvd**(1), **makemenu**(1), **makeslides**(1), 
 
204
**makevcd**(1), **makexml**(1), **postproc**(1), **tovid**(1), **todisc**(1)
 
205
 
 
206
 
 
207
==Contact==
 
208
 
 
209
For further assistance, contact information, forum and IRC links,
 
210
please refer to the [tovid homepage http://tovid.org/].