changeset 814:e59d57cc3aa8

Update example config.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 24 Nov 2014 18:55:03 +0200
parents c635887048aa
children 4df1bfd11131
files mconfig.inc.php.example
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mconfig.inc.php.example	Mon Nov 24 18:26:22 2014 +0200
+++ b/mconfig.inc.php.example	Mon Nov 24 18:55:03 2014 +0200
@@ -40,10 +40,12 @@
 
 
   // Entry file paths and URL prefixes
+  "entryMaxSize" => 16 * 1024 * 1024, // max file size
   "entryPath" => "/home/ccr/files/", // should be absolute path
   "entryPathPerms" => 0755,
   "entryFilePerms" => 0644,
   
+  "previewMaxSize" => 2 * 1024 * 1024, // max file size
   "previewPath" => "/home/ccr/fapdev/previews/", // should be absolute path
   "previewURL" => "http://localhost:8888/previews/", // can be relative (should point to same dir as previewPath)
   "thumbnailSubDir" => "tn/", // relative subdir to previewPath and previewURL
@@ -56,10 +58,10 @@
   "sampleChannels" => 1, // 1 = mono, 2 = stereo
   "sampleDuration" => 30, // in seconds
 
-  // Samples to be generated, and their quality settings
+  // Samples to be generated, and their avconv settings
   "sampleTypes" => array(
-    "MP3"       => array("-b:a", 96), // cbr kbps
-    "OggVorbis" => array("-q:a", 5),  // encoding quality setting
+    "MP3"       => array("-f" => "ogg", "-c:a" => "libvorbis", "-b:a" => 96),
+    "OggVorbis" => array("-f" => "mp3", "-c:a" => "libmp3lame", "-q:a" => 5),
   ),
 
   // Preview image files settings