分页: 1 / 1

各位请教一下mencoder增加字幕,我试修改了n次的没有增加成功过,请各位帮帮忙!

发表于 : 2016-07-22 21:51
xu5343
原程序部分代如下我怎么都搞不明白:


if($e['encodepass'] == 1){

$ovc = str_replace($search, $replace, $ovc_profile[$e['action']][$e['ovc_profile']]['1pass']);
$cmd = $config['mencoder']
." ".$src
." -o ".$tmp264
." -passlogfile ".$tmpL
.$ovc
." -of rawvideo"
." -nosound"
.$ofps
.$vf
.$demuxer
."";
}
elseif($e['encodepass'] == 2){
// Pass 1
$ovc = str_replace($search, $replace, $ovc_profile[$e['action']][$e['ovc_profile']]['2pass'][1]);
$cmd1 = $config['mencoder']
." ".$src
." -o /dev/null"
." -passlogfile ".$tmpL
.$ovc
." -nosound"
.$ofps
.$vf
.$demuxer
."";
// Pass 2
$ovc = str_replace($search, $replace, $ovc_profile[$e['action']][$e['ovc_profile']]['2pass'][2]);
$cmd2 = $config['mencoder']
." ".$src
." -o ".$tmp264
." -passlogfile ".$tmpL
.$ovc
." -of rawvideo"
." -nosound"
.$ofps
.$vf
.$demuxer
."";
$cmd = $cmd1." ; ".$cmd2;
}

Re: 各位请教一下mencoder增加字幕,我试修改了n次的没有增加成功过,请各位帮帮忙!

发表于 : 2016-07-26 14:04
nyfair
又一个被垃圾教程坑得,抬走抬走

槽点1:mencoder这破烂自家人都不维护多年了
槽点2:加个字幕而已,结果搞成了压制
槽点3:压就压吧,还搞2pass
槽点4:都搞2pass了,这2步输入居然还是不同的
槽点5:扯了半天,字幕滤镜没加载
槽点6:给我钱就帮你解决