『漫游』酷论坛>『影音数码技术学习交流』>[求助]请懂Mencoder的大 ..

[求助]请懂Mencoder的大虾帮忙。

maxfu@2006-09-05 00:57

我在对一个AVI文件进行AVI-〉MPEG2编码时出现了问题,命令行如下:
mencoder.exe "源文件.Xvid.AC3.avi" -of mpeg -mpegopts format=dvd:telecine -vf-add scale=720:480,harddup -ofps 24000/1001 -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=2000:trell:mbd=2:keyint=15:aspect=16/9:vrc_buf_size=1835:vrc_maxrate=9800:vpass=1 -nosound -endpos 10 -o NUL: 2> 2.txt

mencoder.exe "源文件.Xvid.AC3.avi.avi" -of mpeg -mpegopts format=dvd:telecine -vf-add scale=720:480,harddup -ofps 24000/1001 -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=2000:trell:mbd=2:keyint=15:aspect=16/9:vrc_buf_size=1835:vrc_maxrate=9800:vpass=2 -nosound -endpos 10 -o "D:\[游戏终结].End.Game.2006.XviD.AC3.iNT.Rerip.CD1-MoMo.mpeg2.mpg" 2>> 2.txt

在进行1Pass时出现了如下提示:
Limiting audio preload to 0.4s.
Increasing audio density to 4.
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from 0x32315659 (21VY) to 0x32315659 (21VY) using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 640x352 -> 720x480

1 duplicate frame(s)!
而在2Pass时却出现如下报错提示,不能顺利编码:
Limiting audio preload to 0.4s.
Increasing audio density to 4.
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from 0x32315659 (21VY) to 0x32315659 (21VY) using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 640x352 -> 720x480
[mpeg2video @ 00BF0F10]Error: 2pass curve failed to converge
Could not open codec.
FATAL: Cannot initialize video driver.

我使用的Mencoder是官方版本,包含了官方的Windows-all的Codec包,还有一种是官方核心+Kuree+官方Windows-all Codec包,两种方法都出现这种提示。
请高手指点我这两段命令行有什么问题?如果有,该如何修改?哪里有Mencoder的比较完整的教程或说明?
引用

jiangn@2006-09-08 13:03

你去看mplayer的文档吧, 我记得里面是有详细讲编码一章的
引用

| TOP