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