# HG changeset patch # User Matti Hamalainen # Date 1416848103 -7200 # Node ID e59d57cc3aa84eb34836592dda69dcc647fd4ed6 # Parent c635887048aad5020a9964f2d5ccfc38b3ebd6a7 Update example config. diff -r c635887048aa -r e59d57cc3aa8 mconfig.inc.php.example --- 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