View Full Version : Mencoder Crashing After Each Pass With Certain Scripts


blazerqb11
1st June 2009, 21:19
I've been using Avisynth to take the commercials out of my DVR videos and then encode them using x264 in MEncoder. For some reason, it encodes completely fine except that MEncoder crashes after each pass of every video, meaning that the videos come out fine but I have to click to "Close mencoder" after each pass which gets pretty annoying. MEncoder does not crash when I encode directly from the source video, or when I encode other videos edited in Avisynth, only with this specific combination. Anyone have any ideas of what I'm doing wrong?

Sample Avisynth file:

AviSource("video.avi")

a = Trim(221,24487)

b = Trim(31401,47187)

a ++ b

MEncoder profiles:

[1st Pass]
vf=pullup,softskip,crop=690:460:14:12,scale=640:480,dsize=4/3,harddup
fps=30000/1001
ofps=24000/1001
ovc=x264=1
x264encopts=bitrate=1000:threads=auto:subq=1: partitions=all:8x8dct:me=umh:frameref=1:bframes=3:b_pyramid: pass=1
oac=copy=1

[2nd Pass]
vf=pullup,softskip,crop=690:460:14:12,scale=640:480,dsize=4/3,harddup
fps=30000/1001
ofps=24000/1001
ovc=x264=1
x264encopts=bitrate=1000:threads=auto:subq=6: partitions=all:8x8dct:me=umh:frameref=5:bframes=3:b_pyramid: pass=2
oac=copy=1