annotate cfg-common.h @ 2643:9d0a638e211a

divx4 2-pass support, -frames option
author arpi
date Sat, 03 Nov 2001 00:44:02 +0000
parents f96462d7453e
children 98769cea155c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2616
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
1
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
2 // ------------------------- stream options --------------------
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
3
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
4 #ifdef USE_STREAM_CACHE
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
5 {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 4, 65536},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
6 #else
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
7 {"cache", "MPlayer was compiled WITHOUT cache2 support", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
8 #endif
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
9 {"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
10 #ifdef USE_DVDREAD
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
11 {"dvd", &dvd_title, CONF_TYPE_INT, CONF_RANGE, 1, 99},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
12 {"dvdangle", &dvd_angle, CONF_TYPE_INT, CONF_RANGE, 1, 99},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
13 {"chapter", &dvd_chapter, CONF_TYPE_INT, CONF_RANGE, 1, 99},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
14 #else
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
15 {"dvd", "MPlayer was compiled WITHOUT libdvdread support!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
16 #endif
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
17
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
18 #ifdef HAVE_LIBCSS
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
19 {"dvdauth", &dvd_auth_device, CONF_TYPE_STRING, 0, 0, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
20 {"dvdkey", &dvdimportkey, CONF_TYPE_STRING, 0, 0, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
21 // {"dvd", "Option -dvd will be \"full disk\" mode, old meaning has been renamed to -dvdauth.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
22 #else
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
23 // {"dvd", "DVD support was not compiled in. See file DOCS/DVD.\n",
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
24 // CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
25 #ifdef USE_DVDREAD
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
26 {"dvdkey", "MPlayer was compiled with libdvdread support, this option not available.\n",
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
27 CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
28 {"dvdauth", "MPlayer was compiled with libdvdread support! Use option -dvd !\n",
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
29 CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
30 #else
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
31 {"dvdkey", "DVD support was not compiled in. See file DOCS/DVD.\n",
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
32 CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
33 {"dvdauth", "DVD support was not compiled in. See file DOCS/DVD.\n",
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
34 CONF_TYPE_PRINT, CONF_NOCFG, 0 , 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
35 #endif
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
36 #endif
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
37
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
38 // ------------------------- demuxer options --------------------
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
39
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
40 {"bps", &pts_from_bps, CONF_TYPE_FLAG, 0, 0, 1},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
41 {"nobps", &pts_from_bps, CONF_TYPE_FLAG, 0, 1, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
42
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
43 {"ni", &force_ni, CONF_TYPE_FLAG, 0, 0, 1},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
44 {"noni", &force_ni, CONF_TYPE_FLAG, 0, 1, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
45
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
46 {"noidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
47 {"idx", &index_mode, CONF_TYPE_FLAG, 0, -1, 1},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
48 {"forceidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 2},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
49
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
50 {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 255},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
51 {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 255},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
52 {"sid", &dvdsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
53
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
54 // ------------------------- a-v sync options --------------------
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
55
2643
9d0a638e211a divx4 2-pass support, -frames option
arpi
parents: 2616
diff changeset
56 {"frames", &play_n_frames, CONF_TYPE_INT, CONF_MIN, 0, 0},
9d0a638e211a divx4 2-pass support, -frames option
arpi
parents: 2616
diff changeset
57
2616
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
58 {"mc", &default_max_pts_correction, CONF_TYPE_FLOAT, CONF_RANGE, 0, 10},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
59 {"fps", &force_fps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
60 {"srate", &force_srate, CONF_TYPE_INT, CONF_RANGE, 1000, 8*48000},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
61
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
62 // ------------------------- codec/pp options --------------------
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
63
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
64 #ifdef USE_FAKE_MONO
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
65 {"stereo", &fakemono, CONF_TYPE_INT, CONF_RANGE, 0, 2},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
66 #endif
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
67
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
68 {"afm", &audio_family, CONF_TYPE_INT, CONF_RANGE, 0, 13}, // keep ranges in sync
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
69 {"vfm", &video_family, CONF_TYPE_INT, CONF_RANGE, 0, 10}, // with codec-cfg.c
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
70 {"ac", &audio_codec, CONF_TYPE_STRING, 0, 0, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
71 {"vc", &video_codec, CONF_TYPE_STRING, 0, 0, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
72
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
73 {"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n",
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
74 CONF_TYPE_PRINT, 0, 0, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
75 {"pp", &divx_quality, CONF_TYPE_INT, CONF_MIN, 0, 63},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
76 #ifdef HAVE_ODIVX_POSTPROCESS
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
77 {"oldpp", &use_old_pp, CONF_TYPE_FLAG, 0, 0, 1},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
78 #else
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
79 {"oldpp", "MPlayer was compiled without opendivx library", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
80 #endif
f96462d7453e common options moved out - for mencoder
arpi
parents:
diff changeset
81