annotate help_mp.h @ 1581:435f0a0e6a5c

error messages added
author arpi
date Sat, 18 Aug 2001 19:50:33 +0000
parents 94a564660308
children e49b3927c793
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 static char* banner_text=
340
1f7c824033fb less, and more informal printfs
arpi_esp
parents: 211
diff changeset
2 "\n\n"
1418
94a564660308 removed email
arpi
parents: 1212
diff changeset
3 "MPlayer " VERSION "(C) 2000-2001 Arpad Gereoffy (see DOCS/AUTHORS)\n"
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 "\n";
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5
737
e8d5e6d4d85f '--help' bug fixed
pontscho
parents: 732
diff changeset
6 static char help_text[]=
1212
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
7 "Usage: mplayer [options] [path/]name\n"
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 "\n"
1212
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
9 "Options:\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
10 " -vo <drv[:dev]> select video output driver & device (see '-vo help' for list)\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
11 " -ao <drv[:dev]> select audio output driver & device (see '-ao help' for list)\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
12 " -vcd <trackno> play VCD (video cd) track from device instead of plain file\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
13 #ifdef HAVE_LIBCSS
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
14 " -dvdauth <dev> specify DVD device for authentication (for encrypted discs)\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
15 #endif
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
16 " -ss <timepos> seek to given (seconds or hh:mm:ss) position\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
17 " -nosound don't play sound\n"
732
e14114170e01 applied 'fakemono' patch by Bryan Chan scorpio@acm.org
arpi_esp
parents: 514
diff changeset
18 #ifdef USE_FAKE_MONO
1212
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
19 " -stereo select MPEG1 stereo output (0:stereo 1:left 2:right)\n"
732
e14114170e01 applied 'fakemono' patch by Bryan Chan scorpio@acm.org
arpi_esp
parents: 514
diff changeset
20 #endif
1212
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
21 " -fs -vm -zoom fullscreen playing options (fullscr,vidmode chg,softw.scale)\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
22 " -x <x> -y <y> scale image to <x> * <y> resolution [if -vo driver supports!]\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
23 " -sub <file> specify subtitle file to use (see also -subfps, -subdelay)\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
24 " -vid x -aid y options to select video (x) and audio (y) stream to play\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
25 " -fps x -srate y options to change video (x fps) and audio (y Hz) rate\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
26 " -pp <quality> enable postprocessing filter (0-4 for DivX, 0-63 for mpegs)\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
27 " -bps use alternative A-V sync method for AVI files (may help!)\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
28 " -framedrop enable frame-dropping (for slow machines)\n"
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 "\n"
1212
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
30 "Keys:\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
31 " <- or -> seek backward/forward 10 seconds\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
32 " up or down seek backward/forward 1 minute\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
33 " p or SPACE pause movie (press any key to continue)\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
34 " q or ESC stop playing and quit program\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
35 " + or - adjust audio delay by +/- 0.1 second\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
36 " o cycle OSD mode: none / seekbar / seekbar+timer\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
37 " * or / increase or decrease volume (press 'm' to select master/pcm)\n"
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
38 " z or x adjust subtitle delay by +/- 0.1 second\n"
808
e174a142324b RTFM note added ;)
gabucino
parents: 737
diff changeset
39 "\n"
1212
739f4245c421 updated for release
arpi_esp
parents: 1206
diff changeset
40 " * * * SEE MANPAGE FOR DETAILS, FURTHER OPTIONS AND KEYS ! * * *\n"
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 "\n";
1581
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
42
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
43 // mplayer.c:
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
44
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
45 #define MSGTR_Exiting "\nExiting... (%s)\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
46 #define MSGTR_Exit_frames "Requested number of frames played"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
47 #define MSGTR_Exit_quit "Quit"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
48 #define MSGTR_Exit_eof "End of file"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
49 #define MSGTR_IntBySignal "\nMPlayer interrupted by signal %d in module: %s \n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
50 #define MSGTR_NoHomeDir "Can't find HOME dir\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
51 #define MSGTR_GetpathProblem "get_path(\"config\") problem\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
52 #define MSGTR_CreatingCfgFile "Creating config file: %s\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
53 #define MSGTR_InvalidVOdriver "Invalid video output driver name: %s\nUse '-vo help' to get a list of available video drivers.\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
54 #define MSGTR_InvalidAOdriver "Invalid audio output driver name: %s\nUse '-ao help' to get a list of available audio drivers.\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
55 #define MSGTR_CopyCodecsConf "(copy/link DOCS/codecs.conf to ~/.mplayer/codecs.conf)\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
56 #define MSGTR_CantLoadFont "Can't load font: %s\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
57 #define MSGTR_CantLoadSub "Can't load subtitles: %s\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
58 #define MSGTR_ErrorDVDkey "Error processing DVD KEY.\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
59 #define MSGTR_CmdlineDVDkey "DVD command line requested key is stored for descrambling.\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
60 #define MSGTR_DVDauthOk "DVD auth sequence seems to be OK.\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
61 #define MSGTR_DumpSelectedSteramMissing "dump: FATAL: selected stream missing!\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
62 #define MSGTR_CantOpenDumpfile "Can't open dump file!!!\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
63 #define MSGTR_CoreDumped "core dumped :)\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
64 #define MSGTR_FPSnotspecified "FPS not specified (or invalid) in the header! Use the -fps option!\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
65 #define MSGTR_NoVideoStream "Sorry, no video stream... it's unplayable yet\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
66 #define MSGTR_TryForceAudioFmt "Trying to force audio codec driver family %d ...\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
67 #define MSGTR_CantFindAfmtFallback "Can't find audio codec for forced driver family, fallback to other drivers.\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
68 #define MSGTR_CantFindAudioCodec "Can't find codec for audio format 0x%X !\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
69 #define MSGTR_TryUpgradeCodecsConfOrRTFM "*** Try to upgrade %s from DOCS/codecs.conf\n*** If it's still not OK, then read DOCS/CODECS!\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
70 #define MSGTR_CouldntInitAudioCodec "Couldn't initialize audio codec! -> nosound\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
71 #define MSGTR_TryForceVideoFmt "Trying to force video codec driver family %d ...\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
72 #define MSGTR_CantFindVfmtFallback "Can't find video codec for forced driver family, fallback to other drivers.\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
73 #define MSGTR_CantFindVideoCodec "Can't find codec for video format 0x%X !\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
74 #define MSGTR_VOincompCodec "Sorry, selected video_out device is incompatible with this codec.\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
75 #define MSGTR_CouldntInitVideoCodec "FATAL: Couldn't initialize video codec :(\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
76 #define MSGTR_EncodeFileExists "File already exists: %s (don't overwrite your favourite AVI!)\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
77 #define MSGTR_CantCreateEncodeFile "Cannot create file for encoding\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
78 #define MSGTR_CannotInitVO "FATAL: Cannot initialize video driver!\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
79 #define MSGTR_CannotInitAO "couldn't open/init audio device -> NOSOUND\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
80 #define MSGTR_StartPlaying "Start playing...\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
81 #define MSGTR_SystemTooSlow "\n************************************************************************"\
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
82 "\n** Your system is too SLOW to play this! try with -framedrop or RTFM! **"\
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
83 "\n************************************************************************\n"
435f0a0e6a5c error messages added
arpi
parents: 1418
diff changeset
84 //#define MSGTR_