summaryrefslogtreecommitdiff
path: root/config_default.php
blob: fa9a4da10ca42d0f1acae8f4fa0f0f84199be1ec (plain)
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
<?php
	// Enable/disable features
	$enablevdr=1;			// VDR features
	$enablemediavideo=1;		// Video files streaming
	$enablemediaaudio=1;		// Audio files streaming

	// Http configuration
	$user = 'istreamdev';		// Login
	$pass = 'iguest';		// Password
	$httppath = '/istreamdev/';	// Absolute path to the index.php file. Don't put http://yourdomain !!

	// VDR configuration
	$vdrchannels='/etc/vdr/channels.conf';			// VDR channel list
	$svdrpport=2001;					// SVDRP port
	$svdrpip='127.0.0.1';					// SVDRP ip
	$vdrstreamdev='http://127.0.0.1:3000/TS/';		// VDR streamdev URL
	$vdrrecpath='/video/';					//VDR recording directory

	// Media configuration
	$videotypes='avi mkv ts mov mp4 wmv flv mpg mpeg mpeg2 mpv ';	// Supported video extensions (must finish with a space)
	$audiotypes='mp3 aac wav ';					// Supported audio extensions
	$videosource = '/mnt/media/movies/';				// Video files directory
	$audiosource = '/mnt/media/music/';				// Audio files directory

	// Encoding (The name cannot be changed)
	//			Name		Video	Audio	Audio channels	Resolution
	$quality=array (	'edge'	=>	'128k	64k	1		240x160',
				'3g'	=>	'350k	64k	1		408x272',
				'wifi'	=>	'512k	128k	2		480x320');
	$maxencodingprocesses=3;		// Max simultaneous encoding processes

	// Misc
	$ffmpegpath = '/usr/bin/ffmpeg';	//path to ffmpeg binary
	$segmenterpath = '/usr/bin/segmenter';	//path to segmenter binary

	// Version
	$isdversion = "1.0-alpha1";
?>