-
Notifications
You must be signed in to change notification settings - Fork 4
/
dvd_mpv.h
49 lines (45 loc) · 963 Bytes
/
dvd_mpv.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef DVD_INFO_MPV_H
#define DVD_INFO_MPV_H
struct dvd_player {
char config_dir[PATH_MAX];
char mpv_config_dir[PATH_MAX];
};
struct dvd_playback {
uint16_t track;
uint8_t first_chapter;
uint8_t last_chapter;
bool fullscreen;
bool deinterlace;
char audio_lang[3];
char audio_stream_id[4];
bool subtitles;
char subtitles_lang[3];
char subtitles_stream_id[4];
char mpv_chapters_range[32];
};
struct dvd_rip {
uint16_t track;
uint8_t first_chapter;
uint8_t last_chapter;
char filename[PATH_MAX];
char config_dir[PATH_MAX];
char mpv_config_dir[PATH_MAX];
char container[5];
bool encode_video;
char vcodec[256];
char vcodec_opts[256];
char vcodec_log_level[6];
bool encode_audio;
char audio_lang[3];
char audio_stream_id[4];
char acodec[256];
char acodec_opts[256];
uint32_t audio_bitrate;
bool encode_subtitles;
char subtitles_lang[3];
char subtitles_stream_id[4];
char vf_opts[256];
char of_opts[256];
uint8_t crf;
};
#endif