root/src/libvlc-module.c

Revision e3272bb4f74cd55e727d3835f4098aa24a8ac053, 115.5 kB (checked in by Rémi Denis-Courmont <rdenis@simphalempin.com>, 1 day ago)

Oups

  • Property mode set to 100644
Line 
1 /*****************************************************************************
2  * libvlc.h: Options for the main (libvlc itself) module
3  *****************************************************************************
4  * Copyright (C) 1998-2006 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Vincent Seguin <seguin@via.ecp.fr>
8  *          Samuel Hocevar <sam@zoy.org>
9  *          Gildas Bazin <gbazin@videolan.org>
10  *          Jean-Paul Saman <jpsaman #_at_# m2x.nl>
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
25  *****************************************************************************/
26
27 // Pretend we are a builtin module
28 #define MODULE_NAME main
29 #define MODULE_PATH main
30 #define __BUILTIN__
31
32
33 #ifdef HAVE_CONFIG_H
34 # include "config.h"
35 #endif
36
37 #include <vlc_common.h>
38 #include <vlc_plugin.h>
39 #include "libvlc.h"
40
41 //#define Nothing here, this is just to prevent update-po from being stupid
42 #include "vlc_keys.h"
43 #include "vlc_meta.h"
44
45 #if defined (WIN32) || defined (__APPLE__)
46 static const char *const ppsz_language[] =
47 {
48     "auto",
49     "en",
50     "ar",
51     "pt_BR",
52     "en_GB",
53     "ca",
54     "zh_TW",
55     "cs",
56     "da",
57     "nl",
58     "fi",
59     "fr",
60     "gl",
61     "ka",
62     "de",
63     "he",
64     "hu",
65     "it",
66     "ja",
67     "ko",
68     "ms",
69     "oc",
70     "fa",
71     "pl",
72     "pt_PT",
73     "ro",
74     "ru",
75     "zh_CN",
76     "sr",
77     "sk",
78     "sl",
79     "es",
80     "sv",
81     "tr"
82 };
83
84 static const char *const ppsz_language_text[] =
85 {
86     N_("Auto"),
87     N_("American English"),
88     N_("Arabic"),
89     N_("Brazilian Portuguese"),
90     N_("British English"),
91     N_("Catalan"),
92     N_("Chinese Traditional"),
93     N_("Czech"),
94     N_("Danish"),
95     N_("Dutch"),
96     N_("Finnish"),
97     N_("French"),
98     N_("Galician"),
99     N_("Georgian"),
100     N_("German"),
101     N_("Hebrew"),
102     N_("Hungarian"),
103     N_("Italian"),
104     N_("Japanese"),
105     N_("Korean"),
106     N_("Malay"),
107     N_("Occitan"),
108     N_("Persian"),
109     N_("Polish"),
110     N_("Portuguese"),
111     N_("Romanian"),
112     N_("Russian"),
113     N_("Simplified Chinese"),
114     N_("Serbian"),
115     N_("Slovak"),
116     N_("Slovenian"),
117     N_("Spanish"),
118     N_("Swedish"),
119     N_("Turkish")
120 };
121 #endif
122
123 static const char *const ppsz_snap_formats[] =
124 { "png", "jpg" };
125
126 /*****************************************************************************
127  * Configuration options for the main program. Each module will also separatly
128  * define its own configuration options.
129  * Look into configuration.h if you need to know more about the following
130  * macros.
131  *****************************************************************************/
132
133 /*****************************************************************************
134  * Intf
135  ****************************************************************************/
136
137 // DEPRECATED
138 #define INTF_CAT_LONGTEXT N_( \
139     "These options allow you to configure the interfaces used by VLC. " \
140     "You can select the main interface, additional " \
141     "interface modules, and define various related options." )
142
143 #define INTF_TEXT N_("Interface module")
144 #define INTF_LONGTEXT N_( \
145     "This is the main interface used by VLC. " \
146     "The default behavior is to automatically select the best module " \
147     "available.")
148
149 #define EXTRAINTF_TEXT N_("Extra interface modules")
150 #define EXTRAINTF_LONGTEXT N_( \
151     "You can select \"additional interfaces\" for VLC. " \
152     "They will be launched in the background in addition to the default " \
153     "interface. Use a comma separated list of interface modules. (common " \
154     "values are \"rc\" (remote control), \"http\", \"gestures\" ...)")
155
156 #define CONTROL_TEXT N_("Control interfaces")
157 #define CONTROL_LONGTEXT N_( \
158     "You can select control interfaces for VLC.")
159
160 #define VERBOSE_TEXT N_("Verbosity (0,1,2)")
161 #define VERBOSE_LONGTEXT N_( \
162     "This is the verbosity level (0=only errors and " \
163     "standard messages, 1=warnings, 2=debug).")
164
165 #define QUIET_TEXT N_("Be quiet")
166 #define QUIET_LONGTEXT N_( \
167     "Turn off all warning and information messages.")
168
169 #define OPEN_TEXT N_("Default stream")
170 #define OPEN_LONGTEXT N_( \
171     "This stream will always be opened at VLC startup." )
172
173 #define LANGUAGE_TEXT N_("Language")
174 #define LANGUAGE_LONGTEXT N_( "You can manually select a language for the " \
175     "interface. The system language is auto-detected if \"auto\" is " \
176     "specified here." )
177
178 #define COLOR_TEXT N_("Color messages")
179 #define COLOR_LONGTEXT N_( \
180     "This enables colorization of the messages sent to the console " \
181     "Your terminal needs Linux color support for this to work.")
182
183 #define ADVANCED_TEXT N_("Show advanced options")
184 #define ADVANCED_LONGTEXT N_( \
185     "When this is enabled, the preferences and/or interfaces will " \
186     "show all available options, including those that most users should " \
187     "never touch.")
188
189 #define SHOWINTF_TEXT N_("Show interface with mouse")
190 #define SHOWINTF_LONGTEXT N_( \
191     "When this is enabled, the interface is shown when you move the mouse to "\
192     "the edge of the screen in fullscreen mode." )
193
194 #define INTERACTION_TEXT N_("Interface interaction")
195 #define INTERACTION_LONGTEXT N_( \
196     "When this is enabled, the interface will show a dialog box each time " \
197     "some user input is required." )
198
199
200 /*****************************************************************************
201  * Audio
202  ****************************************************************************/
203
204 // DEPRECATED
205 #define AOUT_CAT_LONGTEXT N_( \
206     "These options allow you to modify the behavior of the audio " \
207     "subsystem, and to add audio filters which can be used for " \
208     "post processing or visual effects (spectrum analyzer, etc.). " \
209     "Enable these filters here, and configure them in the \"audio filters\" " \
210     "modules section.")
211
212 #define AOUT_TEXT N_("Audio output module")
213 #define AOUT_LONGTEXT N_( \
214     "This is the audio output method used by VLC. " \
215     "The default behavior is to automatically select the best method " \
216     "available.")
217
218 #define AUDIO_TEXT N_("Enable audio")
219 #define AUDIO_LONGTEXT N_( \
220     "You can completely disable the audio output. The audio " \
221     "decoding stage will not take place, thus saving some processing power.")
222
223 #if 0
224 #define MONO_TEXT N_("Force mono audio")
225 #define MONO_LONGTEXT N_("This will force a mono audio output.")
226 #endif
227
228 #define VOLUME_TEXT N_("Default audio volume")
229 #define VOLUME_LONGTEXT N_( \
230     "You can set the default audio output volume here, in a range from 0 to " \
231     "1024.")
232
233 #define VOLUME_SAVE_TEXT N_("Audio output saved volume")
234 #define VOLUME_SAVE_LONGTEXT N_( \
235     "This saves the audio output volume when you use the mute function. " \
236     "You should not change this option manually.")
237
238 #define VOLUME_STEP_TEXT N_("Audio output volume step")
239 #define VOLUME_STEP_LONGTEXT N_( \
240     "The step size of the volume is adjustable using this option, " \
241     "in a range from 0 to 1024." )
242
243 #define AOUT_RATE_TEXT N_("Audio output frequency (Hz)")
244 #define AOUT_RATE_LONGTEXT N_( \
245     "You can force the audio output frequency here. Common values are " \
246     "-1 (default), 48000, 44100, 32000, 22050, 16000, 11025, 8000.")
247
248 #if !defined( __APPLE__ )
249 #define AOUT_RESAMP_TEXT N_("High quality audio resampling")
250 #define AOUT_RESAMP_LONGTEXT N_( \
251     "This uses a high quality audio resampling algorithm. High quality "\
252     "audio resampling can be processor intensive so you can " \
253     "disable it and a cheaper resampling algorithm will be used instead.")
254 #endif
255
256 #define DESYNC_TEXT N_("Audio desynchronization compensation")
257 #define DESYNC_LONGTEXT N_( \
258     "This delays the audio output. The delay must be given in milliseconds." \
259     "This can be handy if you notice a lag between the video and the audio.")
260
261 #define MULTICHA_TEXT N_("Audio output channels mode")
262 #define MULTICHA_LONGTEXT N_( \
263     "This sets the audio output channels mode that will " \
264     "be used by default when possible (ie. if your hardware supports it as " \
265     "well as the audio stream being played).")
266
267 #define SPDIF_TEXT N_("Use S/PDIF when available")
268 #define SPDIF_LONGTEXT N_( \
269     "S/PDIF can be used by default when " \
270     "your hardware supports it as well as the audio stream being played.")
271
272 #define FORCE_DOLBY_TEXT N_("Force detection of Dolby Surround")
273 #define FORCE_DOLBY_LONGTEXT N_( \
274     "Use this when you know your stream is (or is not) encoded with Dolby "\
275     "Surround but fails to be detected as such. Even if the stream is "\
276     "not actually encoded with Dolby Surround, turning on this option might "\
277     "enhance your experience, especially when combined with the Headphone "\
278     "Channel Mixer." )
279 static const int pi_force_dolby_values[] = { 0, 1, 2 };
280 static const char *const ppsz_force_dolby_descriptions[] = {
281     N_("Auto"), N_("On"), N_("Off") };
282
283
284 #define AUDIO_FILTER_TEXT N_("Audio filters")
285 #define AUDIO_FILTER_LONGTEXT N_( \
286     "This adds audio post processing filters, to modify " \
287     "the sound rendering." )
288
289 #define AUDIO_VISUAL_TEXT N_("Audio visualizations ")
290 #define AUDIO_VISUAL_LONGTEXT N_( \
291     "This adds visualization modules (spectrum analyzer, etc.).")
292
293
294 #define AUDIO_REPLAY_GAIN_MODE_TEXT N_( \
295     "Replay gain mode" )
296 #define AUDIO_REPLAY_GAIN_MODE_LONGTEXT N_( \
297     "Select the replay gain mode" )
298 #define AUDIO_REPLAY_GAIN_PREAMP_TEXT N_( \
299     "Replay preamp" )
300 #define AUDIO_REPLAY_GAIN_PREAMP_LONGTEXT N_( \
301     "This allows you to change the default target level (89 dB) " \
302     "for stream with replay gain information" )
303 #define AUDIO_REPLAY_GAIN_DEFAULT_TEXT N_( \
304     "Default replay gain" )
305 #define AUDIO_REPLAY_GAIN_DEFAULT_LONGTEXT N_( \
306     "This is the gain used for stream without replay gain information" )
307 #define AUDIO_REPLAY_GAIN_PEAK_PROTECTION_TEXT N_( \
308     "Peak protection" )
309 #define AUDIO_REPLAY_GAIN_PEAK_PROTECTION_LONGTEXT N_( \
310     "Protect against sound clipping" )
311
312 static const char *const ppsz_replay_gain_mode[] = {
313     "none", "track", "album" };
314 static const char *const ppsz_replay_gain_mode_text[] = {
315     N_("None"), N_("Track"), N_("Album") };
316
317 /*****************************************************************************
318  * Video
319  ****************************************************************************/
320
321 // DEPRECATED
322 #define VOUT_CAT_LONGTEXT N_( \
323     "These options allow you to modify the behavior of the video output " \
324     "subsystem. You can for example enable video filters (deinterlacing, " \
325     "image adjusting, etc.). Enable these filters here and configure " \
326     "them in the \"video filters\" modules section. You can also set many " \
327     "miscellaneous video options." )
328
329 #define VOUT_TEXT N_("Video output module")
330 #define VOUT_LONGTEXT N_( \
331     "This is the the video output method used by VLC. " \
332     "The default behavior is to automatically select the best method available.")
333
334 #define VIDEO_TEXT N_("Enable video")
335 #define VIDEO_LONGTEXT N_( \
336     "You can completely disable the video output. The video " \
337     "decoding stage will not take place, thus saving some processing power.")
338
339 #define WIDTH_TEXT N_("Video width")
340 #define WIDTH_LONGTEXT N_( \
341     "You can enforce the video width. By default (-1) VLC will " \
342     "adapt to the video characteristics.")
343
344 #define HEIGHT_TEXT N_("Video height")
345 #define HEIGHT_LONGTEXT N_( \
346     "You can enforce the video height. By default (-1) VLC will " \
347     "adapt to the video characteristics.")
348
349 #define VIDEOX_TEXT N_("Video X coordinate")
350 #define VIDEOX_LONGTEXT N_( \
351     "You can enforce the position of the top left corner of the video window "\
352     "(X coordinate).")
353
354 #define VIDEOY_TEXT N_("Video Y coordinate")
355 #define VIDEOY_LONGTEXT N_( \
356     "You can enforce the position of the top left corner of the video window "\
357     "(Y coordinate).")
358
359 #define VIDEO_TITLE_TEXT N_("Video title")
360 #define VIDEO_TITLE_LONGTEXT N_( \
361     "Custom title for the video window (in case the video is not embedded in "\
362     "the interface).")
363
364 #define ALIGN_TEXT N_("Video alignment")
365 #define ALIGN_LONGTEXT N_( \
366     "Enforce the alignment of the video in its window. By default (0) it " \
367     "will be centered (0=center, 1=left, 2=right, 4=top, 8=bottom, you can " \
368     "also use combinations of these values, like 6=4+2 meaning top-right).")
369 static const int pi_align_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
370 static const char *const ppsz_align_descriptions[] =
371 { N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
372   N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") };
373
374 #define ZOOM_TEXT N_("Zoom video")
375 #define ZOOM_LONGTEXT N_( \
376     "You can zoom the video by the specified factor.")
377
378 #define GRAYSCALE_TEXT N_("Grayscale video output")
379 #define GRAYSCALE_LONGTEXT N_( \
380     "Output video in grayscale. As the color information aren't decoded, " \
381     "this can save some processing power." )
382
383 #define EMBEDDED_TEXT N_("Embedded video")
384 #define EMBEDDED_LONGTEXT N_( \
385     "Embed the video output in the main interface." )
386
387 #define FULLSCREEN_TEXT N_("Fullscreen video output")
388 #define FULLSCREEN_LONGTEXT N_( \
389     "Start video in fullscreen mode" )
390
391 #define OVERLAY_TEXT N_("Overlay video output")
392 #define OVERLAY_LONGTEXT N_( \
393     "Overlay is the hardware acceleration capability of your video card " \
394     "(ability to render video directly). VLC will try to use it by default." )
395
396 #define VIDEO_ON_TOP_TEXT N_("Always on top")
397 #define VIDEO_ON_TOP_LONGTEXT N_( \
398     "Always place the video window on top of other windows." )
399
400 #define VIDEO_TITLE_SHOW_TEXT N_("Show media title on video.")
401 #define VIDEO_TITLE_SHOW_LONGTEXT N_( \
402     "Display the title of the video on top of the movie.")
403
404 #define VIDEO_TITLE_TIMEOUT_TEXT N_("Show video title for x miliseconds.")
405 #define VIDEO_TITLE_TIMEOUT_LONGTEXT N_( \
406     "Show the video title for n miliseconds, default is 5000 ms (5 sec.)")
407
408 #define VIDEO_TITLE_POSITION_TEXT N_("Position of video title.")
409 #define VIDEO_TITLE_POSITION_LONGTEXT N_( \
410     "Place on video where to display the title (default bottom center).")
411
412 #define MOUSE_HIDE_TIMEOUT_TEXT N_("Hide cursor and fullscreen " \
413                                    "controller after x miliseconds.")
414 #define MOUSE_HIDE_TIMEOUT_LONGTEXT N_( \
415     "Hide mouse cursor and fullscreen controller after " \
416     "n miliseconds, default is 3000 ms (3 sec.)")
417
418 static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
419 static const char *const ppsz_pos_descriptions[] =
420 { N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
421   N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") };
422
423 #define SS_TEXT N_("Disable screensaver")
424 #define SS_LONGTEXT N_("Disable the screensaver during video playback." )
425
426 #define INHIBIT_TEXT N_("Inhibits the power management daemon during playback.")
427 #define INHIBIT_LONGTEXT N_("Inhibits the power management daemon during any " \
428     "playback, to avoid the computer being suspended because of inactivity.")
429
430 #define VIDEO_DECO_TEXT N_("Window decorations")
431 #define VIDEO_DECO_LONGTEXT N_( \
432     "VLC can avoid creating window caption, frames, etc... around the video" \
433     ", giving a \"minimal\" window.")
434
435 #define VOUT_FILTER_TEXT N_("Video output filter module")
436 #define VOUT_FILTER_LONGTEXT N_( \
437     "This adds post-processing filters to enhance the " \
438     "picture quality, for instance deinterlacing, or to clone or distort " \
439     "the video window.")
440
441 #define VIDEO_FILTER_TEXT N_("Video filter module")
442 #define VIDEO_FILTER_LONGTEXT N_( \
443     "This adds post-processing filters to enhance the " \
444     "picture quality, for instance deinterlacing, or distort" \
445     "the video.")
446
447 #define SNAP_PATH_TEXT N_("Video snapshot directory (or filename)")
448 #define SNAP_PATH_LONGTEXT N_( \
449     "Directory where the video snapshots will be stored.")
450
451 #define SNAP_PREFIX_TEXT N_("Video snapshot file prefix")
452 #define SNAP_PREFIX_LONGTEXT N_( \
453     "Video snapshot file prefix" )
454
455 #define SNAP_FORMAT_TEXT N_("Video snapshot format")
456 #define SNAP_FORMAT_LONGTEXT N_( \
457     "Image format which will be used to store the video snapshots" )
458
459 #define SNAP_PREVIEW_TEXT N_("Display video snapshot preview")
460 #define SNAP_PREVIEW_LONGTEXT N_( \
461     "Display the snapshot preview in the screen's top-left corner.")
462
463 #define SNAP_SEQUENTIAL_TEXT N_("Use sequential numbers instead of timestamps")
464 #define SNAP_SEQUENTIAL_LONGTEXT N_( \
465     "Use sequential numbers instead of timestamps for snapshot numbering")
466
467 #define SNAP_WIDTH_TEXT N_("Video snapshot width")
468 #define SNAP_WIDTH_LONGTEXT N_( \
469     "You can enforce the width of the video snapshot. By default " \
470     "it will keep the original width (-1). Using 0 will scale the width " \
471     "to keep the aspect ratio." )
472
473 #define SNAP_HEIGHT_TEXT N_("Video snapshot height")
474 #define SNAP_HEIGHT_LONGTEXT N_( \
475     "You can enforce the height of the video snapshot. By default " \
476     "it will keep the original height (-1). Using 0 will scale the height " \
477     "to keep the aspect ratio." )
478
479 #define CROP_TEXT N_("Video cropping")
480 #define CROP_LONGTEXT N_( \
481     "This forces the cropping of the source video. " \
482     "Accepted formats are x:y (4:3, 16:9, etc.) expressing the global image " \
483     "aspect.")
484
485 #define ASPECT_RATIO_TEXT N_("Source aspect ratio")
486 #define ASPECT_RATIO_LONGTEXT N_( \
487     "This forces the source aspect ratio. For instance, some DVDs claim " \
488     "to be 16:9 while they are actually 4:3. This can also be used as a " \
489     "hint for VLC when a movie does not have aspect ratio information. " \
490     "Accepted formats are x:y (4:3, 16:9, etc.) expressing the global image " \
491     "aspect, or a float value (1.25, 1.3333, etc.) expressing pixel " \
492     "squareness.")
493
494 #define CUSTOM_CROP_RATIOS_TEXT N_("Custom crop ratios list")
495 #define CUSTOM_CROP_RATIOS_LONGTEXT N_( \
496     "Comma seperated list of crop ratios which will be added in the " \
497     "interface's crop ratios list.")
498
499 #define CUSTOM_ASPECT_RATIOS_TEXT N_("Custom aspect ratios list")
500 #define CUSTOM_ASPECT_RATIOS_LONGTEXT N_( \
501     "Comma seperated list of aspect ratios which will be added in the " \
502     "interface's aspect ratio list.")
503
504 #define HDTV_FIX_TEXT N_("Fix HDTV height")
505 #define HDTV_FIX_LONGTEXT N_( \
506     "This allows proper handling of HDTV-1080 video format " \
507     "even if broken encoder incorrectly sets height to 1088 lines. " \
508     "You should only disable this option if your video has a " \
509     "non-standard format requiring all 1088 lines.")
510
511 #define MASPECT_RATIO_TEXT N_("Monitor pixel aspect ratio")
512 #define MASPECT_RATIO_LONGTEXT N_( \
513     "This forces the monitor aspect ratio. Most monitors have square " \
514     "pixels (1:1). If you have a 16:9 screen, you might need to change this " \
515     "to 4:3 in order to keep proportions.")
516
517 #define SKIP_FRAMES_TEXT N_("Skip frames")
518 #define SKIP_FRAMES_LONGTEXT N_( \
519     "Enables framedropping on MPEG2 stream. Framedropping " \
520     "occurs when your computer is not powerful enough" )
521
522 #define DROP_LATE_FRAMES_TEXT N_("Drop late frames")
523 #define DROP_LATE_FRAMES_LONGTEXT N_( \
524     "This drops frames that are late (arrive to the video output after " \
525     "their intended display date)." )
526
527 #define QUIET_SYNCHRO_TEXT N_("Quiet synchro")
528 #define QUIET_SYNCHRO_LONGTEXT N_( \
529     "This avoids flooding the message log with debug output from the " \
530     "video output synchronization mechanism.")
531
532 /*****************************************************************************
533  * Input
534  ****************************************************************************/
535
536 // Deprecated
537 #define INPUT_CAT_LONGTEXT N_( \
538     "These options allow you to modify the behavior of the input " \
539     "subsystem, such as the DVD or VCD device, the network interface " \
540     "settings or the subtitle channel.")
541
542 #define CR_AVERAGE_TEXT N_("Clock reference average counter")
543 #define CR_AVERAGE_LONGTEXT N_( \
544     "When using the PVR input (or a very irregular source), you should " \
545     "set this to 10000.")
546
547 #define CLOCK_SYNCHRO_TEXT N_("Clock synchronisation")
548 #define CLOCK_SYNCHRO_LONGTEXT N_( \
549     "It is possible to disable the input clock synchronisation for " \
550     "real-time sources. Use this if you experience jerky playback of " \
551     "network streams.")
552
553 #define NETSYNC_TEXT N_("Network synchronisation" )
554 #define NETSYNC_LONGTEXT N_( "This allows you to remotely " \
555         "synchronise clocks for server and client. The detailed settings " \
556         "are available in Advanced / Network Sync." )
557
558 static const int pi_clock_values[] = { -1, 0, 1 };
559 static const char *const ppsz_clock_descriptions[] =
560 { N_("Default"), N_("Disable"), N_("Enable") };
561
562 #define SERVER_PORT_TEXT N_("UDP port")
563 #define SERVER_PORT_LONGTEXT N_( \
564     "This is the default port used for UDP streams. Default is 1234." )
565
566 #define MTU_TEXT N_("MTU of the network interface")
567 #define MTU_LONGTEXT N_( \
568     "This is the maximum application-layer packet size that can be " \
569     "transmitted over the network (in bytes).")
570 /* Should be less than 1500 - 8[ppp] - 40[ip6] - 8[udp] in any case. */
571 #define MTU_DEFAULT 1400
572
573 #define TTL_TEXT N_("Hop limit (TTL)")
574 #define TTL_LONGTEXT N_( \
575     "This is the hop limit (also known as \"Time-To-Live\" or TTL) of " \
576     "the multicast packets sent by the stream output (-1 = use operating " \
577     "system built-in default).")
578
579 #define MIFACE_TEXT N_("Multicast output interface")
580 #define MIFACE_LONGTEXT N_( \
581     "Default multicast interface. This overrides the routing table.")
582
583 #define MIFACE_ADDR_TEXT N_("IPv4 multicast output interface address")
584 #define MIFACE_ADDR_LONGTEXT N_( \
585     "IPv4 adress for the default multicast interface. This overrides " \
586     "the routing table.")
587
588 #define DSCP_TEXT N_("DiffServ Code Point")
589 #define DSCP_LONGTEXT N_("Differentiated Services Code Point " \
590     "for outgoing UDP streams (or IPv4 Type Of Service, " \
591     "or IPv6 Traffic Class). This is used for network Quality of Service.")
592
593 #define INPUT_PROGRAM_TEXT N_("Program")
594 #define INPUT_PROGRAM_LONGTEXT N_( \
595     "Choose the program to select by giving its Service ID. " \
596     "Only use this option if you want to read a multi-program stream " \
597     "(like DVB streams for example)." )
598
599 #define INPUT_PROGRAMS_TEXT N_("Programs")
600 #define INPUT_PROGRAMS_LONGTEXT N_( \
601     "Choose the programs to select by giving a comma-separated list of " \
602     "Service IDs (SIDs). " \
603     "Only use this option if you want to read a multi-program stream " \
604     "(like DVB streams for example)." )
605
606 /// \todo Document how to find it
607 #define INPUT_AUDIOTRACK_TEXT N_("Audio track")
608 #define INPUT_AUDIOTRACK_LONGTEXT N_( \
609     "Stream number of the audio track to use " \
610     "(from 0 to n).")
611
612 #define INPUT_SUBTRACK_TEXT N_("Subtitles track")
613 #define INPUT_SUBTRACK_LONGTEXT N_( \
614     "Stream number of the subtitle track to use " \
615     "(from 0 to n).")
616
617 #define INPUT_AUDIOTRACK_LANG_TEXT N_("Audio language")
618 #define INPUT_AUDIOTRACK_LANG_LONGTEXT N_( \
619     "Language of the audio track you want to use " \
620     "(comma separated, two or three letter country code).")
621
622 #define INPUT_SUBTRACK_LANG_TEXT N_("Subtitle language")
623 #define INPUT_SUBTRACK_LANG_LONGTEXT N_( \
624     "Language of the subtitle track you want to use " \
625     "(comma separated, two or tree letter country code).")
626
627 /// \todo Document how to find it
628 #define INPUT_AUDIOTRACK_ID_TEXT N_("Audio track ID")
629 #define INPUT_AUDIOTRACK_ID_LONGTEXT N_( \
630     "Stream ID of the audio track to use.")
631
632 #define INPUT_SUBTRACK_ID_TEXT N_("Subtitles track ID")
633 #define INPUT_SUBTRACK_ID_LONGTEXT N_( \
634     "Stream ID of the subtitle track to use.")
635
636 #define INPUT_REPEAT_TEXT N_("Input repetitions")
637 #define INPUT_REPEAT_LONGTEXT N_( \
638     "Number of time the same input will be repeated")
639
640 #define START_TIME_TEXT N_("Start time")
641 #define START_TIME_LONGTEXT N_( \
642     "The stream will start at this position (in seconds)." )
643
644 #define STOP_TIME_TEXT N_("Stop time")
645 #define STOP_TIME_LONGTEXT N_( \
646     "The stream will stop at this position (in seconds)." )
647
648 #define RUN_TIME_TEXT N_("Run time")
649 #define RUN_TIME_LONGTEXT N_( \
650     "The stream will run this duration (in seconds)." )
651
652 #define INPUT_LIST_TEXT N_("Input list")
653 #define INPUT_LIST_LONGTEXT N_( \
654     "You can give a comma-separated list " \
655     "of inputs that will be concatenated together after the normal one.")
656
657 #define INPUT_SLAVE_TEXT N_("Input slave (experimental)")
658 #define INPUT_SLAVE_LONGTEXT N_( \
659     "This allows you to play from several inputs at " \
660     "the same time. This feature is experimental, not all formats " \
661     "are supported. Use a '#' separated list of inputs.")
662
663 #define BOOKMARKS_TEXT N_("Bookmarks list for a stream")
664 #define BOOKMARKS_LONGTEXT N_( \
665     "You can manually give a list of bookmarks for a stream in " \
666     "the form \"{name=bookmark-name,time=optional-time-offset," \
667     "bytes=optional-byte-offset},{...}\"")
668
669 // DEPRECATED
670 #define SUB_CAT_LONGTEXT N_( \
671     "These options allow you to modify the behavior of the subpictures " \
672     "subsystem. You can for example enable subpictures filters (logo, etc.). " \
673     "Enable these filters here and configure them in the " \
674     "\"subpictures filters\" modules section. You can also set many " \
675     "miscellaneous subpictures options." )
676
677 #define SUB_MARGIN_TEXT N_("Force subtitle position")
678 #define SUB_MARGIN_LONGTEXT N_( \
679     "You can use this option to place the subtitles under the movie, " \
680     "instead of over the movie. Try several positions.")
681
682 #define SPU_TEXT N_("Enable sub-pictures")
683 #define SPU_LONGTEXT N_( \
684     "You can completely disable the sub-picture processing.")
685
686 #define OSD_TEXT N_("On Screen Display")
687 #define OSD_LONGTEXT N_( \
688     "VLC can display messages on the video. This is called OSD (On Screen " \
689     "Display).")
690
691 #define TEXTRENDERER_TEXT N_("Text rendering module")
692 #define TEXTRENDERER_LONGTEXT N_( \
693     "VLC normally uses Freetype for rendering, but this allows you to use svg for instance.")
694
695 #define SUB_FILTER_TEXT N_("Subpictures filter module")
696 #define SUB_FILTER_LONGTEXT N_( \
697     "This adds so-called \"subpicture filters\". These filters overlay " \
698     "some images or text over the video (like a logo, arbitrary text...)." )
699
700 #define SUB_AUTO_TEXT N_("Autodetect subtitle files")
701 #define SUB_AUTO_LONGTEXT N_( \
702     "Automatically detect a subtitle file, if no subtitle filename is " \
703     "specified (based on the filename of the movie).")
704
705 #define SUB_FUZZY_TEXT N_("Subtitle autodetection fuzziness")
706 #define SUB_FUZZY_LONGTEXT N_( \
707     "This determines how fuzzy subtitle and movie filename matching " \
708     "will be. Options are:\n" \
709     "0 = no subtitles autodetected\n" \
710     "1 = any subtitle file\n" \
711     "2 = any subtitle file containing the movie name\n" \
712     "3 = subtitle file matching the movie name with additional chars\n" \
713     "4 = subtitle file matching the movie name exactly")
714
715 #define SUB_PATH_TEXT N_("Subtitle autodetection paths")
716 #define SUB_PATH_LONGTEXT N_( \
717     "Look for a subtitle file in those paths too, if your subtitle " \
718     "file was not found in the current directory.")
719
720 #define SUB_FILE_TEXT N_("Use subtitle file")
721 #define SUB_FILE_LONGTEXT N_( \
722     "Load this subtitle file. To be used when autodetect cannot detect " \
723     "your subtitle file.")
724
725 #define DVD_DEV_TEXT N_("DVD device")
726 #ifdef WIN32
727 #define DVD_DEV_LONGTEXT N_( \
728     "This is the default DVD drive (or file) to use. Don't forget the colon " \
729     "after the drive letter (eg. D:)")
730 #else
731 #define DVD_DEV_LONGTEXT N_( \
732     "This is the default DVD device to use.")
733 #endif
734
735 #define VCD_DEV_TEXT N_("VCD device")
736 #ifdef HAVE_VCDX
737 #define VCD_DEV_LONGTEXT N_( \
738     "This is the default VCD device to use. " \
739     "If you don't specify anything, we'll scan for a suitable CD-ROM device." )
740 #else
741 #define VCD_DEV_LONGTEXT N_( \
742     "This is the default VCD device to use." )
743 #endif
744
745 #define CDAUDIO_DEV_TEXT N_("Audio CD device")
746 #ifdef HAVE_CDDAX
747 #define CDAUDIO_DEV_LONGTEXT N_( \
748     "This is the default Audio CD device to use. " \
749     "If you don't specify anything, we'll scan for a suitable CD-ROM device." )
750 #else
751 #define CDAUDIO_DEV_LONGTEXT N_( \
752     "This is the default Audio CD device to use." )
753 #endif
754
755 #define IPV6_TEXT N_("Force IPv6")
756 #define IPV6_LONGTEXT N_( \
757     "IPv6 will be used by default for all connections.")
758
759 #define IPV4_TEXT N_("Force IPv4")
760 #define IPV4_LONGTEXT N_( \
761     "IPv4 will be used by default for all connections.")
762
763 #define TIMEOUT_TEXT N_("TCP connection timeout")
764 #define TIMEOUT_LONGTEXT N_( \
765     "Default TCP connection timeout (in milliseconds). " )
766
767 #define SOCKS_SERVER_TEXT N_("SOCKS server")
768 #define SOCKS_SERVER_LONGTEXT N_( \
769