summaryrefslogtreecommitdiff
path: root/config_default.php
blob: ebf96fd1c9f912105d3008cf1df4beac460751d9 (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
	// Http configuration
	$user = 'istreamdev';		// Login
	$pass = 'iguest';		// Password
	$httppath = '/istreamdev/';	// Absolute path to the index.php file. 					//Don't put http://yourdomain !!

	// VDR configuration

	$vdrenabled=1;	// enable/disable VDR features
	$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

        //                      1:vid 2:aud     Source name     Source path
	$mediasource=array();
	$mediasources[]=array ( 1,              'Video',        '/mnt/media/movies');
	$mediasources[]=array ( 2,              'Audio',        '/mnt/media/music');

	// 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=10;                               // Max simultaneous encoding processes

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

	// Version
	$isdversion = "0.3.7";
?>