r41447 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41446‎ | r41447 | r41448 >
Date:20:16, 30 September 2008
Author:dale
Status:old
Tags:
Comment:
transcode encoding line update
Modified paths:
  • /trunk/extensions/MetavidWiki/maintenance/transcode_to_flv.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/maintenance/transcode_to_flv.php
@@ -19,9 +19,11 @@
2020 include_once('../skins/mv_embed/flvServer/MvFlv.php');
2121
2222 define('MV_BASE_MEDIA_SERVER_PATH', 'http://mvbox2.cse.ucsc.edu/mvFlvServer.php/');
 23+//ffmpeg based (bad)
 24+//$flvEncodeCommand = 'ffmpeg -i $input -ar 22050 -async 2 -aspect 4:3 -f flv -acodec libmp3lame -ac 1 -ab 32k -b 250k -s 400x300 $output';
 25+//mencoder based (good)
 26+$flvEncodeCommand = 'mencoder $input -noskip -mc 0 -o $output -of lavf -oac mp3lame -lameopts abr:br=32 -ovc lavc -lavcopts vcodec=flv:vbitrate=250:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=400:300 -srate 22050';
2327
24 -$flvEncodeCommand = 'ffmpeg -i $input -ar 22050 -async 2 -aspect 4:3 -f flv -acodec libmp3lame -ac 1 -ab 32k -b 250k -s 400x300 $output';
25 -
2628 $doneWithTrascode=false;
2729 while($doneWithTrascode==false){
2830 $doneWithTrascode=true;

Status & tagging log