mkv: Improve PCI events handling
[vlc.git] / src / libvlc-module.c
blobf5de78bcaece3655077c9079b4de89157b984404
1 /*****************************************************************************
2 * libvlc-module.c: Options for the core (libvlc itself) module
3 *****************************************************************************
4 * Copyright (C) 1998-2009 VLC authors and VideoLAN
6 * Authors: Vincent Seguin <seguin@via.ecp.fr>
7 * Samuel Hocevar <sam@zoy.org>
8 * Gildas Bazin <gbazin@videolan.org>
9 * Jean-Paul Saman <jpsaman #_at_# m2x.nl>
11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU Lesser General Public License as published by
13 * the Free Software Foundation; either version 2.1 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License for more details.
21 * You should have received a copy of the GNU Lesser General Public License
22 * along with this program; if not, write to the Free Software Foundation,
23 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24 *****************************************************************************/
26 // Pretend we are a builtin module
27 #define MODULE_NAME core
29 #ifdef HAVE_CONFIG_H
30 # include "config.h"
31 #endif
33 #include <limits.h>
35 #include <vlc_common.h>
36 #include <vlc_plugin.h>
37 #include <vlc_cpu.h>
38 #include "libvlc.h"
39 #include "modules/modules.h"
41 //#define Nothing here, this is just to prevent update-po from being stupid
42 #include "vlc_actions.h"
43 #include "vlc_meta.h"
44 #include <vlc_aout.h>
45 #include <vlc_vout.h>
47 #include "clock/clock.h"
49 static const char *const ppsz_snap_formats[] =
50 { "png", "jpg", "tiff" };
52 /*****************************************************************************
53 * Configuration options for the core module. Each module will also separatly
54 * define its own configuration options.
55 * Look into configuration.h if you need to know more about the following
56 * macros.
57 *****************************************************************************/
59 /*****************************************************************************
60 * Intf
61 ****************************************************************************/
63 // DEPRECATED
64 #define INTF_CAT_LONGTEXT N_( \
65 "These options allow you to configure the interfaces used by VLC. " \
66 "You can select the main interface, additional " \
67 "interface modules, and define various related options." )
69 #define INTF_TEXT N_("Interface module")
70 #define INTF_LONGTEXT N_( \
71 "This is the main interface used by VLC. " \
72 "The default behavior is to automatically select the best module " \
73 "available.")
75 #define EXTRAINTF_TEXT N_("Extra interface modules")
76 #define EXTRAINTF_LONGTEXT N_( \
77 "You can select \"additional interfaces\" for VLC. " \
78 "They will be launched in the background in addition to the default " \
79 "interface. Use a colon separated list of interface modules. (common " \
80 "values are \"rc\" (remote control), \"http\", \"gestures\" ...)")
82 #define CONTROL_TEXT N_("Control interfaces")
83 #define CONTROL_LONGTEXT N_( \
84 "You can select control interfaces for VLC.")
86 #define VERBOSE_TEXT N_("Verbosity (0,1,2)")
87 #define VERBOSE_LONGTEXT N_( \
88 "This is the verbosity level (0=only errors and " \
89 "standard messages, 1=warnings, 2=debug).")
91 #define OPEN_TEXT N_("Default stream")
92 #define OPEN_LONGTEXT N_( \
93 "This stream will always be opened at VLC startup." )
95 #define COLOR_TEXT N_("Color messages")
96 #define COLOR_LONGTEXT N_( \
97 "This enables colorization of the messages sent to the console. " \
98 "Your terminal needs Linux color support for this to work.")
100 #define INTERACTION_TEXT N_("Interface interaction")
101 #define INTERACTION_LONGTEXT N_( \
102 "When this is enabled, the interface will show a dialog box each time " \
103 "some user input is required." )
106 /*****************************************************************************
107 * Audio
108 ****************************************************************************/
110 // DEPRECATED
111 #define AOUT_CAT_LONGTEXT N_( \
112 "These options allow you to modify the behavior of the audio " \
113 "subsystem, and to add audio filters which can be used for " \
114 "post processing or visual effects (spectrum analyzer, etc.). " \
115 "Enable these filters here, and configure them in the \"audio filters\" " \
116 "modules section.")
118 #define AOUT_TEXT N_("Audio output module")
119 #define AOUT_LONGTEXT N_( \
120 "This is the audio output method used by VLC. " \
121 "The default behavior is to automatically select the best method " \
122 "available.")
124 #define ROLE_TEXT N_("Media role")
125 #define ROLE_LONGTEXT N_("Media (player) role for operating system policy.")
127 #define AUDIO_TEXT N_("Enable audio")
128 #define AUDIO_LONGTEXT N_( \
129 "You can completely disable the audio output. The audio " \
130 "decoding stage will not take place, thus saving some processing power.")
131 static const char *ppsz_roles[] = {
132 "video", "music", "communication", "game",
133 "notification", "animation", "production",
134 "accessibility", "test",
136 static const char *ppsz_roles_text[] = {
137 N_("Video"), N_("Music"), N_("Communication"), N_("Game"),
138 N_("Notification"), N_("Animation"), N_("Production"),
139 N_("Accessibility"), N_("Test"),
142 #define GAIN_TEXT N_("Audio gain")
143 #define GAIN_LONGTEXT N_( \
144 "This linear gain will be applied to outputted audio.")
146 #define VOLUME_STEP_TEXT N_("Audio output volume step")
147 #define VOLUME_STEP_LONGTEXT N_( \
148 "The step size of the volume is adjustable using this option.")
149 #define AOUT_VOLUME_STEP 12.8
151 #define VOLUME_SAVE_TEXT N_( "Remember the audio volume" )
152 #define VOLUME_SAVE_LONGTEXT N_( \
153 "The volume can be recorded and automatically restored next time " \
154 "VLC is used." )
156 #define DESYNC_TEXT N_("Audio desynchronization compensation")
157 #define DESYNC_LONGTEXT N_( \
158 "This delays the audio output. The delay must be given in milliseconds. " \
159 "This can be handy if you notice a lag between the video and the audio.")
161 #define AUDIO_RESAMPLER_TEXT N_("Audio resampler")
162 #define AUDIO_RESAMPLER_LONGTEXT N_( \
163 "This selects which plugin to use for audio resampling." )
165 #define MULTICHA_LONGTEXT N_( \
166 "Sets the audio output channels mode that will be used by default " \
167 "if your hardware and the audio stream are compatible.")
169 #if defined(__ANDROID__) || defined(__APPLE__) || defined(_WIN32)
170 #define SPDIF_TEXT N_("Force S/PDIF support")
171 #define SPDIF_LONGTEXT N_( \
172 "This option should be used when the audio output can't negotiate S/PDIF support.")
173 #endif
175 #define FORCE_DOLBY_TEXT N_("Force detection of Dolby Surround")
176 #define FORCE_DOLBY_LONGTEXT N_( \
177 "Use this when you know your stream is (or is not) encoded with Dolby "\
178 "Surround but fails to be detected as such. Even if the stream is "\
179 "not actually encoded with Dolby Surround, turning on this option might "\
180 "enhance your experience, especially when combined with the Headphone "\
181 "Channel Mixer." )
182 static const int pi_force_dolby_values[] = { 0, 1, 2 };
183 static const char *const ppsz_force_dolby_descriptions[] = {
184 N_("Auto"), N_("On"), N_("Off") };
186 #define STEREO_MODE_TEXT N_("Stereo audio output mode")
187 static const int pi_stereo_mode_values[] = { AOUT_VAR_CHAN_UNSET,
188 AOUT_VAR_CHAN_STEREO, AOUT_VAR_CHAN_RSTEREO,
189 AOUT_VAR_CHAN_LEFT, AOUT_VAR_CHAN_RIGHT, AOUT_VAR_CHAN_DOLBYS,
190 AOUT_VAR_CHAN_HEADPHONES,
192 static const char *const ppsz_stereo_mode_texts[] = { N_("Unset"),
193 N_("Stereo"), N_("Reverse stereo"),
194 N_("Left"), N_("Right"), N_("Dolby Surround"),
195 N_("Headphones"),
198 #define AUDIO_FILTER_TEXT N_("Audio filters")
199 #define AUDIO_FILTER_LONGTEXT N_( \
200 "This adds audio post processing filters, to modify " \
201 "the sound rendering." )
203 #define AUDIO_VISUAL_TEXT N_("Audio visualizations")
204 #define AUDIO_VISUAL_LONGTEXT N_( \
205 "This adds visualization modules (spectrum analyzer, etc.).")
208 #define AUDIO_REPLAY_GAIN_MODE_TEXT N_( \
209 "Replay gain mode" )
210 #define AUDIO_REPLAY_GAIN_MODE_LONGTEXT N_( \
211 "Select the replay gain mode" )
212 #define AUDIO_REPLAY_GAIN_PREAMP_TEXT N_( \
213 "Replay preamp" )
214 #define AUDIO_REPLAY_GAIN_PREAMP_LONGTEXT N_( \
215 "This allows you to change the default target level (89 dB) " \
216 "for stream with replay gain information" )
217 #define AUDIO_REPLAY_GAIN_DEFAULT_TEXT N_( \
218 "Default replay gain" )
219 #define AUDIO_REPLAY_GAIN_DEFAULT_LONGTEXT N_( \
220 "This is the gain used for stream without replay gain information" )
221 #define AUDIO_REPLAY_GAIN_PEAK_PROTECTION_TEXT N_( \
222 "Peak protection" )
223 #define AUDIO_REPLAY_GAIN_PEAK_PROTECTION_LONGTEXT N_( \
224 "Protect against sound clipping" )
226 #define AUDIO_TIME_STRETCH_TEXT N_( \
227 "Enable time stretching audio" )
228 #define AUDIO_TIME_STRETCH_LONGTEXT N_( \
229 "This allows playing audio at lower or higher speed without " \
230 "affecting the audio pitch" )
233 static const char *const ppsz_replay_gain_mode[] = {
234 "none", "track", "album" };
235 static const char *const ppsz_replay_gain_mode_text[] = {
236 N_("None"), N_("Track"), N_("Album") };
238 /*****************************************************************************
239 * Video
240 ****************************************************************************/
242 // DEPRECATED
243 #define VOUT_CAT_LONGTEXT N_( \
244 "These options allow you to modify the behavior of the video output " \
245 "subsystem. You can for example enable video filters (deinterlacing, " \
246 "image adjusting, etc.). Enable these filters here and configure " \
247 "them in the \"video filters\" modules section. You can also set many " \
248 "miscellaneous video options." )
250 #define VOUT_TEXT N_("Video output module")
251 #define VOUT_LONGTEXT N_( \
252 "This is the the video output method used by VLC. " \
253 "The default behavior is to automatically select the best method available.")
255 #define VIDEO_TEXT N_("Enable video")
256 #define VIDEO_LONGTEXT N_( \
257 "You can completely disable the video output. The video " \
258 "decoding stage will not take place, thus saving some processing power.")
260 #define WIDTH_TEXT N_("Video width")
261 #define WIDTH_LONGTEXT N_( \
262 "You can enforce the video width. By default (-1) VLC will " \
263 "adapt to the video characteristics.")
265 #define HEIGHT_TEXT N_("Video height")
266 #define HEIGHT_LONGTEXT N_( \
267 "You can enforce the video height. By default (-1) VLC will " \
268 "adapt to the video characteristics.")
270 #define VIDEOX_TEXT N_("Video X coordinate")
271 #define VIDEOX_LONGTEXT N_( \
272 "You can enforce the position of the top left corner of the video window "\
273 "(X coordinate).")
275 #define VIDEOY_TEXT N_("Video Y coordinate")
276 #define VIDEOY_LONGTEXT N_( \
277 "You can enforce the position of the top left corner of the video window "\
278 "(Y coordinate).")
280 #define VIDEO_TITLE_TEXT N_("Video title")
281 #define VIDEO_TITLE_LONGTEXT N_( \
282 "Custom title for the video window (in case the video is not embedded in "\
283 "the interface).")
285 #define ALIGN_TEXT N_("Video alignment")
286 #define ALIGN_LONGTEXT N_( \
287 "Enforce the alignment of the video in its window. By default (0) it " \
288 "will be centered (0=center, 1=left, 2=right, 4=top, 8=bottom, you can " \
289 "also use combinations of these values, like 6=4+2 meaning top-right).")
290 static const int pi_align_values[] = { 0, VOUT_ALIGN_LEFT, VOUT_ALIGN_RIGHT,
291 VOUT_ALIGN_TOP, VOUT_ALIGN_BOTTOM,
292 VOUT_ALIGN_TOP|VOUT_ALIGN_LEFT,
293 VOUT_ALIGN_TOP|VOUT_ALIGN_RIGHT,
294 VOUT_ALIGN_BOTTOM|VOUT_ALIGN_LEFT,
295 VOUT_ALIGN_BOTTOM|VOUT_ALIGN_RIGHT };
296 static const char *const ppsz_align_descriptions[] =
297 { N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
298 N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") };
300 #define ZOOM_TEXT N_("Zoom video")
301 #define ZOOM_LONGTEXT N_( \
302 "You can zoom the video by the specified factor.")
304 #define GRAYSCALE_TEXT N_("Grayscale video output")
305 #define GRAYSCALE_LONGTEXT N_( \
306 "Output video in grayscale. As the color information aren't decoded, " \
307 "this can save some processing power." )
309 #define EMBEDDED_TEXT N_("Embedded video")
310 #define EMBEDDED_LONGTEXT N_( \
311 "Embed the video output in the main interface." )
313 #define FULLSCREEN_TEXT N_("Fullscreen video output")
314 #define FULLSCREEN_LONGTEXT N_( \
315 "Start video in fullscreen mode" )
317 #define VIDEO_ON_TOP_TEXT N_("Always on top")
318 #define VIDEO_ON_TOP_LONGTEXT N_( \
319 "Always place the video window on top of other windows." )
321 #define WALLPAPER_TEXT N_("Enable wallpaper mode")
322 #define WALLPAPER_LONGTEXT N_( \
323 "The wallpaper mode allows you to display the video as the desktop " \
324 "background." )
326 #define VIDEO_TITLE_SHOW_TEXT N_("Show media title on video")
327 #define VIDEO_TITLE_SHOW_LONGTEXT N_( \
328 "Display the title of the video on top of the movie.")
330 #define VIDEO_TITLE_TIMEOUT_TEXT N_("Show video title for x milliseconds")
331 #define VIDEO_TITLE_TIMEOUT_LONGTEXT N_( \
332 "Show the video title for n milliseconds, default is 5000 ms (5 sec.)")
334 #define VIDEO_TITLE_POSITION_TEXT N_("Position of video title")
335 #define VIDEO_TITLE_POSITION_LONGTEXT N_( \
336 "Place on video where to display the title (default bottom center).")
338 #define MOUSE_HIDE_TIMEOUT_TEXT N_("Hide cursor and fullscreen " \
339 "controller after x milliseconds")
340 #define MOUSE_HIDE_TIMEOUT_LONGTEXT N_( \
341 "Hide mouse cursor and fullscreen controller after " \
342 "n milliseconds.")
344 #define DEINTERLACE_TEXT N_("Deinterlace")
345 #define DEINTERLACE_LONGTEXT N_(\
346 "Deinterlace")
347 static const int pi_deinterlace[] = {
348 0, -1, 1
350 static const char * const ppsz_deinterlace_text[] = {
351 "Off", "Automatic", "On"
354 #define DEINTERLACE_MODE_TEXT N_("Deinterlace mode")
355 #define DEINTERLACE_MODE_LONGTEXT N_( \
356 "Deinterlace method to use for video processing.")
357 static const char * const ppsz_deinterlace_mode[] = {
358 "auto", "discard", "blend", "mean", "bob",
359 "linear", "x", "yadif", "yadif2x", "phosphor",
360 "ivtc"
362 static const char * const ppsz_deinterlace_mode_text[] = {
363 N_("Auto"), N_("Discard"), N_("Blend"), N_("Mean"), N_("Bob"),
364 N_("Linear"), "X", "Yadif", "Yadif (2x)", N_("Phosphor"),
365 N_("Film NTSC (IVTC)")
368 static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
369 static const char *const ppsz_pos_descriptions[] =
370 { N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
371 N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") };
373 static const int pi_sub_align_values[] = { -1, 0, 1, 2, 4, 8, 5, 6, 9, 10 };
374 static const char *const ppsz_sub_align_descriptions[] =
375 { N_("Unset"), N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
376 N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") };
378 #define SS_TEXT N_("Disable screensaver")
379 #define SS_LONGTEXT N_("Disable the screensaver during video playback." )
381 static const int screensaver_values[] = { 0, 2, 1, };
382 static const char *const screensaver_texts[] = {
383 N_("Never"), N_("When fullscreen"), N_("Always"),
386 #define VIDEO_DECO_TEXT N_("Window decorations")
387 #define VIDEO_DECO_LONGTEXT N_( \
388 "VLC can avoid creating window caption, frames, etc... around the video" \
389 ", giving a \"minimal\" window.")
391 #define VIDEO_FILTER_TEXT N_("Video filter module")
392 #define VIDEO_FILTER_LONGTEXT N_( \
393 "This adds post-processing filters to enhance the " \
394 "picture quality, for instance deinterlacing, or distort " \
395 "the video.")
397 #define SNAP_PATH_TEXT N_("Video snapshot directory (or filename)")
398 #define SNAP_PATH_LONGTEXT N_( \
399 "Directory where the video snapshots will be stored.")
401 #define SNAP_PREFIX_TEXT N_("Video snapshot file prefix")
402 #define SNAP_PREFIX_LONGTEXT N_( \
403 "Video snapshot file prefix" )
405 #define SNAP_FORMAT_TEXT N_("Video snapshot format")
406 #define SNAP_FORMAT_LONGTEXT N_( \
407 "Image format which will be used to store the video snapshots" )
409 #define SNAP_PREVIEW_TEXT N_("Display video snapshot preview")
410 #define SNAP_PREVIEW_LONGTEXT N_( \
411 "Display the snapshot preview in the screen's top-left corner.")
413 #define SNAP_SEQUENTIAL_TEXT N_("Use sequential numbers instead of timestamps")
414 #define SNAP_SEQUENTIAL_LONGTEXT N_( \
415 "Use sequential numbers instead of timestamps for snapshot numbering")
417 #define SNAP_WIDTH_TEXT N_("Video snapshot width")
418 #define SNAP_WIDTH_LONGTEXT N_( \
419 "You can enforce the width of the video snapshot. By default " \
420 "it will keep the original width (-1). Using 0 will scale the width " \
421 "to keep the aspect ratio." )
423 #define SNAP_HEIGHT_TEXT N_("Video snapshot height")
424 #define SNAP_HEIGHT_LONGTEXT N_( \
425 "You can enforce the height of the video snapshot. By default " \
426 "it will keep the original height (-1). Using 0 will scale the height " \
427 "to keep the aspect ratio." )
429 #define CROP_TEXT N_("Video cropping")
430 #define CROP_LONGTEXT N_( \
431 "This forces the cropping of the source video. " \
432 "Accepted formats are x:y (4:3, 16:9, etc.) expressing the global image " \
433 "aspect.")
435 #define ASPECT_RATIO_TEXT N_("Source aspect ratio")
436 #define ASPECT_RATIO_LONGTEXT N_( \
437 "This forces the source aspect ratio. For instance, some DVDs claim " \
438 "to be 16:9 while they are actually 4:3. This can also be used as a " \
439 "hint for VLC when a movie does not have aspect ratio information. " \
440 "Accepted formats are x:y (4:3, 16:9, etc.) expressing the global image " \
441 "aspect, or a float value (1.25, 1.3333, etc.) expressing pixel " \
442 "squareness.")
444 #define AUTOSCALE_TEXT N_("Video Auto Scaling")
445 #define AUTOSCALE_LONGTEXT N_( \
446 "Let the video scale to fit a given window or fullscreen.")
448 #define SCALEFACTOR_TEXT N_("Video scaling factor")
449 #define SCALEFACTOR_LONGTEXT N_( \
450 "Scaling factor used when Auto Scaling is disabled.\n" \
451 "Default value is 1.0 (original video size).")
453 #define CUSTOM_CROP_RATIOS_TEXT N_("Custom crop ratios list")
454 #define CUSTOM_CROP_RATIOS_LONGTEXT N_( \
455 "Comma separated list of crop ratios which will be added in the " \
456 "interface's crop ratios list.")
458 #define CUSTOM_ASPECT_RATIOS_TEXT N_("Custom aspect ratios list")
459 #define CUSTOM_ASPECT_RATIOS_LONGTEXT N_( \
460 "Comma separated list of aspect ratios which will be added in the " \
461 "interface's aspect ratio list.")
463 #define HDTV_FIX_TEXT N_("Fix HDTV height")
464 #define HDTV_FIX_LONGTEXT N_( \
465 "This allows proper handling of HDTV-1080 video format " \
466 "even if broken encoder incorrectly sets height to 1088 lines. " \
467 "You should only disable this option if your video has a " \
468 "non-standard format requiring all 1088 lines.")
470 #define MASPECT_RATIO_TEXT N_("Monitor pixel aspect ratio")
471 #define MASPECT_RATIO_LONGTEXT N_( \
472 "This forces the monitor aspect ratio. Most monitors have square " \
473 "pixels (1:1). If you have a 16:9 screen, you might need to change this " \
474 "to 4:3 in order to keep proportions.")
476 #define SKIP_FRAMES_TEXT N_("Skip frames")
477 #define SKIP_FRAMES_LONGTEXT N_( \
478 "Enables framedropping on MPEG2 stream. Framedropping " \
479 "occurs when your computer is not powerful enough" )
481 #define DROP_LATE_FRAMES_TEXT N_("Drop late frames")
482 #define DROP_LATE_FRAMES_LONGTEXT N_( \
483 "This drops frames that are late (arrive to the video output after " \
484 "their intended display date)." )
486 #define QUIET_SYNCHRO_TEXT N_("Quiet synchro")
487 #define QUIET_SYNCHRO_LONGTEXT N_( \
488 "This avoids flooding the message log with debug output from the " \
489 "video output synchronization mechanism.")
491 #define KEYBOARD_EVENTS_TEXT N_("Key press events")
492 #define KEYBOARD_EVENTS_LONGTEXT N_( \
493 "This enables VLC hotkeys from the (non-embedded) video window." )
495 #define MOUSE_EVENTS_TEXT N_("Mouse events")
496 #define MOUSE_EVENTS_LONGTEXT N_( \
497 "This enables handling of mouse clicks on the video." )
499 /*****************************************************************************
500 * Input
501 ****************************************************************************/
503 // Deprecated
504 #define INPUT_CAT_LONGTEXT N_( \
505 "These options allow you to modify the behavior of the input " \
506 "subsystem, such as the DVD or VCD device, the network interface " \
507 "settings or the subtitle channel.")
509 #define CACHING_TEXT N_("File caching (ms)")
510 #define CACHING_LONGTEXT N_( \
511 "Caching value for local files, in milliseconds." )
513 #define CAPTURE_CACHING_TEXT N_("Live capture caching (ms)")
514 #define CAPTURE_CACHING_LONGTEXT N_( \
515 "Caching value for cameras and microphones, in milliseconds." )
517 #define DISC_CACHING_TEXT N_("Disc caching (ms)")
518 #define DISC_CACHING_LONGTEXT N_( \
519 "Caching value for optical media, in milliseconds." )
521 #define NETWORK_CACHING_TEXT N_("Network caching (ms)")
522 #define NETWORK_CACHING_LONGTEXT N_( \
523 "Caching value for network resources, in milliseconds." )
525 #define CR_AVERAGE_TEXT N_("Clock reference average counter")
526 #define CR_AVERAGE_LONGTEXT N_( \
527 "When using the PVR input (or a very irregular source), you should " \
528 "set this to 10000.")
530 #define CLOCK_SYNCHRO_TEXT N_("Clock synchronisation")
531 #define CLOCK_SYNCHRO_LONGTEXT N_( \
532 "It is possible to disable the input clock synchronisation for " \
533 "real-time sources. Use this if you experience jerky playback of " \
534 "network streams.")
536 #define CLOCK_JITTER_TEXT N_("Clock jitter")
537 #define CLOCK_JITTER_LONGTEXT N_( \
538 "This defines the maximum input delay jitter that the synchronization " \
539 "algorithms should try to compensate (in milliseconds)." )
541 #define CLOCK_MASTER_TEXT N_("Clock master source")
543 static const int pi_clock_master_values[] = {
544 VLC_CLOCK_MASTER_AUDIO,
545 VLC_CLOCK_MASTER_MONOTONIC,
547 static const char *const ppsz_clock_master_descriptions[] = {
548 N_("Audio"),
549 N_("Monotonic")
552 #define NETSYNC_TEXT N_("Network synchronisation" )
553 #define NETSYNC_LONGTEXT N_( "This allows you to remotely " \
554 "synchronise clocks for server and client. The detailed settings " \
555 "are available in Advanced / Network Sync." )
557 static const int pi_clock_values[] = { -1, 0, 1 };
558 static const char *const ppsz_clock_descriptions[] =
559 { N_("Default"), N_("Disable"), N_("Enable") };
561 #define MTU_TEXT N_("MTU of the network interface")
562 #define MTU_LONGTEXT N_( \
563 "This is the maximum application-layer packet size that can be " \
564 "transmitted over the network (in bytes).")
565 /* Should be less than 1500 - 8[ppp] - 40[ip6] - 8[udp] in any case. */
566 #define MTU_DEFAULT 1400
568 #define TTL_TEXT N_("Hop limit (TTL)")
569 #define TTL_LONGTEXT N_( \
570 "This is the hop limit (also known as \"Time-To-Live\" or TTL) of " \
571 "the multicast packets sent by the stream output (-1 = use operating " \
572 "system built-in default).")
574 #define MIFACE_TEXT N_("Multicast output interface")
575 #define MIFACE_LONGTEXT N_( \
576 "Default multicast interface. This overrides the routing table.")
578 #define DSCP_TEXT N_("DiffServ Code Point")
579 #define DSCP_LONGTEXT N_("Differentiated Services Code Point " \
580 "for outgoing UDP streams (or IPv4 Type Of Service, " \
581 "or IPv6 Traffic Class). This is used for network Quality of Service.")
583 #define INPUT_PROGRAM_TEXT N_("Program")
584 #define INPUT_PROGRAM_LONGTEXT N_( \
585 "Choose the program to select by giving its Service ID. " \
586 "Only use this option if you want to read a multi-program stream " \
587 "(like DVB streams for example)." )
589 #define INPUT_PROGRAMS_TEXT N_("Programs")
590 #define INPUT_PROGRAMS_LONGTEXT N_( \
591 "Choose the programs to select by giving a comma-separated list of " \
592 "Service IDs (SIDs). " \
593 "Only use this option if you want to read a multi-program stream " \
594 "(like DVB streams for example)." )
596 /// \todo Document how to find it
597 #define INPUT_VIDEOTRACK_TEXT N_("Video track")
598 #define INPUT_VIDEOTRACK_LONGTEXT N_( \
599 "Stream number of the video track to use " \
600 "(from 0 to n).")
602 #define INPUT_AUDIOTRACK_TEXT N_("Audio track")
603 #define INPUT_AUDIOTRACK_LONGTEXT N_( \
604 "Stream number of the audio track to use " \
605 "(from 0 to n).")
607 #define INPUT_SUBTRACK_TEXT N_("Subtitle track")
608 #define INPUT_SUBTRACK_LONGTEXT N_( \
609 "Stream number of the subtitle track to use " \
610 "(from 0 to n).")
612 #define INPUT_AUDIOTRACK_LANG_TEXT N_("Audio language")
613 #define INPUT_AUDIOTRACK_LANG_LONGTEXT N_( \
614 "Language of the audio track you want to use " \
615 "(comma separated, two or three letter country code, you may use 'none' to avoid a fallback to another language).")
617 #define INPUT_SUBTRACK_LANG_TEXT N_("Subtitle language")
618 #define INPUT_SUBTRACK_LANG_LONGTEXT N_( \
619 "Language of the subtitle track you want to use " \
620 "(comma separated, two or three letters country code, you may use 'any' as a fallback).")
622 #define INPUT_MENUTRACK_LANG_TEXT N_("Menu language")
623 #define INPUT_MENUTRACK_LANG_LONGTEXT N_( \
624 "Language of the menus you want to use with DVD/BluRay " \
625 "(comma separated, two or three letters country code, you may use 'any' as a fallback).")
627 /// \todo Document how to find it
628 #define INPUT_VIDEOTRACK_ID_TEXT N_("Video track ID")
629 #define INPUT_VIDEOTRACK_ID_LONGTEXT N_( \
630 "Stream ID of the video track to use.")
632 #define INPUT_AUDIOTRACK_ID_TEXT N_("Audio track ID")
633 #define INPUT_AUDIOTRACK_ID_LONGTEXT N_( \
634 "Stream ID of the audio track to use.")
636 #define INPUT_SUBTRACK_ID_TEXT N_("Subtitle track ID")
637 #define INPUT_SUBTRACK_ID_LONGTEXT N_( \
638 "Stream ID of the subtitle track to use.")
640 #define INPUT_CAPTIONS_TEXT N_(N_("Preferred Closed Captions decoder"))
641 static const int pi_captions[] = { 608, 708 };
642 static const char *const ppsz_captions[] = { "EIA/CEA 608", "CEA 708" };
644 #define INPUT_PREFERREDRESOLUTION_TEXT N_("Preferred video resolution")
645 #define INPUT_PREFERREDRESOLUTION_LONGTEXT N_( \
646 "When several video formats are available, select one whose " \
647 "resolution is closest to (but not higher than) this setting, " \
648 "in number of lines. Use this option if you don't have enough CPU " \
649 "power or network bandwidth to play higher resolutions.")
650 static const int pi_prefres[] = { -1, 1080, 720, 576, 360, 240 };
651 static const char *const ppsz_prefres[] = {
652 N_("Best available"), N_("Full HD (1080p)"), N_("HD (720p)"),
653 N_("Standard Definition (576 or 480 lines)"),
654 N_("Low Definition (360 lines)"),
655 N_("Very Low Definition (240 lines)"),
658 #define INPUT_LOWDELAY_TEXT N_("Low delay mode")
659 #define INPUT_LOWDELAY_LONGTEXT N_(\
660 "Try to minimize delay along decoding chain."\
661 "Might break with non compliant streams.")
663 #define INPUT_REPEAT_TEXT N_("Input repetitions")
664 #define INPUT_REPEAT_LONGTEXT N_( \
665 "Number of time the same input will be repeated")
667 #define START_TIME_TEXT N_("Start time")
668 #define START_TIME_LONGTEXT N_( \
669 "The stream will start at this position (in seconds)." )
671 #define STOP_TIME_TEXT N_("Stop time")
672 #define STOP_TIME_LONGTEXT N_( \
673 "The stream will stop at this position (in seconds)." )
675 #define RUN_TIME_TEXT N_("Run time")
676 #define RUN_TIME_LONGTEXT N_( \
677 "The stream will run this duration (in seconds)." )
679 #define INPUT_FAST_SEEK_TEXT N_("Fast seek")
680 #define INPUT_FAST_SEEK_LONGTEXT N_( \
681 "Favor speed over precision while seeking" )
683 #define INPUT_RATE_TEXT N_("Playback speed")
684 #define INPUT_RATE_LONGTEXT N_( \
685 "This defines the playback speed (nominal speed is 1.0)." )
687 #define INPUT_LIST_TEXT N_("Input list")
688 #define INPUT_LIST_LONGTEXT N_( \
689 "You can give a comma-separated list " \
690 "of inputs that will be concatenated together after the normal one.")
692 #define INPUT_SLAVE_TEXT N_("Input slave (experimental)")
693 #define INPUT_SLAVE_LONGTEXT N_( \
694 "This allows you to play from several inputs at " \
695 "the same time. This feature is experimental, not all formats " \
696 "are supported. Use a '#' separated list of inputs.")
698 #define BOOKMARKS_TEXT N_("Bookmarks list for a stream")
699 #define BOOKMARKS_LONGTEXT N_( \
700 "You can manually give a list of bookmarks for a stream in " \
701 "the form \"{name=bookmark-name,time=optional-time-offset," \
702 "bytes=optional-byte-offset},{...}\"")
704 #define INPUT_RECORD_PATH_TEXT N_("Record directory")
705 #define INPUT_RECORD_PATH_LONGTEXT N_( \
706 "Directory where the records will be stored" )
708 #define INPUT_RECORD_NATIVE_TEXT N_("Prefer native stream recording")
709 #define INPUT_RECORD_NATIVE_LONGTEXT N_( \
710 "When possible, the input stream will be recorded instead of using " \
711 "the stream output module" )
713 #define INPUT_TIMESHIFT_PATH_TEXT N_("Timeshift directory")
714 #define INPUT_TIMESHIFT_PATH_LONGTEXT N_( \
715 "Directory used to store the timeshift temporary files." )
717 #define INPUT_TIMESHIFT_GRANULARITY_TEXT N_("Timeshift granularity")
718 #define INPUT_TIMESHIFT_GRANULARITY_LONGTEXT N_( \
719 "This is the maximum size in bytes of the temporary files " \
720 "that will be used to store the timeshifted streams." )
722 #define INPUT_TITLE_FORMAT_TEXT N_( "Change title according to current media" )
723 #define INPUT_TITLE_FORMAT_LONGTEXT N_( "This option allows you to set the title according to what's being played<br>" \
724 "$a: Artist<br>$b: Album<br>$c: Copyright<br>$t: Title<br>$g: Genre<br>" \
725 "$n: Track num<br>$p: Now playing<br>$A: Date<br>$D: Duration<br>" \
726 "$Z: \"Now playing\" (Fall back on Title - Artist)" )
728 #define INPUT_LUA_TEXT N_( "Disable all lua plugins" )
730 // DEPRECATED
731 #define SUB_CAT_LONGTEXT N_( \
732 "These options allow you to modify the behavior of the subpictures " \
733 "subsystem. You can for example enable subpictures sources (logo, etc.). " \
734 "Enable these filters here and configure them in the " \
735 "\"subsources filters\" modules section. You can also set many " \
736 "miscellaneous subpictures options." )
738 #define SUB_MARGIN_TEXT N_("Force subtitle position")
739 #define SUB_MARGIN_LONGTEXT N_( \
740 "You can use this option to place the subtitles under the movie, " \
741 "instead of over the movie. Try several positions.")
743 #define SUB_TEXT_SCALE_TEXT N_("Subtitles text scaling factor")
744 #define SUB_TEXT_SCALE_LONGTEXT N_("Changes the subtitles size where possible")
746 #define SPU_TEXT N_("Enable sub-pictures")
747 #define SPU_LONGTEXT N_( \
748 "You can completely disable the sub-picture processing.")
750 #define SECONDARY_SUB_POSITION_TEXT N_("Position of secondary subtitles")
751 #define SECONDARY_SUB_POSITION_LONGTEXT N_( \
752 "Place on video where to display secondary subtitles (default bottom center).")
754 #define SECONDARY_SUB_MARGIN_TEXT N_("Force secondary subtitle position")
755 #define SECONDARY_SUB_MARGIN_LONGTEXT N_( \
756 "You can use this option to vertically adjust the position secondary " \
757 "subtitles are displayed.")
759 #define OSD_TEXT N_("On Screen Display")
760 #define OSD_LONGTEXT N_( \
761 "VLC can display messages on the video. This is called OSD (On Screen " \
762 "Display).")
764 #define TEXTRENDERER_TEXT N_("Text rendering module")
765 #define TEXTRENDERER_LONGTEXT N_( \
766 "VLC normally uses Freetype for rendering, but this allows you to use svg for instance.")
768 #define SUB_SOURCE_TEXT N_("Subpictures source module")
769 #define SUB_SOURCE_LONGTEXT N_( \
770 "This adds so-called \"subpicture sources\". These filters overlay " \
771 "some images or text over the video (like a logo, arbitrary text, ...)." )
773 #define SUB_FILTER_TEXT N_("Subpictures filter module")
774 #define SUB_FILTER_LONGTEXT N_( \
775 "This adds so-called \"subpicture filters\". These filter subpictures " \
776 "created by subtitle decoders or other subpictures sources." )
778 #define SUB_AUTO_TEXT N_("Autodetect subtitle files")
779 #define SUB_AUTO_LONGTEXT N_( \
780 "Automatically detect a subtitle file, if no subtitle filename is " \
781 "specified (based on the filename of the movie).")
783 #define SUB_FUZZY_TEXT N_("Subtitle autodetection fuzziness")
784 #define SUB_FUZZY_LONGTEXT N_( \
785 "This determines how fuzzy subtitle and movie filename matching " \
786 "will be. Options are:\n" \
787 "0 = no subtitles autodetected\n" \
788 "1 = any subtitle file\n" \
789 "2 = any subtitle file containing the movie name\n" \
790 "3 = subtitle file matching the movie name with additional chars\n" \
791 "4 = subtitle file matching the movie name exactly")
793 #define SUB_PATH_TEXT N_("Subtitle autodetection paths")
794 #define SUB_PATH_LONGTEXT N_( \
795 "Look for a subtitle file in those paths too, if your subtitle " \
796 "file was not found in the current directory.")
798 #define SUB_FPS_TEXT N_("Subtitle Frames per Second")
799 #define SUB_FPS_LONGTEXT \
800 N_("Override the normal frames per second settings. ")
802 #define SUB_DELAY_TEXT N_("Subtitle delay")
803 #define SUB_DELAY_LONGTEXT \
804 N_("Apply a delay to all subtitles (in 1/10s, eg 100 means 10s).")
806 #define SUB_FILE_TEXT N_("Use subtitle file")
807 #define SUB_FILE_LONGTEXT N_( \
808 "Load this subtitle file. To be used when autodetect cannot detect " \
809 "your subtitle file.")
811 /* DVD and VCD devices */
812 #define DVD_DEV_TEXT N_("DVD device")
813 #define VCD_DEV_TEXT N_("VCD device")
814 #define CDAUDIO_DEV_TEXT N_("Audio CD device")
816 #if defined( _WIN32 ) || defined( __OS2__ )
817 # define DVD_DEV_LONGTEXT N_( \
818 "This is the default DVD drive (or file) to use. Don't forget the colon " \
819 "after the drive letter (e.g. D:)")
820 # define VCD_DEV_LONGTEXT N_( \
821 "This is the default VCD drive (or file) to use. Don't forget the colon " \
822 "after the drive letter (e.g. D:)")
823 # define CDAUDIO_DEV_LONGTEXT N_( \
824 "This is the default Audio CD drive (or file) to use. Don't forget the " \
825 "colon after the drive letter (e.g. D:)")
826 # define DVD_DEVICE NULL
827 # define VCD_DEVICE "D:"
829 #else
830 # define DVD_DEV_LONGTEXT N_( \
831 "This is the default DVD device to use.")
832 # define VCD_DEV_LONGTEXT N_( \
833 "This is the default VCD device to use." )
834 # define CDAUDIO_DEV_LONGTEXT N_( \
835 "This is the default Audio CD device to use." )
837 # if defined(__OpenBSD__)
838 # define DVD_DEVICE "/dev/cd0c"
839 # define VCD_DEVICE "/dev/cd0c"
840 # elif defined(__linux__)
841 # define DVD_DEVICE "/dev/sr0"
842 # define VCD_DEVICE "/dev/sr0"
843 # else
844 # define DVD_DEVICE "/dev/dvd"
845 # define VCD_DEVICE "/dev/cdrom"
846 # endif
847 #endif
849 #define TIMEOUT_TEXT N_("TCP connection timeout")
850 #define TIMEOUT_LONGTEXT N_( \
851 "Default TCP connection timeout (in milliseconds)." )
853 #define HTTP_HOST_TEXT N_( "HTTP server address" )
854 #define HOST_LONGTEXT N_( \
855 "By default, the server will listen on any local IP address. " \
856 "Specify an IP address (e.g. ::1 or 127.0.0.1) or a host name " \
857 "(e.g. localhost) to restrict them to a specific network interface." )
859 #define RTSP_HOST_TEXT N_( "RTSP server address" )
860 #define RTSP_HOST_LONGTEXT N_( \
861 "This defines the address the RTSP server will listen on, along " \
862 "with the base path of the RTSP VOD media. Syntax is address/path. " \
863 "By default, the server will listen on any local IP address. " \
864 "Specify an IP address (e.g. ::1 or 127.0.0.1) or a host name " \
865 "(e.g. localhost) to restrict them to a specific network interface." )
867 #define HTTP_PORT_TEXT N_( "HTTP server port" )
868 #define HTTP_PORT_LONGTEXT N_( \
869 "The HTTP server will listen on this TCP port. " \
870 "The standard HTTP port number is 80. " \
871 "However allocation of port numbers below 1025 is usually restricted " \
872 "by the operating system." )
874 #define HTTPS_PORT_TEXT N_( "HTTPS server port" )
875 #define HTTPS_PORT_LONGTEXT N_( \
876 "The HTTPS server will listen on this TCP port. " \
877 "The standard HTTPS port number is 443. " \
878 "However allocation of port numbers below 1025 is usually restricted " \
879 "by the operating system." )
881 #define RTSP_PORT_TEXT N_( "RTSP server port" )
882 #define RTSP_PORT_LONGTEXT N_( \
883 "The RTSP server will listen on this TCP port. " \
884 "The standard RTSP port number is 554. " \
885 "However allocation of port numbers below 1025 is usually restricted " \
886 "by the operating system." )
888 #define HTTP_CERT_TEXT N_("HTTP/TLS server certificate")
889 #define CERT_LONGTEXT N_( \
890 "This X.509 certicate file (PEM format) is used for server-side TLS. " \
891 "On OS X, the string is used as a label to search the certificate in the keychain." )
893 #define HTTP_KEY_TEXT N_("HTTP/TLS server private key")
894 #define KEY_LONGTEXT N_( \
895 "This private key file (PEM format) is used for server-side TLS.")
897 #define PROXY_TEXT N_("HTTP proxy")
898 #define PROXY_LONGTEXT N_( \
899 "HTTP proxy to be used It must be of the form " \
900 "http://[user@]myproxy.mydomain:myport/ ; " \
901 "if empty, the http_proxy environment variable will be tried." )
903 #define PROXY_PASS_TEXT N_("HTTP proxy password")
904 #define PROXY_PASS_LONGTEXT N_( \
905 "If your HTTP proxy requires a password, set it here." )
907 #define SOCKS_SERVER_TEXT N_("SOCKS server")
908 #define SOCKS_SERVER_LONGTEXT N_( \
909 "SOCKS proxy server to use. This must be of the form " \
910 "address:port. It will be used for all TCP connections" )
912 #define SOCKS_USER_TEXT N_("SOCKS user name")
913 #define SOCKS_USER_LONGTEXT N_( \
914 "User name to be used for connection to the SOCKS proxy." )
916 #define SOCKS_PASS_TEXT N_("SOCKS password")
917 #define SOCKS_PASS_LONGTEXT N_( \
918 "Password to be used for connection to the SOCKS proxy." )
920 #define META_TITLE_TEXT N_("Title metadata")
921 #define META_TITLE_LONGTEXT N_( \
922 "Allows you to specify a \"title\" metadata for an input.")
924 #define META_AUTHOR_TEXT N_("Author metadata")
925 #define META_AUTHOR_LONGTEXT N_( \
926 "Allows you to specify an \"author\" metadata for an input.")
928 #define META_ARTIST_TEXT N_("Artist metadata")
929 #define META_ARTIST_LONGTEXT N_( \
930 "Allows you to specify an \"artist\" metadata for an input.")
932 #define META_GENRE_TEXT N_("Genre metadata")
933 #define META_GENRE_LONGTEXT N_( \
934 "Allows you to specify a \"genre\" metadata for an input.")
936 #define META_CPYR_TEXT N_("Copyright metadata")
937 #define META_CPYR_LONGTEXT N_( \
938 "Allows you to specify a \"copyright\" metadata for an input.")
940 #define META_DESCR_TEXT N_("Description metadata")
941 #define META_DESCR_LONGTEXT N_( \
942 "Allows you to specify a \"description\" metadata for an input.")
944 #define META_DATE_TEXT N_("Date metadata")
945 #define META_DATE_LONGTEXT N_( \
946 "Allows you to specify a \"date\" metadata for an input.")
948 #define META_URL_TEXT N_("URL metadata")
949 #define META_URL_LONGTEXT N_( \
950 "Allows you to specify a \"url\" metadata for an input.")
952 // DEPRECATED
953 #define CODEC_CAT_LONGTEXT N_( \
954 "This option can be used to alter the way VLC selects " \
955 "its codecs (decompression methods). Only advanced users should " \
956 "alter this option as it can break playback of all your streams." )
958 #define CODEC_TEXT N_("Preferred decoders list")
959 #define CODEC_LONGTEXT N_( \
960 "List of codecs that VLC will use in " \
961 "priority. For instance, 'dummy,a52' will try the dummy and a52 codecs " \
962 "before trying the other ones. Only advanced users should " \
963 "alter this option as it can break playback of all your streams." )
965 #define ENCODER_TEXT N_("Preferred encoders list")
966 #define ENCODER_LONGTEXT N_( \
967 "This allows you to select a list of encoders that VLC will use in " \
968 "priority.")
970 #define DEC_DEV_TEXT N_("Preferred decoder hardware device")
972 /*****************************************************************************
973 * Sout
974 ****************************************************************************/
976 // DEPRECATED
977 #define SOUT_CAT_LONGTEXT N_( \
978 "These options allow you to set default global options for the " \
979 "stream output subsystem." )
981 #define SOUT_TEXT N_("Default stream output chain")
982 #define SOUT_LONGTEXT N_( \
983 "You can enter here a default stream output chain. Refer to "\
984 "the documentation to learn how to build such chains. " \
985 "Warning: this chain will be enabled for all streams." )
987 #define SOUT_ALL_TEXT N_("Enable streaming of all ES")
988 #define SOUT_ALL_LONGTEXT N_( \
989 "Stream all elementary streams (video, audio and subtitles)")
991 #define SOUT_DISPLAY_TEXT N_("Display while streaming")
992 #define SOUT_DISPLAY_LONGTEXT N_( \
993 "Play locally the stream while streaming it.")
995 #define SOUT_VIDEO_TEXT N_("Enable video stream output")
996 #define SOUT_VIDEO_LONGTEXT N_( \
997 "Choose whether the video stream should be redirected to " \
998 "the stream output facility when this last one is enabled.")
1000 #define SOUT_AUDIO_TEXT N_("Enable audio stream output")
1001 #define SOUT_AUDIO_LONGTEXT N_( \
1002 "Choose whether the audio stream should be redirected to " \
1003 "the stream output facility when this last one is enabled.")
1005 #define SOUT_SPU_TEXT N_("Enable SPU stream output")
1006 #define SOUT_SPU_LONGTEXT N_( \
1007 "Choose whether the SPU streams should be redirected to " \
1008 "the stream output facility when this last one is enabled.")
1010 #define SOUT_KEEP_TEXT N_("Keep stream output open" )
1011 #define SOUT_KEEP_LONGTEXT N_( \
1012 "This allows you to keep an unique stream output instance across " \
1013 "multiple playlist item (automatically insert the gather stream output " \
1014 "if not specified)" )
1016 #define SOUT_MUX_CACHING_TEXT N_("Stream output muxer caching (ms)")
1017 #define SOUT_MUX_CACHING_LONGTEXT N_( \
1018 "This allow you to configure the initial caching amount for stream output " \
1019 "muxer. This value should be set in milliseconds." )
1021 #define PACKETIZER_TEXT N_("Preferred packetizer list")
1022 #define PACKETIZER_LONGTEXT N_( \
1023 "This allows you to select the order in which VLC will choose its " \
1024 "packetizers." )
1026 #define MUX_TEXT N_("Mux module")
1027 #define MUX_LONGTEXT N_( \
1028 "This is a legacy entry to let you configure mux modules")
1030 #define ACCESS_OUTPUT_TEXT N_("Access output module")
1031 #define ACCESS_OUTPUT_LONGTEXT N_( \
1032 "This is a legacy entry to let you configure access output modules")
1034 #define ANN_SAPCTRL_LONGTEXT N_( \
1035 "If this option is enabled, the flow on " \
1036 "the SAP multicast address will be controlled. This is needed if you " \
1037 "want to make announcements on the MBone." )
1039 #define ANN_SAPINTV_TEXT N_("SAP announcement interval")
1040 #define ANN_SAPINTV_LONGTEXT N_( \
1041 "When the SAP flow control is disabled, " \
1042 "this lets you set the fixed interval between SAP announcements." )
1044 /*****************************************************************************
1045 * Advanced
1046 ****************************************************************************/
1048 // DEPRECATED
1049 #define MISC_CAT_LONGTEXT N_( \
1050 "These options allow you to select default modules. Leave these " \
1051 "alone unless you really know what you are doing." )
1053 #define ACCESS_TEXT N_("Access module")
1054 #define ACCESS_LONGTEXT N_( \
1055 "This allows you to force an access module. You can use it if " \
1056 "the correct access is not automatically detected. You should not "\
1057 "set this as a global option unless you really know what you are doing." )
1059 #define STREAM_FILTER_TEXT N_("Stream filter module")
1060 #define STREAM_FILTER_LONGTEXT N_( \
1061 "Stream filters are used to modify the stream that is being read." )
1063 #define DEMUX_FILTER_TEXT N_("Demux filter module")
1064 #define DEMUX_FILTER_LONGTEXT N_( \
1065 "Demux filters are used to modify/control the stream that is being read." )
1067 #define DEMUX_TEXT N_("Demux module")
1068 #define DEMUX_LONGTEXT N_( \
1069 "Demultiplexers are used to separate the \"elementary\" streams " \
1070 "(like audio and video streams). You can use it if " \
1071 "the correct demuxer is not automatically detected. You should not "\
1072 "set this as a global option unless you really know what you are doing." )
1074 #define VOD_SERVER_TEXT N_("VoD server module")
1075 #define VOD_SERVER_LONGTEXT N_( \
1076 "You can select which VoD server module you want to use. Set this " \
1077 "to 'vod_rtsp' to switch back to the old, legacy module." )
1079 #define RT_PRIORITY_TEXT N_("Allow real-time priority")
1080 #define RT_PRIORITY_LONGTEXT N_( \
1081 "Running VLC in real-time priority will allow for much more precise " \
1082 "scheduling and yield better, especially when streaming content. " \
1083 "It can however lock up your whole machine, or make it very very " \
1084 "slow. You should only activate this if you know what you're " \
1085 "doing.")
1087 #define RT_OFFSET_TEXT N_("Adjust VLC priority")
1088 #define RT_OFFSET_LONGTEXT N_( \
1089 "This option adds an offset (positive or negative) to VLC default " \
1090 "priorities. You can use it to tune VLC priority against other " \
1091 "programs, or against other VLC instances.")
1093 #define USE_STREAM_IMMEDIATE_LONGTEXT N_( \
1094 "This option is useful if you want to lower the latency when " \
1095 "reading a stream")
1097 #define VLM_CONF_TEXT N_("VLM configuration file")
1098 #define VLM_CONF_LONGTEXT N_( \
1099 "Read a VLM configuration file as soon as VLM is started." )
1101 #define PLUGINS_CACHE_TEXT N_("Use a plugins cache")
1102 #define PLUGINS_CACHE_LONGTEXT N_( \
1103 "Use a plugins cache which will greatly improve the startup time of VLC.")
1105 #define PLUGINS_SCAN_TEXT N_("Scan for new plugins")
1106 #define PLUGINS_SCAN_LONGTEXT N_( \
1107 "Scan plugin directories for new plugins at startup. " \
1108 "This increases the startup time of VLC.")
1110 #define KEYSTORE_TEXT N_("Preferred keystore list")
1111 #define KEYSTORE_LONGTEXT N_( \
1112 "List of keystores that VLC will use in priority." )
1114 #define STATS_TEXT N_("Locally collect statistics")
1115 #define STATS_LONGTEXT N_( \
1116 "Collect miscellaneous local statistics about the playing media.")
1118 #define DAEMON_TEXT N_("Run as daemon process")
1119 #define DAEMON_LONGTEXT N_( \
1120 "Runs VLC as a background daemon process.")
1122 #define PIDFILE_TEXT N_("Write process id to file")
1123 #define PIDFILE_LONGTEXT N_( \
1124 "Writes process id into specified file.")
1126 #define ONEINSTANCE_TEXT N_("Allow only one running instance")
1127 #define ONEINSTANCE_LONGTEXT N_( \
1128 "Allowing only one running instance of VLC can sometimes be useful, " \
1129 "for example if you associated VLC with some media types and you " \
1130 "don't want a new instance of VLC to be opened each time you " \
1131 "open a file in your file manager. This option will allow you " \
1132 "to play the file with the already running instance or enqueue it.")
1134 #define STARTEDFROMFILE_TEXT N_("VLC is started from file association")
1135 #define STARTEDFROMFILE_LONGTEXT N_( \
1136 "Tell VLC that it is being launched due to a file association in the OS" )
1138 #define ONEINSTANCEWHENSTARTEDFROMFILE_TEXT N_( \
1139 "Use only one instance when started from file manager")
1141 #define HPRIORITY_TEXT N_("Increase the priority of the process")
1142 #define HPRIORITY_LONGTEXT N_( \
1143 "Increasing the priority of the process will very likely improve your " \
1144 "playing experience as it allows VLC not to be disturbed by other " \
1145 "applications that could otherwise take too much processor time. " \
1146 "However be advised that in certain circumstances (bugs) VLC could take " \
1147 "all the processor time and render the whole system unresponsive which " \
1148 "might require a reboot of your machine.")
1150 #define CLOCK_SOURCE_TEXT N_("Clock source")
1151 #ifdef _WIN32
1152 static const char *const clock_sources[] = {
1153 "", "interrupt", "tick",
1154 #if !VLC_WINSTORE_APP
1155 "multimedia",
1156 #endif
1157 "perf", "wall",
1160 static const char *const clock_sources_text[] = {
1161 N_("Auto"), "Interrupt time", "Windows time",
1162 #if !VLC_WINSTORE_APP
1163 "Multimedia timers",
1164 #endif
1165 "Performance counters", "System time (DANGEROUS!)",
1167 #endif
1169 #define PLAYLISTENQUEUE_TEXT N_( \
1170 "Enqueue items into playlist in one instance mode")
1171 #define PLAYLISTENQUEUE_LONGTEXT N_( \
1172 "When using the one instance only option, enqueue items to playlist " \
1173 "and keep playing current item.")
1175 #define DBUS_TEXT N_("Expose media player via D-Bus")
1176 #define DBUS_LONGTEXT N_("Allow other applications to control VLC " \
1177 "using the D-Bus MPRIS protocol.")
1179 /*****************************************************************************
1180 * Playlist
1181 ****************************************************************************/
1183 // DEPRECATED
1184 #define PLAYLIST_CAT_LONGTEXT N_( \
1185 "These options define the behavior of the playlist. Some " \
1186 "of them can be overridden in the playlist dialog box." )
1188 #define PREPARSE_TEXT N_( "Automatically preparse items")
1189 #define PREPARSE_LONGTEXT N_( \
1190 "Automatically preparse items added to the playlist " \
1191 "(to retrieve some metadata)." )
1193 #define PREPARSE_TIMEOUT_TEXT N_( "Preparsing timeout" )
1194 #define PREPARSE_TIMEOUT_LONGTEXT N_( \
1195 "Maximum time allowed to preparse an item, in milliseconds" )
1197 #define PREPARSE_THREADS_TEXT N_( "Preparsing threads" )
1198 #define PREPARSE_THREADS_LONGTEXT N_( \
1199 "Maximum number of threads used to preparse items" )
1201 #define FETCH_ART_THREADS_TEXT N_( "Fetch-art threads" )
1202 #define FETCH_ART_THREADS_LONGTEXT N_( \
1203 "Maximum number of threads used to fetch art" )
1205 #define METADATA_NETWORK_TEXT N_( "Allow metadata network access" )
1207 static const char *const psz_recursive_list[] = {
1208 "none", "collapse", "expand" };
1209 static const char *const psz_recursive_list_text[] = {
1210 N_("None"), N_("Collapse"), N_("Expand") };
1212 #define RECURSIVE_TEXT N_("Subdirectory behavior")
1213 #define RECURSIVE_LONGTEXT N_( \
1214 "Select whether subdirectories must be expanded.\n" \
1215 "none: subdirectories do not appear in the playlist.\n" \
1216 "collapse: subdirectories appear but are expanded on first play.\n" \
1217 "expand: all subdirectories are expanded.\n" )
1219 #define IGNORE_TEXT N_("Ignored extensions")
1220 #define IGNORE_LONGTEXT N_( \
1221 "Files with these extensions will not be added to playlist when " \
1222 "opening a directory.\n" \
1223 "This is useful if you add directories that contain playlist files " \
1224 "for instance. Use a comma-separated list of extensions." )
1226 #define SHOW_HIDDENFILES_TEXT N_("Show hidden files")
1227 #define SHOW_HIDDENFILES_LONGTEXT N_( \
1228 "Ignore files starting with '.'" )
1230 #define SD_TEXT N_( "Services discovery modules")
1231 #define SD_LONGTEXT N_( \
1232 "Specifies the services discovery modules to preload, separated by " \
1233 "colons. Typical value is \"sap\"." )
1235 #define RANDOM_TEXT N_("Play files randomly forever")
1236 #define RANDOM_LONGTEXT N_( \
1237 "VLC will randomly play files in the playlist until interrupted.")
1239 #define LOOP_TEXT N_("Repeat all")
1240 #define LOOP_LONGTEXT N_( \
1241 "VLC will keep playing the playlist indefinitely." )
1243 #define REPEAT_TEXT N_("Repeat current item")
1244 #define REPEAT_LONGTEXT N_( \
1245 "VLC will keep playing the current playlist item." )
1247 #define PAS_TEXT N_("Play and stop")
1248 #define PAS_LONGTEXT N_( \
1249 "Stop the playlist after each played playlist item." )
1251 #define PAE_TEXT N_("Play and exit")
1252 #define PAE_LONGTEXT N_( \
1253 "Exit if there are no more items in the playlist." )
1255 #define PAP_TEXT N_("Play and pause")
1256 #define PAP_LONGTEXT N_( \
1257 "Pause each item in the playlist on the last frame." )
1259 #define SP_TEXT N_("Start paused")
1260 #define SP_LONGTEXT N_( \
1261 "Pause each item in the playlist on the first frame." )
1263 #define AUTOSTART_TEXT N_( "Auto start" )
1264 #define AUTOSTART_LONGTEXT N_( "Automatically start playing the playlist " \
1265 "content once it's loaded." )
1267 #define CORK_TEXT N_("Pause on audio communication")
1268 #define CORK_LONGTEXT N_( \
1269 "If pending audio communication is detected, playback will be paused " \
1270 "automatically." )
1272 #define ML_TEXT N_("Use media library")
1273 #define ML_LONGTEXT N_( \
1274 "The media library is automatically saved and reloaded each time you " \
1275 "start VLC." )
1277 #define PLTREE_TEXT N_("Display playlist tree")
1278 #define PLTREE_LONGTEXT N_( \
1279 "The playlist can use a tree to categorize some items, like the " \
1280 "contents of a directory." )
1283 /*****************************************************************************
1284 * Hotkeys
1285 ****************************************************************************/
1287 // DEPRECATED
1288 #define HOTKEY_CAT_LONGTEXT N_( "These settings are the global VLC key " \
1289 "bindings, known as \"hotkeys\"." )
1291 static const int mouse_wheel_values[] = { -1, 0, 2, 3, };
1292 static const char *const mouse_wheel_texts[] = {
1293 N_("Ignore"), N_("Volume control"),
1294 N_("Position control"), N_("Position control reversed"),
1297 #define MOUSE_Y_WHEEL_MODE_TEXT N_("Mouse wheel vertical axis control")
1298 #define MOUSE_Y_WHEEL_MODE_LONGTEXT N_( \
1299 "The mouse wheel vertical (up/down) axis can control volume, " \
1300 "position or be ignored.")
1301 #define MOUSE_X_WHEEL_MODE_TEXT N_("Mouse wheel horizontal axis control")
1302 #define MOUSE_X_WHEEL_MODE_LONGTEXT N_( \
1303 "The mouse wheel horizontal (left/right) axis can control volume, " \
1304 "position or be ignored.")
1305 #define TOGGLE_FULLSCREEN_KEY_TEXT N_("Fullscreen")
1306 #define TOGGLE_FULLSCREEN_KEY_LONGTEXT N_("Select the hotkey to use to swap fullscreen state.")
1307 #define LEAVE_FULLSCREEN_KEY_TEXT N_("Exit fullscreen")
1308 #define LEAVE_FULLSCREEN_KEY_LONGTEXT N_("Select the hotkey to use to exit fullscreen state.")
1309 #define PLAY_PAUSE_KEY_TEXT N_("Play/Pause")
1310 #define PLAY_PAUSE_KEY_LONGTEXT N_("Select the hotkey to use to swap paused state.")
1311 #define PAUSE_KEY_TEXT N_("Pause only")
1312 #define PAUSE_KEY_LONGTEXT N_("Select the hotkey to use to pause.")
1313 #define PLAY_KEY_TEXT N_("Play only")
1314 #define PLAY_KEY_LONGTEXT N_("Select the hotkey to use to play.")
1315 #define FASTER_KEY_TEXT N_("Faster")
1316 #define FASTER_KEY_LONGTEXT N_("Select the hotkey to use for fast forward playback.")
1317 #define SLOWER_KEY_TEXT N_("Slower")
1318 #define SLOWER_KEY_LONGTEXT N_("Select the hotkey to use for slow motion playback.")
1319 #define RATE_NORMAL_KEY_TEXT N_("Normal rate")
1320 #define RATE_NORMAL_KEY_LONGTEXT N_("Select the hotkey to set the playback rate back to normal.")
1321 #define RATE_FASTER_FINE_KEY_TEXT N_("Faster (fine)")
1322 #define RATE_FASTER_FINE_KEY_LONGTEXT N_("Select the hotkey to use for fast forward playback.")
1323 #define RATE_SLOWER_FINE_KEY_TEXT N_("Slower (fine)")
1324 #define RATE_SLOWER_FINE_KEY_LONGTEXT N_("Select the hotkey to use for slow motion playback.")
1325 #define NEXT_KEY_TEXT N_("Next")
1326 #define NEXT_KEY_LONGTEXT N_("Select the hotkey to use to skip to the next item in the playlist.")
1327 #define PREV_KEY_TEXT N_("Previous")
1328 #define PREV_KEY_LONGTEXT N_("Select the hotkey to use to skip to the previous item in the playlist.")
1329 #define STOP_KEY_TEXT N_("Stop")
1330 #define STOP_KEY_LONGTEXT N_("Select the hotkey to stop playback.")
1331 #define POSITION_KEY_TEXT N_("Position")
1332 #define POSITION_KEY_LONGTEXT N_("Select the hotkey to display the position.")
1334 #define JBEXTRASHORT_KEY_TEXT N_("Very short backwards jump")
1335 #define JBEXTRASHORT_KEY_LONGTEXT \
1336 N_("Select the hotkey to make a very short backwards jump.")
1337 #define JBSHORT_KEY_TEXT N_("Short backwards jump")
1338 #define JBSHORT_KEY_LONGTEXT \
1339 N_("Select the hotkey to make a short backwards jump.")
1340 #define JBMEDIUM_KEY_TEXT N_("Medium backwards jump")
1341 #define JBMEDIUM_KEY_LONGTEXT \
1342 N_("Select the hotkey to make a medium backwards jump.")
1343 #define JBLONG_KEY_TEXT N_("Long backwards jump")
1344 #define JBLONG_KEY_LONGTEXT \
1345 N_("Select the hotkey to make a long backwards jump.")
1347 #define JFEXTRASHORT_KEY_TEXT N_("Very short forward jump")
1348 #define JFEXTRASHORT_KEY_LONGTEXT \
1349 N_("Select the hotkey to make a very short forward jump.")
1350 #define JFSHORT_KEY_TEXT N_("Short forward jump")
1351 #define JFSHORT_KEY_LONGTEXT \
1352 N_("Select the hotkey to make a short forward jump.")
1353 #define JFMEDIUM_KEY_TEXT N_("Medium forward jump")
1354 #define JFMEDIUM_KEY_LONGTEXT \
1355 N_("Select the hotkey to make a medium forward jump.")
1356 #define JFLONG_KEY_TEXT N_("Long forward jump")
1357 #define JFLONG_KEY_LONGTEXT \
1358 N_("Select the hotkey to make a long forward jump.")
1359 #define FRAME_NEXT_KEY_TEXT N_("Next frame")
1360 #define FRAME_NEXT_KEY_LONGTEXT \
1361 N_("Select the hotkey to got to the next video frame.")
1363 #define JIEXTRASHORT_TEXT N_("Very short jump length")
1364 #define JIEXTRASHORT_LONGTEXT N_("Very short jump length, in seconds.")
1365 #define JISHORT_TEXT N_("Short jump length")
1366 #define JISHORT_LONGTEXT N_("Short jump length, in seconds.")
1367 #define JIMEDIUM_TEXT N_("Medium jump length")
1368 #define JIMEDIUM_LONGTEXT N_("Medium jump length, in seconds.")
1369 #define JILONG_TEXT N_("Long jump length")
1370 #define JILONG_LONGTEXT N_("Long jump length, in seconds.")
1372 #define QUIT_KEY_TEXT N_("Quit")
1373 #define QUIT_KEY_LONGTEXT N_("Select the hotkey to quit the application.")
1374 #define NAV_UP_KEY_TEXT N_("Navigate up")
1375 #define NAV_UP_KEY_LONGTEXT N_("Select the key to move the selector up in DVD menus / Move viewpoint to up (pitch).")
1376 #define NAV_DOWN_KEY_TEXT N_("Navigate down")
1377 #define NAV_DOWN_KEY_LONGTEXT N_("Select the key to move the selector down in DVD menus / Move viewpoint to down (pitch).")
1378 #define NAV_LEFT_KEY_TEXT N_("Navigate left")
1379 #define NAV_LEFT_KEY_LONGTEXT N_("Select the key to move the selector left in DVD menus / Move viewpoint to left (yaw).")
1380 #define NAV_RIGHT_KEY_TEXT N_("Navigate right")
1381 #define NAV_RIGHT_KEY_LONGTEXT N_("Select the key to move the selector right in DVD menus / Move viewpoint to right (yaw).")
1382 #define NAV_ACTIVATE_KEY_TEXT N_("Activate")
1383 #define NAV_ACTIVATE_KEY_LONGTEXT N_("Select the key to activate selected item in DVD menus.")
1384 #define DISC_MENU_TEXT N_("Go to the DVD menu")
1385 #define DISC_MENU_LONGTEXT N_("Select the key to take you to the DVD menu")
1386 #define TITLE_PREV_TEXT N_("Select previous DVD title")
1387 #define TITLE_PREV_LONGTEXT N_("Select the key to choose the previous title from the DVD")
1388 #define TITLE_NEXT_TEXT N_("Select next DVD title")
1389 #define TITLE_NEXT_LONGTEXT N_("Select the key to choose the next title from the DVD")
1390 #define CHAPTER_PREV_TEXT N_("Select prev DVD chapter")
1391 #define CHAPTER_PREV_LONGTEXT N_("Select the key to choose the previous chapter from the DVD")
1392 #define CHAPTER_NEXT_TEXT N_("Select next DVD chapter")
1393 #define CHAPTER_NEXT_LONGTEXT N_("Select the key to choose the next chapter from the DVD")
1394 #define VOL_UP_KEY_TEXT N_("Volume up")
1395 #define VOL_UP_KEY_LONGTEXT N_("Select the key to increase audio volume.")
1396 #define VOL_DOWN_KEY_TEXT N_("Volume down")
1397 #define VOL_DOWN_KEY_LONGTEXT N_("Select the key to decrease audio volume.")
1398 #define VOL_MUTE_KEY_TEXT N_("Mute")
1399 #define VOL_MUTE_KEY_LONGTEXT N_("Select the key to mute audio.")
1400 #define SUBDELAY_UP_KEY_TEXT N_("Subtitle delay up")
1401 #define SUBDELAY_UP_KEY_LONGTEXT N_("Select the key to increase the subtitle delay.")
1402 #define SUBDELAY_DOWN_KEY_TEXT N_("Subtitle delay down")
1403 #define SUBDELAY_DOWN_KEY_LONGTEXT N_("Select the key to decrease the subtitle delay.")
1404 #define SUBTEXT_SCALE_KEY_TEXT N_("Reset subtitles text scale")
1405 #define SUBTEXT_SCALEDOWN_KEY_TEXT N_("Scale up subtitles text")
1406 #define SUBTEXT_SCALEUP_KEY_TEXT N_("Scale down subtitles text")
1407 #define SUBTEXT_SCALE_KEY_LONGTEXT N_("Select the key to change subtitles text scaling")
1408 #define SUBSYNC_MARKAUDIO_KEY_TEXT N_("Subtitle sync / bookmark audio timestamp")
1409 #define SUBSYNC_MARKAUDIO_KEY_LONGTEXT N_("Select the key to bookmark audio timestamp when syncing subtitles.")
1410 #define SUBSYNC_MARKSUB_KEY_TEXT N_("Subtitle sync / bookmark subtitle timestamp")
1411 #define SUBSYNC_MARKSUB_KEY_LONGTEXT N_("Select the key to bookmark subtitle timestamp when syncing subtitles.")
1412 #define SUBSYNC_APPLY_KEY_TEXT N_("Subtitle sync / synchronize audio & subtitle timestamps")
1413 #define SUBSYNC_APPLY_KEY_LONGTEXT N_("Select the key to synchronize bookmarked audio & subtitle timestamps.")
1414 #define SUBSYNC_RESET_KEY_TEXT N_("Subtitle sync / reset audio & subtitle synchronization")
1415 #define SUBSYNC_RESET_KEY_LONGTEXT N_("Select the key to reset synchronization of audio & subtitle timestamps.")
1416 #define SUBPOS_UP_KEY_TEXT N_("Subtitle position up")
1417 #define SUBPOS_UP_KEY_LONGTEXT N_("Select the key to move subtitles higher.")
1418 #define SUBPOS_DOWN_KEY_TEXT N_("Subtitle position down")
1419 #define SUBPOS_DOWN_KEY_LONGTEXT N_("Select the key to move subtitles lower.")
1420 #define AUDIODELAY_UP_KEY_TEXT N_("Audio delay up")
1421 #define AUDIODELAY_UP_KEY_LONGTEXT N_("Select the key to increase the audio delay.")
1422 #define AUDIODELAY_DOWN_KEY_TEXT N_("Audio delay down")
1423 #define AUDIODELAY_DOWN_KEY_LONGTEXT N_("Select the key to decrease the audio delay.")
1425 #define ZOOM_QUARTER_KEY_TEXT N_("1:4 Quarter")
1426 #define ZOOM_HALF_KEY_TEXT N_("1:2 Half")
1427 #define ZOOM_ORIGINAL_KEY_TEXT N_("1:1 Original")
1428 #define ZOOM_DOUBLE_KEY_TEXT N_("2:1 Double")
1430 #define PLAY_BOOKMARK1_KEY_TEXT N_("Play playlist bookmark 1")
1431 #define PLAY_BOOKMARK2_KEY_TEXT N_("Play playlist bookmark 2")
1432 #define PLAY_BOOKMARK3_KEY_TEXT N_("Play playlist bookmark 3")
1433 #define PLAY_BOOKMARK4_KEY_TEXT N_("Play playlist bookmark 4")
1434 #define PLAY_BOOKMARK5_KEY_TEXT N_("Play playlist bookmark 5")
1435 #define PLAY_BOOKMARK6_KEY_TEXT N_("Play playlist bookmark 6")
1436 #define PLAY_BOOKMARK7_KEY_TEXT N_("Play playlist bookmark 7")
1437 #define PLAY_BOOKMARK8_KEY_TEXT N_("Play playlist bookmark 8")
1438 #define PLAY_BOOKMARK9_KEY_TEXT N_("Play playlist bookmark 9")
1439 #define PLAY_BOOKMARK10_KEY_TEXT N_("Play playlist bookmark 10")
1440 #define PLAY_BOOKMARK_KEY_LONGTEXT N_("Select the key to play this bookmark.")
1441 #define SET_BOOKMARK1_KEY_TEXT N_("Set playlist bookmark 1")
1442 #define SET_BOOKMARK2_KEY_TEXT N_("Set playlist bookmark 2")
1443 #define SET_BOOKMARK3_KEY_TEXT N_("Set playlist bookmark 3")
1444 #define SET_BOOKMARK4_KEY_TEXT N_("Set playlist bookmark 4")
1445 #define SET_BOOKMARK5_KEY_TEXT N_("Set playlist bookmark 5")
1446 #define SET_BOOKMARK6_KEY_TEXT N_("Set playlist bookmark 6")
1447 #define SET_BOOKMARK7_KEY_TEXT N_("Set playlist bookmark 7")
1448 #define SET_BOOKMARK8_KEY_TEXT N_("Set playlist bookmark 8")
1449 #define SET_BOOKMARK9_KEY_TEXT N_("Set playlist bookmark 9")
1450 #define SET_BOOKMARK10_KEY_TEXT N_("Set playlist bookmark 10")
1451 #define SET_BOOKMARK_KEY_LONGTEXT N_("Select the key to set this playlist bookmark.")
1452 #define PLAY_CLEAR_KEY_TEXT N_("Clear the playlist")
1453 #define PLAY_CLEAR_KEY_LONGTEXT N_("Select the key to clear the current playlist.")
1455 #define BOOKMARK1_TEXT N_("Playlist bookmark 1")
1456 #define BOOKMARK2_TEXT N_("Playlist bookmark 2")
1457 #define BOOKMARK3_TEXT N_("Playlist bookmark 3")
1458 #define BOOKMARK4_TEXT N_("Playlist bookmark 4")
1459 #define BOOKMARK5_TEXT N_("Playlist bookmark 5")
1460 #define BOOKMARK6_TEXT N_("Playlist bookmark 6")
1461 #define BOOKMARK7_TEXT N_("Playlist bookmark 7")
1462 #define BOOKMARK8_TEXT N_("Playlist bookmark 8")
1463 #define BOOKMARK9_TEXT N_("Playlist bookmark 9")
1464 #define BOOKMARK10_TEXT N_("Playlist bookmark 10")
1465 #define BOOKMARK_LONGTEXT N_( \
1466 "This allows you to define playlist bookmarks.")
1468 #define AUDIO_TRACK_KEY_TEXT N_("Cycle audio track")
1469 #define AUDIO_TRACK_KEY_LONGTEXT N_("Cycle through the available audio tracks(languages).")
1470 #define SUBTITLE_REVERSE_TRACK_KEY_TEXT N_("Cycle subtitle track in reverse order")
1471 #define SUBTITLE_REVERSE_TRACK_KEY_LONGTEXT N_("Cycle through the available subtitle tracks in reverse order.")
1472 #define SUBTITLE_TRACK_KEY_TEXT N_("Cycle subtitle track")
1473 #define SUBTITLE_TRACK_KEY_LONGTEXT N_("Cycle through the available subtitle tracks.")
1474 #define SUBTITLE_TOGGLE_KEY_TEXT N_("Toggle subtitles")
1475 #define SUBTITLE_TOGGLE_KEY_LONGTEXT N_("Toggle subtitle track visibility.")
1476 #define SUBTITLE_CONTROL_SECONDARY_KEY_TEXT N_("Toggle secondary subtitle control")
1477 #define SUBTITLE_CONTROL_SECONDARY_KEY_LONGTEXT N_("Use original subtitle controls to manage secondary subtitles.")
1478 #define PROGRAM_SID_NEXT_KEY_TEXT N_("Cycle next program Service ID")
1479 #define PROGRAM_SID_NEXT_KEY_LONGTEXT N_("Cycle through the available next program Service IDs (SIDs).")
1480 #define PROGRAM_SID_PREV_KEY_TEXT N_("Cycle previous program Service ID")
1481 #define PROGRAM_SID_PREV_KEY_LONGTEXT N_("Cycle through the available previous program Service IDs (SIDs).")
1482 #define ASPECT_RATIO_KEY_TEXT N_("Cycle source aspect ratio")
1483 #define ASPECT_RATIO_KEY_LONGTEXT N_("Cycle through a predefined list of source aspect ratios.")
1484 #define CROP_KEY_TEXT N_("Cycle video crop")
1485 #define CROP_KEY_LONGTEXT N_("Cycle through a predefined list of crop formats.")
1486 #define TOGGLE_AUTOSCALE_KEY_TEXT N_("Toggle autoscaling")
1487 #define TOGGLE_AUTOSCALE_KEY_LONGTEXT N_("Activate or deactivate autoscaling.")
1488 #define SCALE_UP_KEY_TEXT N_("Increase scale factor")
1489 #define SCALE_UP_KEY_LONGTEXT SCALE_UP_KEY_TEXT
1490 #define SCALE_DOWN_KEY_TEXT N_("Decrease scale factor")
1491 #define SCALE_DOWN_KEY_LONGTEXT SCALE_DOWN_KEY_TEXT
1492 #define DEINTERLACE_KEY_TEXT N_("Toggle deinterlacing")
1493 #define DEINTERLACE_KEY_LONGTEXT N_("Activate or deactivate deinterlacing.")
1494 #define DEINTERLACE_MODE_KEY_TEXT N_("Cycle deinterlace modes")
1495 #define DEINTERLACE_MODE_KEY_LONGTEXT N_("Cycle through available deinterlace modes.")
1496 #define INTF_TOGGLE_FSC_KEY_TEXT N_("Show controller in fullscreen")
1497 #define INTF_BOSS_KEY_TEXT N_("Boss key")
1498 #define INTF_BOSS_KEY_LONGTEXT N_("Hide the interface and pause playback.")
1499 #define INTF_POPUP_MENU_KEY_TEXT N_("Context menu")
1500 #define INTF_POPUP_MENU_KEY_LONGTEXT N_("Show the contextual popup menu.")
1501 #define SNAP_KEY_TEXT N_("Take video snapshot")
1502 #define SNAP_KEY_LONGTEXT N_("Takes a video snapshot and writes it to disk.")
1504 #define RECORD_KEY_TEXT N_("Record")
1505 #define RECORD_KEY_LONGTEXT N_("Record access filter start/stop.")
1507 #define LOOP_KEY_TEXT N_("Normal/Loop/Repeat")
1508 #define LOOP_KEY_LONGTEXT N_("Toggle Normal/Loop/Repeat playlist modes")
1510 #define RANDOM_KEY_TEXT N_("Random")
1511 #define RANDOM_KEY_LONGTEXT N_("Toggle random playlist playback")
1513 #define ZOOM_KEY_TEXT N_("Zoom")
1514 #define ZOOM_KEY_LONGTEXT N_("Zoom")
1516 #define UNZOOM_KEY_TEXT N_("Un-Zoom")
1517 #define UNZOOM_KEY_LONGTEXT N_("Un-Zoom")
1519 #define CROP_TOP_KEY_TEXT N_("Crop one pixel from the top of the video")
1520 #define CROP_TOP_KEY_LONGTEXT N_("Crop one pixel from the top of the video")
1521 #define UNCROP_TOP_KEY_TEXT N_("Uncrop one pixel from the top of the video")
1522 #define UNCROP_TOP_KEY_LONGTEXT N_("Uncrop one pixel from the top of the video")
1524 #define CROP_LEFT_KEY_TEXT N_("Crop one pixel from the left of the video")
1525 #define CROP_LEFT_KEY_LONGTEXT N_("Crop one pixel from the left of the video")
1526 #define UNCROP_LEFT_KEY_TEXT N_("Uncrop one pixel from the left of the video")
1527 #define UNCROP_LEFT_KEY_LONGTEXT N_("Uncrop one pixel from the left of the video")
1529 #define CROP_BOTTOM_KEY_TEXT N_("Crop one pixel from the bottom of the video")
1530 #define CROP_BOTTOM_KEY_LONGTEXT N_("Crop one pixel from the bottom of the video")
1531 #define UNCROP_BOTTOM_KEY_TEXT N_("Uncrop one pixel from the bottom of the video")
1532 #define UNCROP_BOTTOM_KEY_LONGTEXT N_("Uncrop one pixel from the bottom of the video")
1534 #define CROP_RIGHT_KEY_TEXT N_("Crop one pixel from the right of the video")
1535 #define CROP_RIGHT_KEY_LONGTEXT N_("Crop one pixel from the right of the video")
1536 #define UNCROP_RIGHT_KEY_TEXT N_("Uncrop one pixel from the right of the video")
1537 #define UNCROP_RIGHT_KEY_LONGTEXT N_("Uncrop one pixel from the right of the video")
1539 /* 360° Viewpoint */
1540 #define VIEWPOINT_FOV_IN_KEY_TEXT N_("Shrink the viewpoint field of view (360°)")
1541 #define VIEWPOINT_FOV_OUT_KEY_TEXT N_("Expand the viewpoint field of view (360°)")
1542 #define VIEWPOINT_ROLL_CLOCK_KEY_TEXT N_("Roll the viewpoint clockwise (360°)")
1543 #define VIEWPOINT_ROLL_ANTICLOCK_KEY_TEXT N_("Roll the viewpoint anti-clockwise (360°)")
1545 #define WALLPAPER_KEY_TEXT N_("Toggle wallpaper mode in video output")
1546 #define WALLPAPER_KEY_LONGTEXT N_( \
1547 "Toggle wallpaper mode in video output." )
1549 #define AUDIO_DEVICE_CYCLE_KEY_TEXT N_("Cycle through audio devices")
1550 #define AUDIO_DEVICE_CYCLE_KEY_LONGTEXT N_("Cycle through available audio devices")
1553 * Quick usage guide for the configuration options:
1555 * add_category_hint(N_(text), N_(longtext))
1556 * add_usage_hint( N_(text), b_advanced_option )
1557 * add_string( option_name, value, N_(text), N_(longtext),
1558 b_advanced_option )
1559 * add_loadfile( option_name, psz_value, N_(text), N_(longtext) )
1560 * add_savefile( option_name, psz_value, N_(text), N_(longtext) )
1561 * add_module( option_name, psz_value, i_capability,
1562 * N_(text), N_(longtext) )
1563 * add_integer( option_name, i_value, N_(text), N_(longtext),
1564 * b_advanced_option )
1565 * add_bool( option_name, b_value, N_(text), N_(longtext),
1566 * b_advanced_option )
1569 vlc_module_begin ()
1570 /* Audio options */
1571 set_category( CAT_AUDIO )
1572 set_subcategory( SUBCAT_AUDIO_GENERAL )
1573 add_category_hint(N_("Audio"), AOUT_CAT_LONGTEXT)
1575 add_bool( "audio", 1, AUDIO_TEXT, AUDIO_LONGTEXT, false )
1576 change_safe ()
1577 add_float( "gain", 1., GAIN_TEXT, GAIN_LONGTEXT, true )
1578 change_float_range( 0., 8. )
1579 add_obsolete_integer( "volume" ) /* since 2.1.0 */
1580 add_float( "volume-step", AOUT_VOLUME_STEP, VOLUME_STEP_TEXT,
1581 VOLUME_STEP_LONGTEXT, true )
1582 change_float_range( 1., AOUT_VOLUME_DEFAULT )
1583 add_bool( "volume-save", true, VOLUME_SAVE_TEXT, VOLUME_SAVE_TEXT, true )
1584 add_obsolete_integer( "aout-rate" ) /* since 2.0.0 */
1585 add_obsolete_bool( "hq-resampling" ) /* since 1.1.8 */
1586 #if defined(__ANDROID__) || defined(__APPLE__) || defined(_WIN32)
1587 add_bool( "spdif", false, SPDIF_TEXT, SPDIF_LONGTEXT, true )
1588 #else
1589 add_obsolete_bool("spdif") /* since 4.0.0 */
1590 #endif
1591 add_integer( "force-dolby-surround", 0, FORCE_DOLBY_TEXT,
1592 FORCE_DOLBY_LONGTEXT, false )
1593 change_integer_list( pi_force_dolby_values, ppsz_force_dolby_descriptions )
1594 add_integer( "stereo-mode", 0, STEREO_MODE_TEXT, STEREO_MODE_TEXT, true )
1595 change_integer_list( pi_stereo_mode_values, ppsz_stereo_mode_texts )
1596 add_integer( "audio-desync", 0, DESYNC_TEXT,
1597 DESYNC_LONGTEXT, true )
1598 change_safe ()
1600 /* FIXME TODO create a subcat replay gain ? */
1601 add_string( "audio-replay-gain-mode", ppsz_replay_gain_mode[0], AUDIO_REPLAY_GAIN_MODE_TEXT,
1602 AUDIO_REPLAY_GAIN_MODE_LONGTEXT, false )
1603 change_string_list( ppsz_replay_gain_mode, ppsz_replay_gain_mode_text )
1604 add_float( "audio-replay-gain-preamp", 0.0,
1605 AUDIO_REPLAY_GAIN_PREAMP_TEXT, AUDIO_REPLAY_GAIN_PREAMP_LONGTEXT, false )
1606 add_float( "audio-replay-gain-default", -7.0,
1607 AUDIO_REPLAY_GAIN_DEFAULT_TEXT, AUDIO_REPLAY_GAIN_DEFAULT_LONGTEXT, false )
1608 add_bool( "audio-replay-gain-peak-protection", true,
1609 AUDIO_REPLAY_GAIN_PEAK_PROTECTION_TEXT, AUDIO_REPLAY_GAIN_PEAK_PROTECTION_LONGTEXT, true )
1611 add_bool( "audio-time-stretch", true,
1612 AUDIO_TIME_STRETCH_TEXT, AUDIO_TIME_STRETCH_LONGTEXT, false )
1614 set_subcategory( SUBCAT_AUDIO_AOUT )
1615 add_module("aout", "audio output", NULL, AOUT_TEXT, AOUT_LONGTEXT)
1616 change_short('A')
1617 add_string( "role", "video", ROLE_TEXT, ROLE_LONGTEXT, true )
1618 change_string_list( ppsz_roles, ppsz_roles_text )
1620 set_subcategory( SUBCAT_AUDIO_AFILTER )
1621 add_module_list("audio-filter", "audio filter", NULL,
1622 AUDIO_FILTER_TEXT, AUDIO_FILTER_LONGTEXT)
1623 set_subcategory( SUBCAT_AUDIO_VISUAL )
1624 add_module("audio-visual", "visualization", "none",
1625 AUDIO_VISUAL_TEXT, AUDIO_VISUAL_LONGTEXT)
1627 set_subcategory( SUBCAT_AUDIO_RESAMPLER )
1628 add_module("audio-resampler", "audio resampler", NULL,
1629 AUDIO_RESAMPLER_TEXT, AUDIO_RESAMPLER_LONGTEXT)
1632 /* Video options */
1633 set_category( CAT_VIDEO )
1634 set_subcategory( SUBCAT_VIDEO_GENERAL )
1635 add_category_hint(N_("Video"), VOUT_CAT_LONGTEXT)
1637 add_bool( "video", 1, VIDEO_TEXT, VIDEO_LONGTEXT, true )
1638 change_safe ()
1639 add_bool( "grayscale", 0, GRAYSCALE_TEXT,
1640 GRAYSCALE_LONGTEXT, true )
1641 add_bool( "fullscreen", false, FULLSCREEN_TEXT, FULLSCREEN_LONGTEXT, false )
1642 change_short('f')
1643 change_safe ()
1644 add_bool( "embedded-video", 1, EMBEDDED_TEXT, EMBEDDED_LONGTEXT,
1645 true )
1646 add_bool( "xlib", true, "", "", true )
1647 change_private ()
1648 add_bool( "drop-late-frames", 1, DROP_LATE_FRAMES_TEXT,
1649 DROP_LATE_FRAMES_LONGTEXT, true )
1650 /* Used in vout_synchro */
1651 add_bool( "skip-frames", 1, SKIP_FRAMES_TEXT,
1652 SKIP_FRAMES_LONGTEXT, true )
1653 add_bool( "quiet-synchro", 0, QUIET_SYNCHRO_TEXT,
1654 QUIET_SYNCHRO_LONGTEXT, true )
1655 add_bool( "keyboard-events", true, KEYBOARD_EVENTS_TEXT,
1656 KEYBOARD_EVENTS_LONGTEXT, true )
1657 add_bool( "mouse-events", true, MOUSE_EVENTS_TEXT,
1658 MOUSE_EVENTS_LONGTEXT, true )
1659 add_obsolete_integer( "vout-event" ) /* deprecated since 1.1.0 */
1660 add_obsolete_integer( "x11-event" ) /* renamed since 1.0.0 */
1661 add_bool( "video-on-top", 0, VIDEO_ON_TOP_TEXT,
1662 VIDEO_ON_TOP_LONGTEXT, false )
1663 add_bool( "video-wallpaper", false, WALLPAPER_TEXT,
1664 WALLPAPER_LONGTEXT, false )
1665 add_integer("disable-screensaver", 1, SS_TEXT, SS_LONGTEXT, true)
1666 change_integer_list(screensaver_values, screensaver_texts)
1668 add_bool( "video-title-show", 1, VIDEO_TITLE_SHOW_TEXT,
1669 VIDEO_TITLE_SHOW_LONGTEXT, false )
1670 change_safe()
1671 add_integer( "video-title-timeout", 5000, VIDEO_TITLE_TIMEOUT_TEXT,
1672 VIDEO_TITLE_TIMEOUT_LONGTEXT, false )
1673 change_safe()
1674 add_integer( "video-title-position", 8, VIDEO_TITLE_POSITION_TEXT,
1675 VIDEO_TITLE_POSITION_LONGTEXT, false )
1676 change_safe()
1677 change_integer_list( pi_pos_values, ppsz_pos_descriptions )
1678 // autohide after 1 second
1679 add_integer( "mouse-hide-timeout", 1000, MOUSE_HIDE_TIMEOUT_TEXT,
1680 MOUSE_HIDE_TIMEOUT_LONGTEXT, false )
1681 set_section( N_("Snapshot") , NULL )
1682 add_directory("snapshot-path", NULL, SNAP_PATH_TEXT, SNAP_PATH_LONGTEXT)
1683 add_string( "snapshot-prefix", "vlcsnap-", SNAP_PREFIX_TEXT,
1684 SNAP_PREFIX_LONGTEXT, false )
1685 add_string( "snapshot-format", "png", SNAP_FORMAT_TEXT,
1686 SNAP_FORMAT_LONGTEXT, false )
1687 change_string_list( ppsz_snap_formats, ppsz_snap_formats )
1688 add_bool( "snapshot-preview", true, SNAP_PREVIEW_TEXT,
1689 SNAP_PREVIEW_LONGTEXT, false )
1690 add_bool( "snapshot-sequential", false, SNAP_SEQUENTIAL_TEXT,
1691 SNAP_SEQUENTIAL_LONGTEXT, false )
1692 add_integer( "snapshot-width", -1, SNAP_WIDTH_TEXT,
1693 SNAP_WIDTH_LONGTEXT, true )
1694 add_integer( "snapshot-height", -1, SNAP_HEIGHT_TEXT,
1695 SNAP_HEIGHT_LONGTEXT, true )
1697 set_section( N_("Window properties" ), NULL )
1698 add_integer( "width", -1, WIDTH_TEXT, WIDTH_LONGTEXT, true )
1699 change_safe ()
1700 add_integer( "height", -1, HEIGHT_TEXT, HEIGHT_LONGTEXT, true )
1701 change_safe ()
1702 #if defined(__APPLE__) || defined(_WIN32)
1703 add_integer( "video-x", 0, VIDEOX_TEXT, VIDEOX_LONGTEXT, true )
1704 change_safe ()
1705 add_integer( "video-y", 0, VIDEOY_TEXT, VIDEOY_LONGTEXT, true )
1706 change_safe ()
1707 #endif
1708 add_string( "crop", NULL, CROP_TEXT, CROP_LONGTEXT, false )
1709 change_safe ()
1710 add_string( "custom-crop-ratios", NULL, CUSTOM_CROP_RATIOS_TEXT,
1711 CUSTOM_CROP_RATIOS_LONGTEXT, false )
1712 add_string( "aspect-ratio", NULL,
1713 ASPECT_RATIO_TEXT, ASPECT_RATIO_LONGTEXT, false )
1714 change_safe ()
1715 add_bool( "autoscale", true, AUTOSCALE_TEXT, AUTOSCALE_LONGTEXT, false )
1716 change_safe ()
1717 add_obsolete_float( "scale" ) /* since 3.0.0 */
1718 add_string( "monitor-par", NULL,
1719 MASPECT_RATIO_TEXT, MASPECT_RATIO_LONGTEXT, true )
1720 add_string( "custom-aspect-ratios", NULL, CUSTOM_ASPECT_RATIOS_TEXT,
1721 CUSTOM_ASPECT_RATIOS_LONGTEXT, false )
1722 add_bool( "hdtv-fix", 1, HDTV_FIX_TEXT, HDTV_FIX_LONGTEXT, true )
1723 add_bool( "video-deco", 1, VIDEO_DECO_TEXT,
1724 VIDEO_DECO_LONGTEXT, true )
1725 add_string( "video-title", NULL, VIDEO_TITLE_TEXT,
1726 VIDEO_TITLE_LONGTEXT, true )
1727 add_integer( "align", 0, ALIGN_TEXT, ALIGN_LONGTEXT, true )
1728 change_integer_list( pi_align_values, ppsz_align_descriptions )
1729 add_float( "zoom", 1., ZOOM_TEXT, ZOOM_LONGTEXT, true )
1730 change_safe()
1731 add_integer( "deinterlace", -1,
1732 DEINTERLACE_TEXT, DEINTERLACE_LONGTEXT, false )
1733 change_integer_list( pi_deinterlace, ppsz_deinterlace_text )
1734 change_safe()
1735 add_string( "deinterlace-mode", "auto",
1736 DEINTERLACE_MODE_TEXT, DEINTERLACE_MODE_LONGTEXT, false )
1737 change_string_list( ppsz_deinterlace_mode, ppsz_deinterlace_mode_text )
1738 change_safe()
1740 set_subcategory( SUBCAT_VIDEO_VOUT )
1741 add_module("vout", "vout display", NULL, VOUT_TEXT, VOUT_LONGTEXT)
1742 change_short('V')
1744 set_subcategory( SUBCAT_VIDEO_VFILTER )
1745 add_module_list("video-filter", "video filter", NULL,
1746 VIDEO_FILTER_TEXT, VIDEO_FILTER_LONGTEXT)
1748 #if 0
1749 add_string( "pixel-ratio", "1", PIXEL_RATIO_TEXT, PIXEL_RATIO_TEXT )
1750 #endif
1752 /* Subpictures options */
1753 set_subcategory( SUBCAT_VIDEO_SUBPIC )
1754 set_section( N_("On Screen Display") , NULL )
1755 add_category_hint(N_("Subpictures"), SUB_CAT_LONGTEXT)
1757 add_bool( "spu", 1, SPU_TEXT, SPU_LONGTEXT, false )
1758 change_safe ()
1759 add_bool( "osd", 1, OSD_TEXT, OSD_LONGTEXT, false )
1760 add_module("text-renderer", "text renderer", NULL,
1761 TEXTRENDERER_TEXT, TEXTRENDERER_LONGTEXT)
1763 set_section( N_("Subtitles") , NULL )
1764 add_float( "sub-fps", 0.0, SUB_FPS_TEXT, SUB_FPS_LONGTEXT, false )
1765 add_integer( "sub-delay", 0, SUB_DELAY_TEXT, SUB_DELAY_LONGTEXT, false )
1766 add_loadfile("sub-file", NULL, SUB_FILE_TEXT, SUB_FILE_LONGTEXT)
1767 change_safe()
1768 add_bool( "sub-autodetect-file", true,
1769 SUB_AUTO_TEXT, SUB_AUTO_LONGTEXT, false )
1770 add_integer( "sub-autodetect-fuzzy", 3,
1771 SUB_FUZZY_TEXT, SUB_FUZZY_LONGTEXT, true )
1772 #if defined( _WIN32 ) || defined( __OS2__ )
1773 # define SUB_PATH ".\\subtitles, .\\subs"
1774 #else
1775 # define SUB_PATH "./Subtitles, ./subtitles, ./Subs, ./subs"
1776 #endif
1777 add_string( "sub-autodetect-path", SUB_PATH,
1778 SUB_PATH_TEXT, SUB_PATH_LONGTEXT, true )
1779 add_integer( "sub-margin", 0, SUB_MARGIN_TEXT,
1780 SUB_MARGIN_LONGTEXT, true )
1781 add_integer_with_range( "sub-text-scale", 100, 10, 500,
1782 SUB_TEXT_SCALE_TEXT, SUB_TEXT_SCALE_LONGTEXT, false )
1783 change_volatile ()
1784 set_section( N_( "Overlays" ) , NULL )
1785 add_module_list("sub-source", "sub source", NULL,
1786 SUB_SOURCE_TEXT, SUB_SOURCE_LONGTEXT)
1787 add_module_list("sub-filter", "sub filter", NULL,
1788 SUB_FILTER_TEXT, SUB_FILTER_LONGTEXT)
1790 set_section( N_( "Multiple Subtitles" ) , NULL )
1791 add_integer( "secondary-sub-alignment", -1, SECONDARY_SUB_POSITION_TEXT,
1792 SECONDARY_SUB_POSITION_LONGTEXT, false )
1793 change_integer_list( pi_sub_align_values, ppsz_sub_align_descriptions )
1794 /* Push the secondary subtitles up a bit so they won't overlap with
1795 the primary subtitles using the default settings.*/
1796 add_integer( "secondary-sub-margin", 100, SECONDARY_SUB_MARGIN_TEXT,
1797 SECONDARY_SUB_MARGIN_LONGTEXT, true )
1799 /* Input options */
1800 set_category( CAT_INPUT )
1801 set_subcategory( SUBCAT_INPUT_GENERAL )
1803 set_section( N_( "Track settings" ), NULL )
1804 add_integer( "program", 0,
1805 INPUT_PROGRAM_TEXT, INPUT_PROGRAM_LONGTEXT, true )
1806 change_safe ()
1807 add_string( "programs", "",
1808 INPUT_PROGRAMS_TEXT, INPUT_PROGRAMS_LONGTEXT, true )
1809 change_safe ()
1810 add_integer( "video-track", -1,
1811 INPUT_VIDEOTRACK_TEXT, INPUT_VIDEOTRACK_LONGTEXT, true )
1812 change_safe ()
1813 add_integer( "audio-track", -1,
1814 INPUT_AUDIOTRACK_TEXT, INPUT_AUDIOTRACK_LONGTEXT, true )
1815 change_safe ()
1816 add_integer( "sub-track", -1,
1817 INPUT_SUBTRACK_TEXT, INPUT_SUBTRACK_LONGTEXT, true )
1818 change_safe ()
1819 add_string( "audio-language", "",
1820 INPUT_AUDIOTRACK_LANG_TEXT, INPUT_AUDIOTRACK_LANG_LONGTEXT,
1821 false )
1822 change_safe ()
1823 add_string( "sub-language", "",
1824 INPUT_SUBTRACK_LANG_TEXT, INPUT_SUBTRACK_LANG_LONGTEXT,
1825 false )
1826 change_safe ()
1827 add_string( "menu-language", "",
1828 INPUT_MENUTRACK_LANG_TEXT, INPUT_MENUTRACK_LANG_LONGTEXT,
1829 false )
1830 change_safe ()
1831 add_integer( "video-track-id", -1, INPUT_VIDEOTRACK_ID_TEXT,
1832 INPUT_VIDEOTRACK_ID_LONGTEXT, true )
1833 change_safe ()
1834 add_integer( "audio-track-id", -1, INPUT_AUDIOTRACK_ID_TEXT,
1835 INPUT_AUDIOTRACK_ID_LONGTEXT, true )
1836 change_safe ()
1837 add_integer( "sub-track-id", -1,
1838 INPUT_SUBTRACK_ID_TEXT, INPUT_SUBTRACK_ID_LONGTEXT, true )
1839 change_safe ()
1840 add_integer( "captions", 608,
1841 INPUT_CAPTIONS_TEXT, INPUT_CAPTIONS_TEXT, true )
1842 change_integer_list( pi_captions, ppsz_captions )
1843 change_safe ()
1844 add_integer( "preferred-resolution", -1, INPUT_PREFERREDRESOLUTION_TEXT,
1845 INPUT_PREFERREDRESOLUTION_LONGTEXT, false )
1846 change_safe ()
1847 change_integer_list( pi_prefres, ppsz_prefres )
1848 add_bool( "low-delay", 0, INPUT_LOWDELAY_TEXT,
1849 INPUT_LOWDELAY_LONGTEXT, true )
1850 change_safe ()
1852 set_section( N_( "Playback control" ) , NULL)
1853 add_integer( "input-repeat", 0,
1854 INPUT_REPEAT_TEXT, INPUT_REPEAT_LONGTEXT, false )
1855 change_integer_range( 0, 65535 )
1856 change_safe ()
1857 add_float( "start-time", 0,
1858 START_TIME_TEXT, START_TIME_LONGTEXT, true )
1859 change_safe ()
1860 add_float( "stop-time", 0,
1861 STOP_TIME_TEXT, STOP_TIME_LONGTEXT, true )
1862 change_safe ()
1863 add_float( "run-time", 0,
1864 RUN_TIME_TEXT, RUN_TIME_LONGTEXT, true )
1865 change_safe ()
1866 add_bool( "input-fast-seek", false,
1867 INPUT_FAST_SEEK_TEXT, INPUT_FAST_SEEK_LONGTEXT, false )
1868 change_safe ()
1869 add_float( "rate", 1.,
1870 INPUT_RATE_TEXT, INPUT_RATE_LONGTEXT, false )
1872 add_string( "input-list", NULL,
1873 INPUT_LIST_TEXT, INPUT_LIST_LONGTEXT, true )
1874 add_string( "input-slave", NULL,
1875 INPUT_SLAVE_TEXT, INPUT_SLAVE_LONGTEXT, true )
1877 add_string( "bookmarks", NULL,
1878 BOOKMARKS_TEXT, BOOKMARKS_LONGTEXT, true )
1879 change_safe ()
1881 set_section( N_( "Default devices") , NULL )
1883 add_loadfile("dvd", DVD_DEVICE, DVD_DEV_TEXT, DVD_DEV_LONGTEXT)
1884 add_loadfile("vcd", VCD_DEVICE, VCD_DEV_TEXT, VCD_DEV_LONGTEXT)
1886 set_section( N_( "Network settings" ), NULL )
1888 add_integer( "mtu", MTU_DEFAULT, MTU_TEXT, MTU_LONGTEXT, true )
1889 add_obsolete_bool( "ipv6" ) /* since 2.0.0 */
1890 add_obsolete_bool( "ipv4" ) /* since 2.0.0 */
1891 add_integer( "ipv4-timeout", 5 * 1000, TIMEOUT_TEXT,
1892 TIMEOUT_LONGTEXT, true )
1893 change_integer_range( 0, INT_MAX )
1895 add_string( "http-host", NULL, HTTP_HOST_TEXT, HOST_LONGTEXT, true )
1896 add_integer( "http-port", 8080, HTTP_PORT_TEXT, HTTP_PORT_LONGTEXT, true )
1897 change_integer_range( 1, 65535 )
1898 add_integer( "https-port", 8443, HTTPS_PORT_TEXT, HTTPS_PORT_LONGTEXT, true )
1899 change_integer_range( 1, 65535 )
1900 add_string( "rtsp-host", NULL, RTSP_HOST_TEXT, RTSP_HOST_LONGTEXT, true )
1901 add_integer( "rtsp-port", 554, RTSP_PORT_TEXT, RTSP_PORT_LONGTEXT, true )
1902 change_integer_range( 1, 65535 )
1903 add_loadfile("http-cert", NULL, HTTP_CERT_TEXT, CERT_LONGTEXT)
1904 add_obsolete_string( "sout-http-cert" ) /* since 2.0.0 */
1905 add_loadfile("http-key", NULL, HTTP_KEY_TEXT, KEY_LONGTEXT)
1906 add_obsolete_string( "sout-http-key" ) /* since 2.0.0 */
1907 add_obsolete_string( "http-ca" ) /* since 3.0.0 */
1908 add_obsolete_string( "sout-http-ca" ) /* since 2.0.0 */
1909 add_obsolete_string( "http-crl" ) /* since 3.0.0 */
1910 add_obsolete_string( "sout-http-crl" ) /* since 2.0.0 */
1912 #ifdef _WIN32
1913 add_string( "http-proxy", NULL, PROXY_TEXT, PROXY_LONGTEXT,
1914 false )
1915 add_password("http-proxy-pwd", NULL, PROXY_PASS_TEXT, PROXY_PASS_LONGTEXT)
1916 #else
1917 add_obsolete_string( "http-proxy" )
1918 add_obsolete_string( "http-proxy-pwd" )
1920 #endif
1921 add_obsolete_bool( "http-use-IE-proxy" )
1923 set_section( N_( "Socks proxy") , NULL )
1924 add_string( "socks", NULL,
1925 SOCKS_SERVER_TEXT, SOCKS_SERVER_LONGTEXT, true )
1926 add_string( "socks-user", NULL,
1927 SOCKS_USER_TEXT, SOCKS_USER_LONGTEXT, true )
1928 add_string( "socks-pwd", NULL,
1929 SOCKS_PASS_TEXT, SOCKS_PASS_LONGTEXT, true )
1932 set_section( N_("Metadata" ) , NULL )
1933 add_string( "meta-title", NULL, META_TITLE_TEXT,
1934 META_TITLE_LONGTEXT, true )
1935 change_safe()
1936 add_string( "meta-author", NULL, META_AUTHOR_TEXT,
1937 META_AUTHOR_LONGTEXT, true )
1938 change_safe()
1939 add_string( "meta-artist", NULL, META_ARTIST_TEXT,
1940 META_ARTIST_LONGTEXT, true )
1941 change_safe()
1942 add_string( "meta-genre", NULL, META_GENRE_TEXT,
1943 META_GENRE_LONGTEXT, true )
1944 change_safe()
1945 add_string( "meta-copyright", NULL, META_CPYR_TEXT,
1946 META_CPYR_LONGTEXT, true )
1947 change_safe()
1948 add_string( "meta-description", NULL, META_DESCR_TEXT,
1949 META_DESCR_LONGTEXT, true )
1950 change_safe()
1951 add_string( "meta-date", NULL, META_DATE_TEXT,
1952 META_DATE_LONGTEXT, true )
1953 change_safe()
1954 add_string( "meta-url", NULL, META_URL_TEXT,
1955 META_URL_LONGTEXT, true )
1956 change_safe()
1958 set_section( N_( "Advanced" ), NULL )
1960 add_integer( "file-caching", MS_FROM_VLC_TICK(DEFAULT_PTS_DELAY),
1961 CACHING_TEXT, CACHING_LONGTEXT, true )
1962 change_integer_range( 0, 60000 )
1963 change_safe()
1964 add_obsolete_integer( "vdr-caching" ) /* 2.0.0 */
1965 add_integer( "live-caching", MS_FROM_VLC_TICK(DEFAULT_PTS_DELAY),
1966 CAPTURE_CACHING_TEXT, CAPTURE_CACHING_LONGTEXT, true )
1967 change_integer_range( 0, 60000 )
1968 change_safe()
1969 add_obsolete_integer( "alsa-caching" ) /* 2.0.0 */
1970 add_obsolete_integer( "dshow-caching" ) /* 2.0.0 */
1971 add_obsolete_integer( "dv-caching" ) /* 2.0.0 */
1972 add_obsolete_integer( "dvb-caching" ) /* 2.0.0 */
1973 add_obsolete_integer( "eyetv-caching" ) /* 2.0.0 */
1974 add_obsolete_integer( "jack-input-caching" ) /* 2.0.0 */
1975 add_obsolete_integer( "linsys-hdsdi-caching" ) /* 2.0.0 */
1976 add_obsolete_integer( "linsys-sdi-caching" ) /* 2.0.0 */
1977 add_obsolete_integer( "oss-caching" ) /* 2.0.0 */
1978 add_obsolete_integer( "screen-caching" ) /* 2.0.0 */
1979 add_obsolete_integer( "v4l2-caching" ) /* 2.0.0 */
1980 add_integer( "disc-caching", MS_FROM_VLC_TICK(DEFAULT_PTS_DELAY),
1981 DISC_CACHING_TEXT, DISC_CACHING_LONGTEXT, true )
1982 change_integer_range( 0, 60000 )
1983 change_safe()
1984 add_obsolete_integer( "bd-caching" ) /* 2.0.0 */
1985 add_obsolete_integer( "bluray-caching" ) /* 2.0.0 */
1986 add_obsolete_integer( "cdda-caching" ) /* 2.0.0 */
1987 add_obsolete_integer( "dvdnav-caching" ) /* 2.0.0 */
1988 add_obsolete_integer( "dvdread-caching" ) /* 2.0.0 */
1989 add_obsolete_integer( "vcd-caching" ) /* 2.0.0 */
1990 add_integer( "network-caching", 1000,
1991 NETWORK_CACHING_TEXT, NETWORK_CACHING_LONGTEXT, true )
1992 change_integer_range( 0, 60000 )
1993 change_safe()
1994 add_obsolete_integer( "ftp-caching" ) /* 2.0.0 */
1995 add_obsolete_integer( "http-caching" ) /* 2.0.0 */
1996 add_obsolete_integer( "mms-caching" ) /* 2.0.0 */
1997 add_obsolete_integer( "realrtsp-caching" ) /* 2.0.0 */
1998 add_obsolete_integer( "rtp-caching" ) /* 2.0.0 */
1999 add_obsolete_integer( "rtsp-caching" ) /* 2.0.0 */
2000 add_obsolete_integer( "sftp-caching" ) /* 2.0.0 */
2001 add_obsolete_integer( "smb-caching" ) /* 2.0.0 */
2002 add_obsolete_integer( "tcp-caching" ) /* 2.0.0 */
2003 add_obsolete_integer( "udp-caching" ) /* 2.0.0 */
2005 add_integer( "cr-average", 40, CR_AVERAGE_TEXT,
2006 CR_AVERAGE_LONGTEXT, true )
2007 add_integer( "clock-synchro", -1, CLOCK_SYNCHRO_TEXT,
2008 CLOCK_SYNCHRO_LONGTEXT, true )
2009 change_integer_list( pi_clock_values, ppsz_clock_descriptions )
2010 add_integer( "clock-jitter", 5000, CLOCK_JITTER_TEXT,
2011 CLOCK_JITTER_LONGTEXT, true )
2012 change_safe()
2013 add_integer( "clock-master", VLC_CLOCK_MASTER_DEFAULT,
2014 CLOCK_MASTER_TEXT, NULL, true )
2015 change_integer_list( pi_clock_master_values, ppsz_clock_master_descriptions )
2017 add_bool( "network-synchronisation", false, NETSYNC_TEXT,
2018 NETSYNC_LONGTEXT, true )
2020 add_directory("input-record-path", NULL,
2021 INPUT_RECORD_PATH_TEXT, INPUT_RECORD_PATH_LONGTEXT)
2022 add_bool( "input-record-native", true, INPUT_RECORD_NATIVE_TEXT,
2023 INPUT_RECORD_NATIVE_LONGTEXT, true )
2025 add_directory("input-timeshift-path", NULL,
2026 INPUT_TIMESHIFT_PATH_TEXT, INPUT_TIMESHIFT_PATH_LONGTEXT)
2027 add_integer( "input-timeshift-granularity", -1, INPUT_TIMESHIFT_GRANULARITY_TEXT,
2028 INPUT_TIMESHIFT_GRANULARITY_LONGTEXT, true )
2030 add_string( "input-title-format", "$Z", INPUT_TITLE_FORMAT_TEXT, INPUT_TITLE_FORMAT_LONGTEXT, false );
2032 add_bool( "lua", true, INPUT_LUA_TEXT, INPUT_LUA_TEXT, true );
2034 /* Decoder options */
2035 set_subcategory( SUBCAT_INPUT_VCODEC )
2036 add_category_hint(N_("Decoders"), CODEC_CAT_LONGTEXT)
2037 add_string( "codec", NULL, CODEC_TEXT,
2038 CODEC_LONGTEXT, true )
2039 add_string( "encoder", NULL, ENCODER_TEXT,
2040 ENCODER_LONGTEXT, true )
2041 add_string( "dec-dev", NULL, DEC_DEV_TEXT, NULL, true )
2043 set_subcategory( SUBCAT_INPUT_ACCESS )
2044 add_category_hint(N_("Input"), INPUT_CAT_LONGTEXT)
2045 add_module("access", "access", NULL, ACCESS_TEXT, ACCESS_LONGTEXT)
2047 set_subcategory( SUBCAT_INPUT_DEMUX )
2048 add_module("demux", "demux", "any", DEMUX_TEXT, DEMUX_LONGTEXT)
2049 set_subcategory( SUBCAT_INPUT_ACODEC )
2050 set_subcategory( SUBCAT_INPUT_SCODEC )
2051 add_obsolete_bool( "prefer-system-codecs" )
2053 set_subcategory( SUBCAT_INPUT_STREAM_FILTER )
2054 add_module_list("stream-filter", "stream_filter", NULL,
2055 STREAM_FILTER_TEXT, STREAM_FILTER_LONGTEXT)
2057 add_string( "demux-filter", NULL, DEMUX_FILTER_TEXT, DEMUX_FILTER_LONGTEXT, true )
2059 /* Stream output options */
2060 set_category( CAT_SOUT )
2061 set_subcategory( SUBCAT_SOUT_GENERAL )
2062 add_category_hint(N_("Stream output"), SOUT_CAT_LONGTEXT)
2064 add_string( "sout", NULL, SOUT_TEXT, SOUT_LONGTEXT, true )
2065 add_bool( "sout-display", false, SOUT_DISPLAY_TEXT,
2066 SOUT_DISPLAY_LONGTEXT, true )
2067 add_bool( "sout-keep", false, SOUT_KEEP_TEXT,
2068 SOUT_KEEP_LONGTEXT, true )
2069 add_bool( "sout-all", true, SOUT_ALL_TEXT,
2070 SOUT_ALL_LONGTEXT, true )
2071 add_bool( "sout-audio", 1, SOUT_AUDIO_TEXT,
2072 SOUT_AUDIO_LONGTEXT, true )
2073 add_bool( "sout-video", 1, SOUT_VIDEO_TEXT,
2074 SOUT_VIDEO_LONGTEXT, true )
2075 add_bool( "sout-spu", 1, SOUT_SPU_TEXT,
2076 SOUT_SPU_LONGTEXT, true )
2077 add_integer( "sout-mux-caching", 1500, SOUT_MUX_CACHING_TEXT,
2078 SOUT_MUX_CACHING_LONGTEXT, true )
2080 set_section( N_("VLM"), NULL )
2081 add_loadfile("vlm-conf", NULL, VLM_CONF_TEXT, VLM_CONF_LONGTEXT)
2084 set_subcategory( SUBCAT_SOUT_STREAM )
2085 add_integer( "sap-interval", 5, ANN_SAPINTV_TEXT,
2086 ANN_SAPINTV_LONGTEXT, true )
2088 set_subcategory( SUBCAT_SOUT_MUX )
2089 add_module("mux", "sout mux", NULL, MUX_TEXT, MUX_LONGTEXT)
2090 set_subcategory( SUBCAT_SOUT_ACO )
2091 add_module("access_output", "sout access", NULL,
2092 ACCESS_OUTPUT_TEXT, ACCESS_OUTPUT_LONGTEXT)
2093 add_integer( "ttl", -1, TTL_TEXT, TTL_LONGTEXT, true )
2094 add_string( "miface", NULL, MIFACE_TEXT, MIFACE_LONGTEXT, true )
2095 add_obsolete_string( "miface-addr" ) /* since 2.0.0 */
2096 add_integer( "dscp", 0, DSCP_TEXT, DSCP_LONGTEXT, true )
2098 set_subcategory( SUBCAT_SOUT_PACKETIZER )
2099 add_module("packetizer", "packetizer", NULL,
2100 PACKETIZER_TEXT, PACKETIZER_LONGTEXT)
2102 set_subcategory( SUBCAT_SOUT_VOD )
2104 /* CPU options */
2105 set_category( CAT_ADVANCED )
2106 add_obsolete_bool( "fpu" )
2107 #if defined( __i386__ ) || defined( __x86_64__ )
2108 add_obsolete_bool( "mmx" ) /* since 2.0.0 */
2109 add_obsolete_bool( "3dn" ) /* since 2.0.0 */
2110 add_obsolete_bool( "mmxext" ) /* since 2.0.0 */
2111 add_obsolete_bool( "sse" ) /* since 2.0.0 */
2112 add_obsolete_bool( "sse2" ) /* since 2.0.0 */
2113 add_obsolete_bool( "sse3" ) /* since 2.0.0 */
2114 add_obsolete_bool( "ssse3" ) /* since 2.0.0 */
2115 add_obsolete_bool( "sse41" ) /* since 2.0.0 */
2116 add_obsolete_bool( "sse42" ) /* since 2.0.0 */
2117 #endif
2118 #if defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc64__ )
2119 add_obsolete_bool( "altivec" ) /* since 2.0.0 */
2120 #endif
2122 /* Misc options */
2123 set_subcategory( SUBCAT_ADVANCED_MISC )
2124 set_section( N_("Special modules"), NULL )
2125 add_category_hint(N_("Miscellaneous"), MISC_CAT_LONGTEXT)
2126 add_module("vod-server", "vod server", NULL,
2127 VOD_SERVER_TEXT, VOD_SERVER_LONGTEXT)
2129 set_section( N_("Plugins" ), NULL )
2130 #ifdef HAVE_DYNAMIC_PLUGINS
2131 add_bool( "plugins-cache", true, PLUGINS_CACHE_TEXT,
2132 PLUGINS_CACHE_LONGTEXT, true )
2133 change_volatile ()
2134 add_bool( "plugins-scan", true, PLUGINS_SCAN_TEXT,
2135 PLUGINS_SCAN_LONGTEXT, true )
2136 change_volatile ()
2137 add_obsolete_string( "plugin-path" ) /* since 2.0.0 */
2138 #endif
2139 add_obsolete_string( "data-path" ) /* since 2.1.0 */
2140 add_string( "keystore", NULL, KEYSTORE_TEXT,
2141 KEYSTORE_LONGTEXT, true )
2143 set_section( N_("Performance options"), NULL )
2145 #if defined (LIBVLC_USE_PTHREAD)
2146 add_bool( "rt-priority", false, RT_PRIORITY_TEXT,
2147 RT_PRIORITY_LONGTEXT, true )
2148 add_integer( "rt-offset", 0, RT_OFFSET_TEXT,
2149 RT_OFFSET_LONGTEXT, true )
2150 #endif
2152 #if defined(HAVE_DBUS)
2153 add_obsolete_bool( "inhibit" ) /* since 3.0.0 */
2154 #endif
2156 #if defined(_WIN32) || defined(__OS2__)
2157 add_bool( "high-priority", 0, HPRIORITY_TEXT,
2158 HPRIORITY_LONGTEXT, false )
2159 #endif
2161 #ifdef _WIN32
2162 add_string( "clock-source", NULL, CLOCK_SOURCE_TEXT, CLOCK_SOURCE_TEXT, true )
2163 change_string_list( clock_sources, clock_sources_text )
2164 #endif
2166 /* Playlist options */
2167 set_category( CAT_PLAYLIST )
2168 set_subcategory( SUBCAT_PLAYLIST_GENERAL )
2169 add_category_hint(N_("Playlist"), PLAYLIST_CAT_LONGTEXT)
2170 add_bool( "random", 0, RANDOM_TEXT, RANDOM_LONGTEXT, false )
2171 change_short('Z')
2172 change_safe()
2173 add_bool( "loop", 0, LOOP_TEXT, LOOP_LONGTEXT, false )
2174 change_short('L')
2175 change_safe()
2176 add_bool( "repeat", 0, REPEAT_TEXT, REPEAT_LONGTEXT, false )
2177 change_short('R')
2178 change_safe()
2179 add_bool( "play-and-exit", 0, PAE_TEXT, PAE_LONGTEXT, false )
2180 add_bool( "play-and-stop", 0, PAS_TEXT, PAS_LONGTEXT, false )
2181 change_safe()
2182 add_bool( "play-and-pause", 0, PAP_TEXT, PAP_LONGTEXT, true )
2183 change_safe()
2184 add_bool( "start-paused", 0, SP_TEXT, SP_LONGTEXT, false )
2185 add_bool( "playlist-autostart", true,
2186 AUTOSTART_TEXT, AUTOSTART_LONGTEXT, false )
2187 add_bool( "playlist-cork", true, CORK_TEXT, CORK_LONGTEXT, false )
2188 #if defined(_WIN32) || defined(HAVE_DBUS) || defined(__OS2__)
2189 add_bool( "one-instance", 0, ONEINSTANCE_TEXT,
2190 ONEINSTANCE_LONGTEXT, true )
2191 add_bool( "started-from-file", 0, STARTEDFROMFILE_TEXT,
2192 STARTEDFROMFILE_LONGTEXT, true )
2193 change_volatile ()
2194 add_bool( "one-instance-when-started-from-file", 1,
2195 ONEINSTANCEWHENSTARTEDFROMFILE_TEXT,
2196 ONEINSTANCEWHENSTARTEDFROMFILE_TEXT, true )
2197 add_bool( "playlist-enqueue", 0, PLAYLISTENQUEUE_TEXT,
2198 PLAYLISTENQUEUE_LONGTEXT, true )
2199 #endif
2200 #ifdef HAVE_DBUS
2201 add_bool( "dbus", false, DBUS_TEXT, DBUS_LONGTEXT, true )
2202 #endif
2203 add_bool( "media-library", 0, ML_TEXT, ML_LONGTEXT, false )
2204 add_bool( "playlist-tree", 0, PLTREE_TEXT, PLTREE_LONGTEXT, false )
2206 add_string( "open", "", OPEN_TEXT, OPEN_LONGTEXT, false )
2208 add_bool( "auto-preparse", true, PREPARSE_TEXT,
2209 PREPARSE_LONGTEXT, false )
2211 add_integer( "preparse-timeout", 5000, PREPARSE_TIMEOUT_TEXT,
2212 PREPARSE_TIMEOUT_LONGTEXT, false )
2214 add_integer( "preparse-threads", 1, PREPARSE_THREADS_TEXT,
2215 PREPARSE_THREADS_LONGTEXT, false )
2217 add_integer( "fetch-art-threads", 1, FETCH_ART_THREADS_TEXT,
2218 FETCH_ART_THREADS_LONGTEXT, false )
2220 add_obsolete_integer( "album-art" )
2221 add_bool( "metadata-network-access", false, METADATA_NETWORK_TEXT,
2222 METADATA_NETWORK_TEXT, false )
2224 add_string( "recursive", "collapse" , RECURSIVE_TEXT,
2225 RECURSIVE_LONGTEXT, false )
2226 change_string_list( psz_recursive_list, psz_recursive_list_text )
2227 add_string( "ignore-filetypes", "m3u,db,nfo,ini,jpg,jpeg,ljpg,gif,png,pgm,"
2228 "pgmyuv,pbm,pam,tga,bmp,pnm,xpm,xcf,pcx,tif,tiff,lbm,sfv,txt,"
2229 "sub,idx,srt,cue,ssa",
2230 IGNORE_TEXT, IGNORE_LONGTEXT, false )
2231 add_bool( "show-hiddenfiles", false,
2232 SHOW_HIDDENFILES_TEXT, SHOW_HIDDENFILES_LONGTEXT, false )
2233 add_bool( "extractor-flatten", false,
2234 "Flatten files listed by extractors (archive)", NULL, true )
2235 change_volatile()
2237 set_subcategory( SUBCAT_PLAYLIST_SD )
2238 add_string( "services-discovery", "", SD_TEXT, SD_LONGTEXT, true )
2239 change_short('S')
2241 /* Interface options */
2242 set_category( CAT_INTERFACE )
2243 set_subcategory( SUBCAT_INTERFACE_GENERAL )
2244 add_integer( "verbose", 0, VERBOSE_TEXT, VERBOSE_LONGTEXT,
2245 false )
2246 change_short('v')
2247 change_volatile ()
2248 add_obsolete_string( "verbose-objects" ) /* since 2.1.0 */
2249 #if !defined(_WIN32) && !defined(__OS2__)
2250 add_bool( "daemon", 0, DAEMON_TEXT, DAEMON_LONGTEXT, true )
2251 change_short('d')
2253 add_string( "pidfile", NULL, PIDFILE_TEXT, PIDFILE_LONGTEXT,
2254 false )
2255 #endif
2257 #if defined (_WIN32) || defined (__APPLE__)
2258 add_obsolete_string( "language" ) /* since 2.1.0 */
2259 #endif
2261 add_bool( "color", true, COLOR_TEXT, COLOR_LONGTEXT, true )
2262 change_volatile ()
2263 add_obsolete_bool( "advanced" ) /* since 4.0.0 */
2264 add_bool( "interact", true, INTERACTION_TEXT,
2265 INTERACTION_LONGTEXT, false )
2267 add_bool ( "stats", true, STATS_TEXT, STATS_LONGTEXT, true )
2269 set_subcategory( SUBCAT_INTERFACE_MAIN )
2270 add_module_cat("intf", SUBCAT_INTERFACE_MAIN, NULL,
2271 INTF_TEXT, INTF_LONGTEXT)
2272 change_short('I')
2273 add_module_list_cat("extraintf", SUBCAT_INTERFACE_MAIN, NULL,
2274 EXTRAINTF_TEXT, EXTRAINTF_LONGTEXT)
2277 set_subcategory( SUBCAT_INTERFACE_CONTROL )
2278 add_module_list_cat("control", SUBCAT_INTERFACE_CONTROL, NULL,
2279 CONTROL_TEXT, CONTROL_LONGTEXT)
2281 /* Hotkey options*/
2282 set_subcategory( SUBCAT_INTERFACE_HOTKEYS )
2283 add_category_hint(N_("Hot keys"), HOTKEY_CAT_LONGTEXT)
2285 add_integer( "hotkeys-y-wheel-mode", 0, MOUSE_Y_WHEEL_MODE_TEXT,
2286 MOUSE_Y_WHEEL_MODE_LONGTEXT, false )
2287 change_integer_list( mouse_wheel_values, mouse_wheel_texts )
2288 add_integer( "hotkeys-x-wheel-mode", 2, MOUSE_X_WHEEL_MODE_TEXT,
2289 MOUSE_X_WHEEL_MODE_LONGTEXT, false )
2290 change_integer_list( mouse_wheel_values, mouse_wheel_texts )
2291 add_obsolete_integer( "hotkeys-mousewheel-mode" ) /* since 3.0.0 */
2293 #if defined(__APPLE__)
2294 /* Don't use the following combo's */
2296 /* copy "Command+c"
2297 * cut "Command+x"
2298 * paste "Command+v"
2299 * select all "Command+a"
2300 * preferences "Command+,"
2301 * hide vlc "Command+h"
2302 * hide other "Command+Alt+h"
2303 * open file "Command+Shift+o"
2304 * open "Command+o"
2305 * open disk "Command+d"
2306 * open network "Command+n"
2307 * open capture "Command+r"
2308 * save playlist "Command+s"
2309 * playlist repeat all "Command+l"
2310 * playlist repeat "Command+r"
2311 * video fit to screen "Command+3"
2312 * minimize window "Command+m"
2313 * close window "Command+w"
2314 * streaming wizard "Command+Shift+w"
2315 * show controller "Command+Shift+c"
2316 * show playlist "Command+Shift+p"
2317 * show info "Command+i"
2318 * show extended controls "Command+e"
2319 * show equaliser "Command+Shift+e"
2320 * show bookmarks "Command+b"
2321 * show messages "Command+Shift+m"
2322 * show errors and warnings "Command+Ctrl+m"
2323 * help "Command+?"
2324 * readme / FAQ "Command+Alt+?"
2326 # define KEY_TOGGLE_FULLSCREEN "Command+f"
2327 # define KEY_LEAVE_FULLSCREEN "Esc"
2328 # define KEY_PLAY_PAUSE "Space"
2329 # define KEY_SIMPLE_PAUSE NULL
2330 # define KEY_PLAY NULL
2331 # define KEY_FASTER "Command+="
2332 # define KEY_SLOWER "Command+-"
2333 # define KEY_RATE_NORMAL NULL
2334 # define KEY_RATE_FASTER_FINE NULL
2335 # define KEY_RATE_SLOWER_FINE NULL
2336 # define KEY_NEXT "Command+Right"
2337 # define KEY_PREV "Command+Left"
2338 # define KEY_STOP "Command+."
2339 # define KEY_POSITION "t"
2340 # define KEY_JUMP_MEXTRASHORT "Command+Ctrl+Left"
2341 # define KEY_JUMP_PEXTRASHORT "Command+Ctrl+Right"
2342 # define KEY_JUMP_MSHORT "Command+Alt+Left"
2343 # define KEY_JUMP_PSHORT "Command+Alt+Right"
2344 # define KEY_JUMP_MMEDIUM "Command+Shift+Left"
2345 # define KEY_JUMP_PMEDIUM "Command+Shift+Right"
2346 # define KEY_JUMP_MLONG "Command+Shift+Alt+Left"
2347 # define KEY_JUMP_PLONG "Command+Shift+Alt+Right"
2348 # define KEY_FRAME_NEXT "e"
2349 # define KEY_NAV_ACTIVATE "Enter"
2350 # define KEY_NAV_UP "Up"
2351 # define KEY_NAV_DOWN "Down"
2352 # define KEY_NAV_LEFT "Left"
2353 # define KEY_NAV_RIGHT "Right"
2354 # define KEY_QUIT "Command+q"
2355 # define KEY_VOL_UP "Command+Up"
2356 # define KEY_VOL_DOWN "Command+Down"
2357 # define KEY_VOL_MUTE "Command+Alt+Down"
2358 # define KEY_SUBDELAY_UP "j"
2359 # define KEY_SUBDELAY_DOWN "h"
2360 # define KEY_SUBPOS_DOWN NULL
2361 # define KEY_SUBPOS_UP NULL
2362 # define KEY_SUBTEXT_SCALEUP "Command+Mouse Wheel Up"
2363 # define KEY_SUBTEXT_SCALEDOWN "Command+Mouse Wheel Down"
2364 # define KEY_SUBTEXT_SCALE "Command+0"
2365 # define KEY_SUBSYNC_MARKAUDIO "Shift+h"
2366 # define KEY_SUBSYNC_MARKSUB "Shift+j"
2367 # define KEY_SUBSYNC_APPLY "Shift+k"
2368 # define KEY_SUBSYNC_RESET "Command+Shift+k"
2369 # define KEY_AUDIODELAY_UP "g"
2370 # define KEY_AUDIODELAY_DOWN "f"
2371 # define KEY_AUDIO_TRACK "l"
2372 # define KEY_SUBTITLE_TRACK "s"
2373 # define KEY_SUBTITLE_TOGGLE "Shift+s"
2374 # define KEY_SUBTITLE_CONTROL_S "Command+Shift+v"
2375 # define KEY_SUBTITLE_REVTRACK "Alt+s"
2376 # define KEY_PROGRAM_SID_NEXT "x"
2377 # define KEY_PROGRAM_SID_PREV "Shift+x"
2378 # define KEY_ASPECT_RATIO "a"
2379 # define KEY_CROP "c"
2380 # define KEY_TOGGLE_AUTOSCALE "o"
2381 # define KEY_SCALE_UP "Alt+o"
2382 # define KEY_SCALE_DOWN "Shift+Alt+o"
2383 # define KEY_DEINTERLACE "d"
2384 # define KEY_DEINTERLACE_MODE "Shift+d"
2385 # define KEY_INTF_TOGGLE_FSC "i"
2386 # define KEY_INTF_BOSS NULL
2387 # define KEY_INTF_POPUP_MENU "Menu"
2388 # define KEY_DISC_MENU "Ctrl+m"
2389 # define KEY_TITLE_PREV "Ctrl+p"
2390 # define KEY_TITLE_NEXT "Ctrl+n"
2391 # define KEY_CHAPTER_PREV "Ctrl+u"
2392 # define KEY_CHAPTER_NEXT "Ctrl+d"
2393 # define KEY_SNAPSHOT "Command+Alt+s"
2394 # define KEY_ZOOM "z"
2395 # define KEY_UNZOOM "Shift+z"
2396 # define KEY_RANDOM "Command+z"
2397 # define KEY_LOOP "Shift+l"
2399 # define KEY_CROP_TOP "Alt+i"
2400 # define KEY_UNCROP_TOP "Alt+Shift+i"
2401 # define KEY_CROP_LEFT "Alt+j"
2402 # define KEY_UNCROP_LEFT "Alt+Shift+j"
2403 # define KEY_CROP_BOTTOM "Alt+k"
2404 # define KEY_UNCROP_BOTTOM "Alt+Shift+k"
2405 # define KEY_CROP_RIGHT "Alt+l"
2406 # define KEY_UNCROP_RIGHT "Alt+Shift+l"
2408 /* 360° Viewpoint */
2409 # define KEY_VIEWPOINT_FOV_IN "Page Up"
2410 # define KEY_VIEWPOINT_FOV_OUT "Page Down"
2412 /* the macosx-interface already has bindings */
2413 # define KEY_ZOOM_QUARTER NULL
2414 # define KEY_ZOOM_HALF "Command+0"
2415 # define KEY_ZOOM_ORIGINAL "Command+1"
2416 # define KEY_ZOOM_DOUBLE "Command+2"
2418 # define KEY_SET_BOOKMARK1 "Command+F1"
2419 # define KEY_SET_BOOKMARK2 "Command+F2"
2420 # define KEY_SET_BOOKMARK3 "Command+F3"
2421 # define KEY_SET_BOOKMARK4 "Command+F4"
2422 # define KEY_SET_BOOKMARK5 "Command+F5"
2423 # define KEY_SET_BOOKMARK6 "Command+F6"
2424 # define KEY_SET_BOOKMARK7 "Command+F7"
2425 # define KEY_SET_BOOKMARK8 "Command+F8"
2426 # define KEY_SET_BOOKMARK9 NULL
2427 # define KEY_SET_BOOKMARK10 NULL
2428 # define KEY_PLAY_BOOKMARK1 "F1"
2429 # define KEY_PLAY_BOOKMARK2 "F2"
2430 # define KEY_PLAY_BOOKMARK3 "F3"
2431 # define KEY_PLAY_BOOKMARK4 "F4"
2432 # define KEY_PLAY_BOOKMARK5 "F5"
2433 # define KEY_PLAY_BOOKMARK6 "F6"
2434 # define KEY_PLAY_BOOKMARK7 "F7"
2435 # define KEY_PLAY_BOOKMARK8 "F8"
2436 # define KEY_PLAY_BOOKMARK9 NULL
2437 # define KEY_PLAY_BOOKMARK10 NULL
2438 # define KEY_RECORD "Command+Shift+r"
2439 # define KEY_WALLPAPER NULL
2440 # define KEY_AUDIODEVICE_CYCLE "Shift+a"
2441 # define KEY_PLAY_CLEAR NULL
2443 #else /* Non Mac OS X */
2445 You should try to avoid Ctrl + letter key, because they are usually for
2446 dialogs showing and interface related stuffs.
2447 It would be nice (less important than previous rule) to try to avoid
2448 alt + letter key, because they are usually for menu accelerators and you
2449 don't know how the translator is going to do it.
2451 # define KEY_TOGGLE_FULLSCREEN "f"
2452 # define KEY_LEAVE_FULLSCREEN "Esc"
2453 # define KEY_SIMPLE_PAUSE "Browser Stop"
2454 # define KEY_PLAY "Browser Refresh"
2455 # define KEY_FASTER "+"
2456 # define KEY_SLOWER "-"
2457 # define KEY_RATE_NORMAL "="
2458 # define KEY_RATE_FASTER_FINE "]"
2459 # define KEY_RATE_SLOWER_FINE "["
2460 #ifdef _WIN32
2461 # define KEY_PLAY_PAUSE "Space"
2462 # define KEY_NEXT "n"
2463 # define KEY_PREV "p"
2464 # define KEY_STOP "s"
2465 #else
2466 # define KEY_PLAY_PAUSE "Space\tMedia Play Pause"
2467 # define KEY_NEXT "n\tMedia Next Track"
2468 # define KEY_PREV "p\tMedia Prev Track"
2469 # define KEY_STOP "s\tMedia Stop"
2470 #endif
2471 # define KEY_POSITION "t"
2472 # define KEY_JUMP_MEXTRASHORT "Shift+Left"
2473 # define KEY_JUMP_PEXTRASHORT "Shift+Right"
2474 # define KEY_JUMP_MSHORT "Alt+Left"
2475 # define KEY_JUMP_PSHORT "Alt+Right"
2476 # define KEY_JUMP_MMEDIUM "Ctrl+Left"
2477 # define KEY_JUMP_PMEDIUM "Ctrl+Right"
2478 # define KEY_JUMP_MLONG "Ctrl+Alt+Left"
2479 # define KEY_JUMP_PLONG "Ctrl+Alt+Right"
2480 # define KEY_NAV_ACTIVATE "Enter"
2481 # define KEY_NAV_UP "Up"
2482 # define KEY_NAV_DOWN "Down"
2483 # define KEY_NAV_LEFT "Left"
2484 # define KEY_NAV_RIGHT "Right"
2485 # define KEY_QUIT "Ctrl+q"
2487 #ifdef _WIN32 /* On Windows, people expect volume keys to control the master */
2488 # define KEY_VOL_UP "Ctrl+Up"
2489 # define KEY_VOL_DOWN "Ctrl+Down"
2490 # define KEY_VOL_MUTE "m"
2491 # define KEY_FRAME_NEXT "e"
2492 #else
2493 # define KEY_VOL_UP "Ctrl+Up\tVolume Up"
2494 # define KEY_VOL_DOWN "Ctrl+Down\tVolume Down"
2495 # define KEY_VOL_MUTE "m\tVolume Mute"
2496 # define KEY_FRAME_NEXT "e\tBrowser Next"
2497 #endif
2499 # define KEY_SUBDELAY_UP "h"
2500 # define KEY_SUBDELAY_DOWN "g"
2501 # define KEY_SUBPOS_DOWN NULL
2502 # define KEY_SUBPOS_UP NULL
2503 # define KEY_SUBTEXT_SCALEUP "Ctrl+Mouse Wheel Up"
2504 # define KEY_SUBTEXT_SCALEDOWN "Ctrl+Mouse Wheel Down"
2505 # define KEY_SUBTEXT_SCALE "Ctrl+0"
2506 # define KEY_SUBSYNC_MARKAUDIO "Shift+h"
2507 # define KEY_SUBSYNC_MARKSUB "Shift+j"
2508 # define KEY_SUBSYNC_APPLY "Shift+k"
2509 # define KEY_SUBSYNC_RESET "Ctrl+Shift+k"
2510 # define KEY_AUDIODELAY_UP "k"
2511 # define KEY_AUDIODELAY_DOWN "j"
2512 # define KEY_RANDOM "r"
2513 # define KEY_LOOP "l"
2515 # define KEY_AUDIO_TRACK "b"
2516 # define KEY_SUBTITLE_TRACK "v"
2517 # define KEY_SUBTITLE_TOGGLE "Shift+v"
2518 # define KEY_SUBTITLE_CONTROL_S "Ctrl+Shift+v"
2519 # define KEY_SUBTITLE_REVTRACK "Alt+v"
2520 # define KEY_PROGRAM_SID_NEXT "x"
2521 # define KEY_PROGRAM_SID_PREV "Shift+x"
2522 # define KEY_ASPECT_RATIO "a"
2523 # define KEY_CROP "c"
2524 # define KEY_TOGGLE_AUTOSCALE "o"
2525 # define KEY_SCALE_UP "Alt+o"
2526 # define KEY_SCALE_DOWN "Alt+Shift+o"
2527 # define KEY_DEINTERLACE "d"
2528 # define KEY_DEINTERLACE_MODE "Shift+d"
2529 # define KEY_INTF_TOGGLE_FSC "i"
2530 # define KEY_INTF_BOSS NULL
2531 # define KEY_INTF_POPUP_MENU "Menu"
2532 # define KEY_DISC_MENU "Shift+m"
2533 # define KEY_TITLE_PREV "Shift+o"
2534 # define KEY_TITLE_NEXT "Shift+b"
2535 # define KEY_CHAPTER_PREV "Shift+p"
2536 # define KEY_CHAPTER_NEXT "Shift+n"
2537 # define KEY_SNAPSHOT "Shift+s"
2539 # define KEY_ZOOM "z"
2540 # define KEY_UNZOOM "Shift+z"
2542 # define KEY_AUDIODEVICE_CYCLE "Shift+a"
2544 # define KEY_RECORD "Shift+r"
2545 # define KEY_WALLPAPER "w"
2547 /* Cropping */
2548 # define KEY_CROP_TOP "Alt+r"
2549 # define KEY_UNCROP_TOP "Alt+Shift+r"
2550 # define KEY_CROP_LEFT "Alt+d"
2551 # define KEY_UNCROP_LEFT "Alt+Shift+d"
2552 # define KEY_CROP_BOTTOM "Alt+c"
2553 # define KEY_UNCROP_BOTTOM "Alt+Shift+c"
2554 # define KEY_CROP_RIGHT "Alt+f"
2555 # define KEY_UNCROP_RIGHT "Alt+Shift+f"
2557 /* 360° Viewpoint */
2558 # define KEY_VIEWPOINT_FOV_IN "Page Up"
2559 # define KEY_VIEWPOINT_FOV_OUT "Page Down"
2561 /* Zooming */
2562 # define KEY_ZOOM_QUARTER "Alt+1"
2563 # define KEY_ZOOM_HALF "Alt+2"
2564 # define KEY_ZOOM_ORIGINAL "Alt+3"
2565 # define KEY_ZOOM_DOUBLE "Alt+4"
2567 /* Bookmarks */
2568 # define KEY_SET_BOOKMARK1 "Ctrl+F1"
2569 # define KEY_SET_BOOKMARK2 "Ctrl+F2"
2570 # define KEY_SET_BOOKMARK3 "Ctrl+F3"
2571 # define KEY_SET_BOOKMARK4 "Ctrl+F4"
2572 # define KEY_SET_BOOKMARK5 "Ctrl+F5"
2573 # define KEY_SET_BOOKMARK6 "Ctrl+F6"
2574 # define KEY_SET_BOOKMARK7 "Ctrl+F7"
2575 # define KEY_SET_BOOKMARK8 "Ctrl+F8"
2576 # define KEY_SET_BOOKMARK9 "Ctrl+F9"
2577 # define KEY_SET_BOOKMARK10 "Ctrl+F10"
2578 # define KEY_PLAY_BOOKMARK1 "F1"
2579 # define KEY_PLAY_BOOKMARK2 "F2"
2580 # define KEY_PLAY_BOOKMARK3 "F3"
2581 # define KEY_PLAY_BOOKMARK4 "F4"
2582 # define KEY_PLAY_BOOKMARK5 "F5"
2583 # define KEY_PLAY_BOOKMARK6 "F6"
2584 # define KEY_PLAY_BOOKMARK7 "F7"
2585 # define KEY_PLAY_BOOKMARK8 "F8"
2586 # define KEY_PLAY_BOOKMARK9 "F9"
2587 # define KEY_PLAY_BOOKMARK10 "F10"
2589 /* Playlist clear */
2590 # define KEY_PLAY_CLEAR "Ctrl+w"
2591 #endif
2593 add_key("key-toggle-fullscreen", KEY_TOGGLE_FULLSCREEN,
2594 TOGGLE_FULLSCREEN_KEY_TEXT, TOGGLE_FULLSCREEN_KEY_LONGTEXT)
2595 add_key("key-leave-fullscreen", KEY_LEAVE_FULLSCREEN,
2596 LEAVE_FULLSCREEN_KEY_TEXT, LEAVE_FULLSCREEN_KEY_LONGTEXT)
2597 add_key("key-play-pause", KEY_PLAY_PAUSE,
2598 PLAY_PAUSE_KEY_TEXT, PLAY_PAUSE_KEY_LONGTEXT)
2599 add_key("key-pause", KEY_SIMPLE_PAUSE, PAUSE_KEY_TEXT, PAUSE_KEY_LONGTEXT)
2600 add_key("key-play", KEY_PLAY, PLAY_KEY_TEXT, PLAY_KEY_LONGTEXT)
2601 add_key("key-faster", KEY_FASTER, FASTER_KEY_TEXT, FASTER_KEY_LONGTEXT)
2602 add_key("key-slower", KEY_SLOWER, SLOWER_KEY_TEXT, SLOWER_KEY_LONGTEXT)
2603 add_key("key-rate-normal", KEY_RATE_NORMAL,
2604 RATE_NORMAL_KEY_TEXT, RATE_NORMAL_KEY_LONGTEXT)
2605 add_key("key-rate-faster-fine", KEY_RATE_FASTER_FINE,
2606 RATE_FASTER_FINE_KEY_TEXT, RATE_FASTER_FINE_KEY_LONGTEXT)
2607 add_key("key-rate-slower-fine", KEY_RATE_SLOWER_FINE,
2608 RATE_SLOWER_FINE_KEY_TEXT, RATE_SLOWER_FINE_KEY_LONGTEXT)
2609 add_key("key-next", KEY_NEXT, NEXT_KEY_TEXT, NEXT_KEY_LONGTEXT)
2610 add_key("key-prev", KEY_PREV, PREV_KEY_TEXT, PREV_KEY_LONGTEXT)
2611 add_key("key-stop", KEY_STOP, STOP_KEY_TEXT, STOP_KEY_LONGTEXT)
2612 add_key("key-position", KEY_POSITION, POSITION_KEY_TEXT,
2613 POSITION_KEY_LONGTEXT)
2614 add_key("key-jump-extrashort", KEY_JUMP_MEXTRASHORT,
2615 JBEXTRASHORT_KEY_TEXT, JBEXTRASHORT_KEY_LONGTEXT)
2616 add_key("key-jump+extrashort", KEY_JUMP_PEXTRASHORT,
2617 JFEXTRASHORT_KEY_TEXT, JFEXTRASHORT_KEY_LONGTEXT)
2618 add_key("key-jump-short", KEY_JUMP_MSHORT,
2619 JBSHORT_KEY_TEXT, JBSHORT_KEY_LONGTEXT)
2620 add_key("key-jump+short", KEY_JUMP_PSHORT,
2621 JFSHORT_KEY_TEXT, JFSHORT_KEY_LONGTEXT)
2622 add_key("key-jump-medium", KEY_JUMP_MMEDIUM,
2623 JBMEDIUM_KEY_TEXT, JBMEDIUM_KEY_LONGTEXT)
2624 add_key("key-jump+medium", KEY_JUMP_PMEDIUM,
2625 JFMEDIUM_KEY_TEXT, JFMEDIUM_KEY_LONGTEXT)
2626 add_key("key-jump-long", KEY_JUMP_MLONG,
2627 JBLONG_KEY_TEXT, JBLONG_KEY_LONGTEXT)
2628 add_key("key-jump+long", KEY_JUMP_PLONG,
2629 JFLONG_KEY_TEXT, JFLONG_KEY_LONGTEXT)
2630 add_key("key-frame-next", KEY_FRAME_NEXT,
2631 FRAME_NEXT_KEY_TEXT, FRAME_NEXT_KEY_LONGTEXT)
2632 add_key("key-nav-activate", KEY_NAV_ACTIVATE,
2633 NAV_ACTIVATE_KEY_TEXT, NAV_ACTIVATE_KEY_LONGTEXT)
2634 add_key("key-nav-up", KEY_NAV_UP, NAV_UP_KEY_TEXT, NAV_UP_KEY_LONGTEXT)
2635 add_key("key-nav-down", KEY_NAV_DOWN,
2636 NAV_DOWN_KEY_TEXT, NAV_DOWN_KEY_LONGTEXT)
2637 add_key("key-nav-left", KEY_NAV_LEFT,
2638 NAV_LEFT_KEY_TEXT, NAV_LEFT_KEY_LONGTEXT)
2639 add_key("key-nav-right", KEY_NAV_RIGHT,
2640 NAV_RIGHT_KEY_TEXT, NAV_RIGHT_KEY_LONGTEXT)
2642 add_key("key-disc-menu", KEY_DISC_MENU, DISC_MENU_TEXT, DISC_MENU_LONGTEXT)
2643 add_key("key-title-prev", KEY_TITLE_PREV,
2644 TITLE_PREV_TEXT, TITLE_PREV_LONGTEXT)
2645 add_key("key-title-next", KEY_TITLE_NEXT,
2646 TITLE_NEXT_TEXT, TITLE_NEXT_LONGTEXT)
2647 add_key("key-chapter-prev", KEY_CHAPTER_PREV,
2648 CHAPTER_PREV_TEXT, CHAPTER_PREV_LONGTEXT)
2649 add_key("key-chapter-next", KEY_CHAPTER_NEXT,
2650 CHAPTER_NEXT_TEXT, CHAPTER_NEXT_LONGTEXT)
2651 add_key("key-quit", KEY_QUIT, QUIT_KEY_TEXT, QUIT_KEY_LONGTEXT)
2652 add_key("key-vol-up", KEY_VOL_UP, VOL_UP_KEY_TEXT, VOL_UP_KEY_LONGTEXT)
2653 add_key("key-vol-down", KEY_VOL_DOWN,
2654 VOL_DOWN_KEY_TEXT, VOL_DOWN_KEY_LONGTEXT)
2655 add_key("key-vol-mute", KEY_VOL_MUTE,
2656 VOL_MUTE_KEY_TEXT, VOL_MUTE_KEY_LONGTEXT)
2657 add_key("key-subdelay-up", KEY_SUBDELAY_UP,
2658 SUBDELAY_UP_KEY_TEXT, SUBDELAY_UP_KEY_LONGTEXT)
2659 add_key("key-subdelay-down", KEY_SUBDELAY_DOWN,
2660 SUBDELAY_DOWN_KEY_TEXT, SUBDELAY_DOWN_KEY_LONGTEXT)
2661 add_key("key-subsync-markaudio", KEY_SUBSYNC_MARKAUDIO,
2662 SUBSYNC_MARKAUDIO_KEY_TEXT, SUBSYNC_MARKAUDIO_KEY_LONGTEXT)
2663 add_key("key-subsync-marksub", KEY_SUBSYNC_MARKSUB,
2664 SUBSYNC_MARKSUB_KEY_TEXT, SUBSYNC_MARKSUB_KEY_LONGTEXT)
2665 add_key("key-subsync-apply", KEY_SUBSYNC_APPLY,
2666 SUBSYNC_APPLY_KEY_TEXT, SUBSYNC_APPLY_KEY_LONGTEXT)
2667 add_key("key-subsync-reset", KEY_SUBSYNC_RESET,
2668 SUBSYNC_RESET_KEY_TEXT, SUBSYNC_RESET_KEY_LONGTEXT)
2669 add_key("key-subpos-up", KEY_SUBPOS_UP,
2670 SUBPOS_UP_KEY_TEXT, SUBPOS_UP_KEY_LONGTEXT)
2671 add_key("key-subpos-down", KEY_SUBPOS_DOWN,
2672 SUBPOS_DOWN_KEY_TEXT, SUBPOS_DOWN_KEY_LONGTEXT)
2673 add_key("key-audiodelay-up", KEY_AUDIODELAY_UP,
2674 AUDIODELAY_UP_KEY_TEXT, AUDIODELAY_UP_KEY_LONGTEXT)
2675 add_key("key-audiodelay-down", KEY_AUDIODELAY_DOWN,
2676 AUDIODELAY_DOWN_KEY_TEXT, AUDIODELAY_DOWN_KEY_LONGTEXT)
2677 add_key("key-audio-track", KEY_AUDIO_TRACK, AUDIO_TRACK_KEY_TEXT,
2678 AUDIO_TRACK_KEY_LONGTEXT)
2679 add_key("key-audiodevice-cycle", KEY_AUDIODEVICE_CYCLE,
2680 AUDIO_DEVICE_CYCLE_KEY_TEXT,
2681 AUDIO_DEVICE_CYCLE_KEY_LONGTEXT)
2682 add_key("key-subtitle-revtrack", KEY_SUBTITLE_REVTRACK,
2683 SUBTITLE_REVERSE_TRACK_KEY_TEXT, SUBTITLE_REVERSE_TRACK_KEY_LONGTEXT)
2684 add_key("key-subtitle-track", KEY_SUBTITLE_TRACK,
2685 SUBTITLE_TRACK_KEY_TEXT, SUBTITLE_TRACK_KEY_LONGTEXT)
2686 add_key("key-subtitle-toggle", KEY_SUBTITLE_TOGGLE,
2687 SUBTITLE_TOGGLE_KEY_TEXT, SUBTITLE_TOGGLE_KEY_LONGTEXT)
2688 add_key("key-subtitle-control-secondary", KEY_SUBTITLE_CONTROL_S,
2689 SUBTITLE_CONTROL_SECONDARY_KEY_TEXT, SUBTITLE_CONTROL_SECONDARY_KEY_LONGTEXT)
2690 add_key("key-program-sid-next", KEY_PROGRAM_SID_NEXT,
2691 PROGRAM_SID_NEXT_KEY_TEXT, PROGRAM_SID_NEXT_KEY_LONGTEXT)
2692 add_key("key-program-sid-prev", KEY_PROGRAM_SID_PREV,
2693 PROGRAM_SID_PREV_KEY_TEXT, PROGRAM_SID_PREV_KEY_LONGTEXT)
2694 add_key("key-aspect-ratio", KEY_ASPECT_RATIO,
2695 ASPECT_RATIO_KEY_TEXT, ASPECT_RATIO_KEY_LONGTEXT)
2696 add_key("key-crop", KEY_CROP,
2697 CROP_KEY_TEXT, CROP_KEY_LONGTEXT)
2698 add_key("key-toggle-autoscale", KEY_TOGGLE_AUTOSCALE,
2699 TOGGLE_AUTOSCALE_KEY_TEXT, TOGGLE_AUTOSCALE_KEY_LONGTEXT)
2700 add_key("key-incr-scalefactor", KEY_SCALE_UP,
2701 SCALE_UP_KEY_TEXT, SCALE_UP_KEY_LONGTEXT)
2702 add_key("key-decr-scalefactor", KEY_SCALE_DOWN,
2703 SCALE_DOWN_KEY_TEXT, SCALE_DOWN_KEY_LONGTEXT)
2704 add_key("key-deinterlace", KEY_DEINTERLACE,
2705 DEINTERLACE_KEY_TEXT, DEINTERLACE_KEY_LONGTEXT)
2706 add_key("key-deinterlace-mode", KEY_DEINTERLACE_MODE,
2707 DEINTERLACE_MODE_KEY_TEXT, DEINTERLACE_MODE_KEY_LONGTEXT)
2708 add_key("key-intf-show", KEY_INTF_TOGGLE_FSC,
2709 INTF_TOGGLE_FSC_KEY_TEXT, INTF_TOGGLE_FSC_KEY_TEXT)
2710 add_obsolete_inner( "key-intf-hide", CONFIG_ITEM_KEY )
2712 add_key("key-intf-boss", KEY_INTF_BOSS,
2713 INTF_BOSS_KEY_TEXT, INTF_BOSS_KEY_LONGTEXT)
2714 add_key("key-intf-popup-menu", KEY_INTF_POPUP_MENU,
2715 INTF_POPUP_MENU_KEY_TEXT, INTF_POPUP_MENU_KEY_LONGTEXT)
2716 add_key("key-snapshot", KEY_SNAPSHOT, SNAP_KEY_TEXT, SNAP_KEY_LONGTEXT)
2717 add_key("key-record", KEY_RECORD, RECORD_KEY_TEXT, RECORD_KEY_LONGTEXT)
2718 add_key("key-zoom", KEY_ZOOM, ZOOM_KEY_TEXT, ZOOM_KEY_LONGTEXT)
2719 add_key("key-unzoom", KEY_UNZOOM, UNZOOM_KEY_TEXT, UNZOOM_KEY_LONGTEXT)
2720 add_key("key-wallpaper", KEY_WALLPAPER,
2721 WALLPAPER_KEY_TEXT, WALLPAPER_KEY_LONGTEXT)
2723 add_key("key-crop-top", KEY_CROP_TOP,
2724 CROP_TOP_KEY_TEXT, CROP_TOP_KEY_LONGTEXT)
2725 add_key("key-uncrop-top", KEY_UNCROP_TOP,
2726 UNCROP_TOP_KEY_TEXT, UNCROP_TOP_KEY_LONGTEXT)
2727 add_key("key-crop-left", KEY_CROP_LEFT,
2728 CROP_LEFT_KEY_TEXT, CROP_LEFT_KEY_LONGTEXT)
2729 add_key("key-uncrop-left", KEY_UNCROP_LEFT,
2730 UNCROP_LEFT_KEY_TEXT, UNCROP_LEFT_KEY_LONGTEXT)
2731 add_key("key-crop-bottom", KEY_CROP_BOTTOM,
2732 CROP_BOTTOM_KEY_TEXT, CROP_BOTTOM_KEY_LONGTEXT)
2733 add_key("key-uncrop-bottom", KEY_UNCROP_BOTTOM,
2734 UNCROP_BOTTOM_KEY_TEXT, UNCROP_BOTTOM_KEY_LONGTEXT)
2735 add_key("key-crop-right", KEY_CROP_RIGHT,
2736 CROP_RIGHT_KEY_TEXT, CROP_RIGHT_KEY_LONGTEXT)
2737 add_key("key-uncrop-right", KEY_UNCROP_RIGHT,
2738 UNCROP_RIGHT_KEY_TEXT, UNCROP_RIGHT_KEY_LONGTEXT)
2739 add_key("key-random", KEY_RANDOM, RANDOM_KEY_TEXT, RANDOM_KEY_LONGTEXT)
2740 add_key("key-loop", KEY_LOOP, LOOP_KEY_TEXT, LOOP_KEY_LONGTEXT)
2742 add_key("key-viewpoint-fov-in", KEY_VIEWPOINT_FOV_IN,
2743 VIEWPOINT_FOV_IN_KEY_TEXT, VIEWPOINT_FOV_IN_KEY_TEXT)
2744 add_key("key-viewpoint-fov-out", KEY_VIEWPOINT_FOV_OUT,
2745 VIEWPOINT_FOV_OUT_KEY_TEXT, VIEWPOINT_FOV_OUT_KEY_TEXT)
2746 add_key("key-viewpoint-roll-clock", NULL,
2747 VIEWPOINT_ROLL_CLOCK_KEY_TEXT, VIEWPOINT_ROLL_CLOCK_KEY_TEXT)
2748 add_key("key-viewpoint-roll-anticlock", NULL,
2749 VIEWPOINT_ROLL_ANTICLOCK_KEY_TEXT,
2750 VIEWPOINT_ROLL_ANTICLOCK_KEY_TEXT)
2752 add_key("key-zoom-quarter", KEY_ZOOM_QUARTER, ZOOM_QUARTER_KEY_TEXT, NULL)
2753 add_key("key-zoom-half", KEY_ZOOM_HALF, ZOOM_HALF_KEY_TEXT, NULL)
2754 add_key("key-zoom-original", KEY_ZOOM_ORIGINAL,
2755 ZOOM_ORIGINAL_KEY_TEXT, NULL)
2756 add_key("key-zoom-double", KEY_ZOOM_DOUBLE, ZOOM_DOUBLE_KEY_TEXT, NULL)
2758 set_section ( N_("Jump sizes" ), NULL )
2759 add_integer( "extrashort-jump-size", 3, JIEXTRASHORT_TEXT,
2760 JIEXTRASHORT_LONGTEXT, false )
2761 add_integer( "short-jump-size", 10, JISHORT_TEXT,
2762 JISHORT_LONGTEXT, false )
2763 add_integer( "medium-jump-size", 60, JIMEDIUM_TEXT,
2764 JIMEDIUM_LONGTEXT, false )
2765 add_integer( "long-jump-size", 300, JILONG_TEXT,
2766 JILONG_LONGTEXT, false )
2768 /* HACK so these don't get displayed */
2769 set_category( -1 )
2770 set_subcategory( -1 )
2771 add_key("key-set-bookmark1", KEY_SET_BOOKMARK1,
2772 SET_BOOKMARK1_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT)
2773 add_key("key-set-bookmark2", KEY_SET_BOOKMARK2,
2774 SET_BOOKMARK2_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT)
2775 add_key("key-set-bookmark3", KEY_SET_BOOKMARK3,
2776 SET_BOOKMARK3_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT)
2777 add_key("key-set-bookmark4", KEY_SET_BOOKMARK4,
2778 SET_BOOKMARK4_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT)
2779 add_key("key-set-bookmark5", KEY_SET_BOOKMARK5,
2780 SET_BOOKMARK5_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT)
2781 add_key("key-set-bookmark6", KEY_SET_BOOKMARK6,
2782 SET_BOOKMARK6_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT)
2783 add_key("key-set-bookmark7", KEY_SET_BOOKMARK7,
2784 SET_BOOKMARK7_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT)
2785 add_key("key-set-bookmark8", KEY_SET_BOOKMARK8,
2786 SET_BOOKMARK8_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT)
2787 add_key("key-set-bookmark9", KEY_SET_BOOKMARK9,
2788 SET_BOOKMARK9_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT)
2789 add_key("key-set-bookmark10", KEY_SET_BOOKMARK10,
2790 SET_BOOKMARK10_KEY_TEXT, SET_BOOKMARK_KEY_LONGTEXT)
2791 add_key("key-play-bookmark1", KEY_PLAY_BOOKMARK1,
2792 PLAY_BOOKMARK1_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT)
2793 add_key("key-play-bookmark2", KEY_PLAY_BOOKMARK2,
2794 PLAY_BOOKMARK2_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT)
2795 add_key("key-play-bookmark3", KEY_PLAY_BOOKMARK3,
2796 PLAY_BOOKMARK3_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT)
2797 add_key("key-play-bookmark4", KEY_PLAY_BOOKMARK4,
2798 PLAY_BOOKMARK4_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT)
2799 add_key("key-play-bookmark5", KEY_PLAY_BOOKMARK5,
2800 PLAY_BOOKMARK5_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT)
2801 add_key("key-play-bookmark6", KEY_PLAY_BOOKMARK6,
2802 PLAY_BOOKMARK6_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT)
2803 add_key("key-play-bookmark7", KEY_PLAY_BOOKMARK7,
2804 PLAY_BOOKMARK7_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT)
2805 add_key("key-play-bookmark8", KEY_PLAY_BOOKMARK8,
2806 PLAY_BOOKMARK8_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT)
2807 add_key("key-play-bookmark9", KEY_PLAY_BOOKMARK9,
2808 PLAY_BOOKMARK9_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT)
2809 add_key("key-play-bookmark10", KEY_PLAY_BOOKMARK10,
2810 PLAY_BOOKMARK10_KEY_TEXT, PLAY_BOOKMARK_KEY_LONGTEXT)
2811 add_key("key-clear-playlist", KEY_PLAY_CLEAR,
2812 PLAY_CLEAR_KEY_TEXT, PLAY_CLEAR_KEY_LONGTEXT)
2814 add_key("key-subtitle-text-scale-normal", KEY_SUBTEXT_SCALE,
2815 SUBTEXT_SCALE_KEY_TEXT, SUBTEXT_SCALE_KEY_LONGTEXT)
2816 add_key("key-subtitle-text-scale-up", KEY_SUBTEXT_SCALEUP,
2817 SUBTEXT_SCALEUP_KEY_TEXT, SUBTEXT_SCALE_KEY_LONGTEXT)
2818 add_key("key-subtitle-text-scale-down", KEY_SUBTEXT_SCALEDOWN,
2819 SUBTEXT_SCALEDOWN_KEY_TEXT, SUBTEXT_SCALE_KEY_LONGTEXT)
2821 add_string( "bookmark1", NULL,
2822 BOOKMARK1_TEXT, BOOKMARK_LONGTEXT, false )
2823 add_string( "bookmark2", NULL,
2824 BOOKMARK2_TEXT, BOOKMARK_LONGTEXT, false )
2825 add_string( "bookmark3", NULL,
2826 BOOKMARK3_TEXT, BOOKMARK_LONGTEXT, false )
2827 add_string( "bookmark4", NULL,
2828 BOOKMARK4_TEXT, BOOKMARK_LONGTEXT, false )
2829 add_string( "bookmark5", NULL,
2830 BOOKMARK5_TEXT, BOOKMARK_LONGTEXT, false )
2831 add_string( "bookmark6", NULL,
2832 BOOKMARK6_TEXT, BOOKMARK_LONGTEXT, false )
2833 add_string( "bookmark7", NULL,
2834 BOOKMARK7_TEXT, BOOKMARK_LONGTEXT, false )
2835 add_string( "bookmark8", NULL,
2836 BOOKMARK8_TEXT, BOOKMARK_LONGTEXT, false )
2837 add_string( "bookmark9", NULL,
2838 BOOKMARK9_TEXT, BOOKMARK_LONGTEXT, false )
2839 add_string( "bookmark10", NULL,
2840 BOOKMARK10_TEXT, BOOKMARK_LONGTEXT, false )
2842 #define HELP_TEXT \
2843 N_("print help for VLC (can be combined with --advanced and " \
2844 "--help-verbose)")
2845 #define FULL_HELP_TEXT \
2846 N_("Exhaustive help for VLC and its modules")
2847 #define LONGHELP_TEXT \
2848 N_("print help for VLC and all its modules (can be combined with " \
2849 "--advanced and --help-verbose)")
2850 #define HELP_VERBOSE_TEXT \
2851 N_("ask for extra verbosity when displaying help")
2852 #define LIST_TEXT \
2853 N_("print a list of available modules")
2854 #define LIST_VERBOSE_TEXT \
2855 N_("print a list of available modules with extra detail")
2856 #define MODULE_TEXT \
2857 N_("print help on a specific module (can be combined with --advanced " \
2858 "and --help-verbose). Prefix the module name with = for strict " \
2859 "matches.")
2860 #define IGNORE_CONFIG_TEXT \
2861 N_("no configuration option will be loaded nor saved to config file")
2862 #define RESET_CONFIG_TEXT \
2863 N_("reset the current config to the default values")
2864 #define CONFIG_TEXT \
2865 N_("use alternate config file")
2866 #define RESET_PLUGINS_CACHE_TEXT \
2867 N_("resets the current plugins cache")
2868 #define VERSION_TEXT \
2869 N_("print version information")
2871 add_bool( "help", false, HELP_TEXT, "", false )
2872 change_short( 'h' )
2873 change_volatile ()
2874 add_bool( "full-help", false, FULL_HELP_TEXT, "", false )
2875 change_short( 'H' )
2876 change_volatile ()
2877 add_bool( "longhelp", false, LONGHELP_TEXT, "", false )
2878 change_volatile ()
2879 add_bool( "help-verbose", false, HELP_VERBOSE_TEXT, "",
2880 false )
2881 change_volatile ()
2882 add_bool( "list", false, LIST_TEXT, "", false )
2883 change_short( 'l' )
2884 change_volatile ()
2885 add_bool( "list-verbose", false, LIST_VERBOSE_TEXT, "",
2886 false )
2887 change_volatile ()
2888 add_string( "module", NULL, MODULE_TEXT, "", false )
2889 change_short( 'p' )
2890 change_volatile ()
2891 add_bool( "ignore-config", true, IGNORE_CONFIG_TEXT, "", false )
2892 change_volatile ()
2893 add_obsolete_bool( "save-config" )
2894 add_bool( "reset-config", false, RESET_CONFIG_TEXT, "", false )
2895 change_volatile ()
2896 #ifdef HAVE_DYNAMIC_PLUGINS
2897 add_bool( "reset-plugins-cache", false,
2898 RESET_PLUGINS_CACHE_TEXT, "", false )
2899 change_volatile ()
2900 #endif
2901 add_bool( "version", false, VERSION_TEXT, "", false )
2902 change_volatile ()
2903 add_string( "config", NULL, CONFIG_TEXT, "", false )
2904 change_volatile ()
2906 /* Usage (mainly useful for cmd line stuff) */
2907 /* add_usage_hint( PLAYLIST_USAGE ) */
2909 set_description( N_("core program") )
2910 vlc_module_end ()
2912 /*****************************************************************************
2913 * End configuration.
2914 *****************************************************************************/
2916 #ifdef HAVE_DYNAMIC_PLUGINS
2917 const char vlc_module_name[] = "main";
2918 #endif