Log in

View Full Version : Morgan MJPEG crashing


jrjazzman
20th July 2003, 05:36
I'm new to Avisynth. Is there anything in this script that would make Morgan MJPEG crash immediately upon encoding with VirtualDubMod?


LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\Convolution3DYV12.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\Decomb.dll")
LoadPLugin("D:\Program Files\AviSynth 2.5\plugins\BicublinResize.dll")
AVISource("g:\scene10001.avi")
FixBrokenChromaUpsampling()
Fielddeinterlace()
ConvertToYV12(interlaced=false)
FastBilinearResize(640,480)
Crop(6,0,-6,-8)
Convolution3D (1, 32, 128, 32, 128, 10, 0)


Thanks

Jeremy

Richard Berg
20th July 2003, 06:52
BicublinResize is the only thing not in very widespread use. What happens if you change it to one of the built-in resizers? Have you tried opening a non-MJPEG file?

jrjazzman
20th July 2003, 08:32
Sorry, I wasn't clear. My source is actually DV. I'm compressing to fairly high bitrate (5-6 MB/s) MJPEG, primarily for testing. I can use HuffYUV, but I prefer the smaller file size of MJPEG, and I'm curious as to why it would crash the MJPEG codec.

I haven't tried the built-in resize function. I don't know how to determine which internal functions accept YV12, so I've been sticking to 3rd-party filters that clearly specify YV12. I'll give the internal function a shot.

Thanks for the idea.

Jeremy

Originally posted by Richard Berg
BicublinResize is the only thing not in very widespread use. What happens if you change it to one of the built-in resizers? Have you tried opening a non-MJPEG file?

Richard Berg
20th July 2003, 09:50
The evidence I've seen suggests that sh0dan's resize routines are the best available. I know crashes have in the past been traced to non-standard converters like the ones that used to be packaged with mpeg2decX.

If you manage to isolate the problem to Morgan, however, I can't help. As for determining that...when in the encode process does it crash? If it's somewhat immediate, try encoding a small section to Huff and see what happens.