[MPlayer-users] 2nd pass failed to converge (and crashes)
Mario Valle
mvalle at cscs.ch
Wed Feb 25 18:23:49 CET 2004
I'm encoding with mencoder 1pre3 an MPEG4 movie starting from JPEG images.
With a particular set of at least 14 images, the 2nd pass crashes
after saying:
[mpeg4 @ 0x854d0e0]Error: 2pass curve failed to converge
Could not open codec.
FATAL: Cannot initialize video driver.
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Pos: 0.0s 2f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
...
one for each frame
the command is:
opt="vbitrate=1280000:mbd=2:keyint=132"
mencoder -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:$opt -mf type=jpg:w=512:h=512:fps=25
-nosound -o /dev/null mf://*.jpg
mencoder -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:$opt -mf type=jpg:w=512:h=512:fps=25
-nosound -o output.avi mf://*.jpg
1) What does it means? Scene too complex? Too much changes?
2) Except to change to one pass encoding, is there anything that I should do?
3) Isn't better to exit immediately after detecting the convergence failure? Continuing is
pointless.
4) Should I upload the images and encoding script for further analysis?
Thanks!
mario
--
Ing. Mario Valle
Data Mining and Visualization Group | http://www.cscs.ch/~mvalle
CSCS, Swiss Center for Scientific Computing | Tel: +41 (91) 610.82.60
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
More information about the MPlayer-users
mailing list