-
Notifications
You must be signed in to change notification settings - Fork 166
/
youtube-dl.config.php
executable file
·79 lines (70 loc) · 2.33 KB
/
youtube-dl.config.php
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?php
/**
* Config interface for the yt_downloader class.
*
* @package yt_downloader
* @author Stephan Schmitz <eyecatchup@gmail.com>
* @updated 2012/05/30
*/
interface cnfg
{
/**
* Set the directory (relative path to class file)
* where to save the downloads to.
*/
const Download_Folder = 'videos/';
/**
* Set the default download type.
* Choose one of 'video', or 'audio'.
*
* Defines whether to download the video files, or to extract
* and convert the soundtrack into an audio file by default.
*
* NOTE: To extract the soundtrack from the video file and convert
* it into an audio file, you must have Ffmpeg and, depending on
* the video filetype, additional media libraries installed on the
* server that hosts the scripts!
*/
const Default_Download = "video";
/**
* Set the default video output quality.
* Choose integer '1' (One) to download videos in the best quality available,
* or integer '0' (Zero) for the lowest quality (,thus smallest file size).
*/
const Default_Videoquality = 1;
/**
* Set the default audio quality (sample rate in kbits).
* Choose any integer value between 128 (low quality) and 320 (CD quality).
*
* Note: Max. output quality depends on the video input file. Thus, the
* converted mp3 output file may be worse, than expected from the value set.
*/
const Default_Audioquality = 320;
/**
* Set the default audio output filetype.
* Choose one of "mp3", "wav", "ogg", or "mp4".
*/
const Default_Audioformat = "mp3";
/**
* Set the video preview image preference.
* Choose '1' (nummeric One) to download a preview image for the video,
* or '0' (nummeric Zero) to download only the video itself.
*/
const Download_Thumbnail = TRUE;
/**
* Set the video preview image size.
* Choose 'l' (small letter "L") for a size of 480*360px,
* or 's' for a size of 120*90px.
*/
const Default_Thumbsize = 'l';
/**
* Set the directory (absolute path, trailing slash!)
* where to save Ffmpeg log files to.
*/
const Ffmpeg_LogsActive = FALSE;
/**
* Set the directory (absolute path, trailing slash!)
* where to save Ffmpeg log files to.
*/
const Ffmpeg_LogsDir = 'logs/';
}