[MEncoder-users] problem with two pass lavc encoding
Giacomo Comes
comes at naic.edu
Thu Feb 15 17:37:03 CET 2007
On Thu, Feb 15, 2007 at 01:34:06PM -0300, Lucas Linard wrote:
> I usually get the following output when converting avi to mpeg at the second
> pass.
>
> "mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf
> crop=640:480,scale=720:480,expand=720:576,harddup -srate 48000 -af
> lavcresample=48000 -lavcopts
> turbo:vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxr
> ate=9800:vbitrate=2300:keyint=18:vstrict=0:acodec=
> ac3:abitrate=192:aspect=4/3:border_mask=0.5:dark_mask=0.3:vpass=1 -ofps
> 24000/1001 -o "/dev/null" "[omda]_X_TV_00.avi"
> mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf
> crop=640:480,scale=720:480,expand=720:576,harddup -srate 48000 -af
> lavcresample=48000 -lavcopts
> vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=98
> 00:vbitrate=2300:keyint=18:vstrict=0:acodec=ac3:ab
> itrate=192:aspect=4/3:border_mask=0.5:dark_mask=0.3:vpass=2 -ofps 24000/1001
> -o "X_03.mpg" "[omda]_X_TV_03.avi""
>
> "The result is
> Limiting audio preload to 0.4s.
> Increasing audio density to 4.
> VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
>
> SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
> videocodec: libavcodec (720x576 fourcc=3267706d [mpg2])
> [mpeg2video @ 0x87bb7ec]Error: 2pass curve failed to converge
> Could not open codec.
> FATAL: Cannot initialize video driver.
>
> Exiting... "
> Can anyone help? I1ve tryed th ubuntu forum and got no help
That was a problem of pre8. Upgrade to rc1 or svn.
Ciao
Giacomo
More information about the MEncoder-users
mailing list