summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2008-05-18 11:21:25 +0000
committerMax Kremmel <xing@synapse.plus.com>2008-05-18 11:21:25 +0000
commit5cd4a77fae6fa8a99694c2ad82c1634a84631518 (patch)
tree204a1c0df542e6a42fc8eba5b8fdeb8edaf3fa20 /admin
parent39f46775d7eaa88fa5cb7384ba09ee4b7f48a21c (diff)
downloadliberty-5cd4a77fae6fa8a99694c2ad82c1634a84631518.tar.gz
liberty-5cd4a77fae6fa8a99694c2ad82c1634a84631518.tar.bz2
liberty-5cd4a77fae6fa8a99694c2ad82c1634a84631518.zip
lots of updates including an option to encode video using h264 codec instead of flv - even added 2 pass option which only really makes sense using cron - not ported yet
Diffstat (limited to 'admin')
-rw-r--r--admin/mime_flv.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/admin/mime_flv.php b/admin/mime_flv.php
index a8ed911..0e394b0 100644
--- a/admin/mime_flv.php
+++ b/admin/mime_flv.php
@@ -11,11 +11,19 @@ if( function_exists( 'shell_exec' )) {
$feedback = array();
$rates = array(
+ 'video_codec' => array(
+ 'flv' => 'Flashvideo using flv codec',
+ 'h264' => 'MP4/AVC using h264 codec',
+ 'h264-2pass' => 'MP4/AVC using h264 codec - 2 passes',
+ ),
'video_bitrate' => array(
160000 => 200,
240000 => 300,
320000 => 400,
400000 => 500,
+ 480000 => 600,
+ 560000 => 700,
+ 640000 => 800,
),
'video_width' => array(
240 => 240,
@@ -49,9 +57,15 @@ if( !empty( $_REQUEST['plugin_settings'] )) {
'mime_flv_ffmpeg_path' => array(
'type' => 'text',
),
+ 'mime_flv_video_codec' => array(
+ 'type' => 'text',
+ ),
'mime_flv_video_bitrate' => array(
'type' => 'numeric',
),
+ 'mime_flv_force_encode' => array(
+ 'type' => 'checkbox',
+ ),
'mime_flv_audio_samplerate' => array(
'type' => 'numeric',
),