Показать сообщение отдельно

  #4  
Старый 20.01.2009, 21:52
Vinsik
Участник форума
Регистрация: 04.10.2008
Сообщений: 154
Провел на форуме:
203408

Репутация: 7
По умолчанию

Цитата:
Сообщение от nerezus  
PHP код:
function video_convert_to_flv($input$output="output.flv"$custom=false) {
    if (!
$custom) {
        
$custom = array(56300320240);
    }
    
$command sprintf('mencoder "%s" -o "%s" -of lavf -oac mp3lame -lameopts ' .
        
'abr:br=%d -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=%d:mbd=2:' .
        
'mv0:trell:v4mv:cbp:last_pred=3 scale=%d:%d',
        
$input$output$custom[0], $custom[1], $custom[2], $custom[3]);
    
run($command);
    
run("flvtool2 -UP \"$output\""); // update metadata

А по подробнее можно? Там куча файлов и хз че куда пихать....
 
Ответить с цитированием