Log in

View Full Version : Tmpgenc Plus causes Invalid Page Fault in XVID.DLL


cweb
21st December 2003, 16:17
Hi,

I use Tmpgenc Plus registered (latest ver) under win98 and am now getting crashes at the end of every encode. The file is still encoded well.

I am doing a KVCDx3 encode, and the source is an avisynth 2.5x .avs file.

I'm using XviD 1.0 beta 2 dev-api-4. At the end of my script I convert to RGB24:

video=YV12toRGB24(video,interlaced=false)
video=FlipVertical(video) #YV12->BGR24 convertion natively flips image

I presume somehow YV12 is still being returned and Windows is calling XVID.DLL to convert?

I'm not converting from an XviD source, by the way.

The error given is:
TMPGENC caused an invalid page fault in
module XVID.DLL at 015f:02421771.
Registers:
EAX=029fe538 CS=015f EIP=02421771 EFLGS=00010246
EBX=00000001 SS=0167 ESP=0871f074 EBP=029fe538
ECX=00000004 DS=0167 ESI=00000000 FS=2af7
EDX=00000001 ES=0167 EDI=029fe538 GS=0000
Bytes at CS:EIP:
8b 97 78 0b 00 00 85 d2 74 19 33 c0 50 50 6a 01
Stack dump:
00000004 02427d16 029fe538 00000000 00000000 00000000 0000000

The error isn't too irritating, but it is when I use CQMatic to
automate an encode, because my intervention will be required...

The error even occurs without encoding anything (because the last
file opened is reopened - and in my case it's always an avisynth 2.5x file so XviD gets called because of YV12 somehow).
Start Tmpgenc plus 2.521, then close it, triggers the error too.

At least encoding works..