Getting an exception rendering an Mpeg2?

plyall wrote on 2/5/2004, 12:45 PM
Folks -

I recently did a video capture from my ATI All-In-wonder 9700 of a questionable classic (Buckaroo Banzai). The capture itself was in Mpeg2 format,

When I played in in Windows Media Player 9, it played fine.

I did a ittle editing in Vegas (chopped off some ads at the front), and tried to render it to MPEG2. It got to about the 11% point in the render, started showing a very slow frame count, and then finally bailed on an exception. (see below).

I also tried rendering it to an AVI and got fundamentally the same results.

Can anyone help me figure out what is going wrong?

Thanks!

Pete Lyall

Exception rendering to Mpeg2
============================
Sony Vegas 4.0
Version 4.0e (Build 239)
Exception 0xC0000005 (access violation) WRITE:0x43C91C0 IP:0x4F13114
In Module 'mcmpgdec.DLL' at Address 0x4EE0000 + 0x33114
Thread: Engine_RenderFromCookedSlices ID=0x960 Stack=0x248B000-0x2490000
Registers:
EAX=0248c690 CS=001b EIP=04f13114 EFLGS=00010206
EBX=00000b40 SS=0023 ESP=0248bf2c EBP=001b4384
ECX=0248c790 DS=0023 ESI=00000003 FS=0038
EDX=043c91c0 ES=0023 EDI=000021c0 GS=0000
Bytes at CS:EIP:
04F13114: 0F 7F 1A 0F 7F 62 08 0F .....b..
04F1311C: 6F DA 0F 68 D1 0F 60 D9 o..h..`.
Stack Dump:
0248BF2C: 001B4384 00140000 + 74384
0248BF30: 00000002
0248BF34: 00000002
0248BF38: 00000002
0248BF3C: 00000000
0248BF40: FFFFFFFC
0248BF44: 00000000
0248BF48: 00000001
0248BF4C: 00000001
0248BF50: 00000003
0248BF54: 00000080
0248BF58: 0248C380 02390000 + FC380
0248BF5C: 00000006
0248BF60: 0248C06C 02390000 + FC06C
0248BF64: 001B4384 00140000 + 74384
0248BF68: 04EE86F3 04EE0000 + 86F3 (mcmpgdec.DLL)
> 0248BF78: 04EE8DBD 04EE0000 + 8DBD (mcmpgdec.DLL)
0248BF7C: 0248C01C 02390000 + FC01C
0248BF80: 0248BFFC 02390000 + FBFFC
0248BF84: 00000000
0248BF88: 000000F0
> 0248C818: 77C73DC2 77C70000 + 3DC2 (GDI32.dll)
> 0248C828: 77C73B94 77C70000 + 3B94 (GDI32.dll)
> 0248C840: 005CA680 00400000 + 1CA680 (vegas40.exe)
0248C844: 00000000
0248C848: 00000001
0248C84C: 0020B9B0 00140000 + CB9B0
0248C850: 00000000
> 0248C854: 005CB954 00400000 + 1CB954 (vegas40.exe)
0248C858: 1C0407CA
0248C85C: 0248DED0 02390000 + FDED0
0248C860: 0020B9B0 00140000 + CB9B0
0248C864: 00000002
> 0248C8BC: 77F5BFB4 77F50000 + BFB4 (ntdll.dll)
> 0248C8C0: 77E7ABBD 77E60000 + 1ABBD (kernel32.dll)
> 0248C8CC: 77F5BFB4 77F50000 + BFB4 (ntdll.dll)
> 0248C8D0: 77E7ABBD 77E60000 + 1ABBD (kernel32.dll)
> 0248C8F4: 77E7ABDC 77E60000 + 1ABDC (kernel32.dll)
> 0248C90C: 050D97D9 050C0000 + 197D9 (mpegin.DLL)
0248C910: 001B2C28 00140000 + 72C28
0248C914: 001B2C28 00140000 + 72C28
0248C918: 449887DC
0248C91C: 001BEBAC 00140000 + 7EBAC
> 0248C930: 050D97D9 050C0000 + 197D9 (mpegin.DLL)
- - -
0248FFF0: 00000000
0248FFF4: 004E3A40 00400000 + E3A40 (vegas40.exe)
0248FFF8: 006D4010 00400000 + 2D4010 (vegas40.exe)
0248FFFC: 00000000


Exception rendering to AVI
======================

Sony Vegas 4.0
Version 4.0e (Build 239)
Exception 0xC0000005 (access violation) WRITE:0x5C891C0 IP:0x5053114
In Module 'mcmpgdec.DLL' at Address 0x5020000 + 0x33114
Thread: Engine_RenderFromCookedSlices ID=0xC48 Stack=0x248D000-0x2490000
Registers:
EAX=0248dda8 CS=001b EIP=05053114 EFLGS=00010206
EBX=00000b40 SS=0023 ESP=0248d644 EBP=02b4ebb4
ECX=0248dea8 DS=0023 ESI=00000003 FS=0038
EDX=05c891c0 ES=0023 EDI=000021c0 GS=0000
Bytes at CS:EIP:
05053114: 0F 7F 1A 0F 7F 62 08 0F .....b..
0505311C: 6F DA 0F 68 D1 0F 60 D9 o..h..`.
Stack Dump:
0248D644: 02B4EBB4 02A90000 + BEBB4
0248D648: 00000002
0248D64C: 00000002
0248D650: 00000002
0248D654: 00000000
0248D658: FFFFFFFC
0248D65C: 00000000
0248D660: 00000001
0248D664: 00000001
0248D668: 00000003
0248D66C: 00000080
0248D670: 0248DA98 02390000 + FDA98
0248D674: 00000006
0248D678: 0248D784 02390000 + FD784
0248D67C: 02B4EBB4 02A90000 + BEBB4
0248D680: 050286F3 05020000 + 86F3 (mcmpgdec.DLL)
> 0248D690: 05028DBD 05020000 + 8DBD (mcmpgdec.DLL)
0248D694: 0248D734 02390000 + FD734
0248D698: 0248D714 02390000 + FD714
0248D69C: 00000000
0248D6A0: 000000F0
> 0248DEF4: 00710676 00400000 + 310676 (vegas40.exe)
0248DEF8: 00000000
0248DEFC: 00000000
0248DF00: 00000000
0248DF04: 61100000
> 0248DF30: 77C73DC2 77C70000 + 3DC2 (GDI32.dll)
> 0248DF40: 77C73B94 77C70000 + 3B94 (GDI32.dll)
> 0248DF58: 005CA680 00400000 + 1CA680 (vegas40.exe)
0248DF5C: 00000000
0248DF60: 00000001
0248DF64: 0020B9B0 00140000 + CB9B0
0248DF68: 00000000
> 0248DF6C: 005CB954 00400000 + 1CB954 (vegas40.exe)
0248DF70: 17040B54
0248DF74: 0248F5E8 02390000 + FF5E8
0248DF78: 0020B9B0 00140000 + CB9B0
0248DF7C: 00000002
> 0248DF90: 77F50000 77F50000 + 0 (ntdll.dll)
> 0248DFA0: 77F59037 77F50000 + 9037 (ntdll.dll)
> 0248DFD4: 77F5BFB4 77F50000 + BFB4 (ntdll.dll)
> 0248DFD8: 77E7ABBD 77E60000 + 1ABBD (kernel32.dll)
> 0248DFE4: 77F5BFB4 77F50000 + BFB4 (ntdll.dll)
> 0248DFE8: 77E7ABBD 77E60000 + 1ABBD (kernel32.dll)
> 0248E00C: 77E7ABDC 77E60000 + 1ABDC (kernel32.dll)
> 0248E024: 050C97D9 050B0000 + 197D9 (mpegin.DLL)
- - -
0248FFF0: 00000000
0248FFF4: 004E3A40 00400000 + E3A40 (vegas40.exe)
0248FFF8: 006D4010 00400000 + 2D4010 (vegas40.exe)
0248FFFC: 00000000

Comments

di wrote on 2/17/2004, 12:36 AM
I just got the same error message while rendering to mpeg2 and avi. It always happens at the same point in the render (about 67%). It's only a minute long file.

Computer: Sony Vaio RZ30C
Processor: Pentium 4, 2.6 MHz
OS: Windows XP Pro

Any information would be helpful. Thanks!
di wrote on 2/18/2004, 10:09 AM
After looking through some of the previous posts (by runlong4), I came to the conclusion that Vegas might have a problem with the blur effect. In runlong4's post, he removed the clip that he used the linear blur on.

In my case, I removed the text that I used that had the linear blur. After that it rendered fine. I took the rendered file and added my text with the linear blur and it worked fine.

So my conclusion is that sometimes the linear blur causes an exception error and sometimes it doesn't. Maybe it's a bug. I don't think I did anything wrong but that's the best I could come up with. (sorry, that's as technical as I can get).
ibliss wrote on 2/18/2004, 10:36 AM
I have tried rendering some MPEG2 format material captured from my AveMedia TV card, but Vegas will always crash during the render (reguardless of render format).

I'm sure I have read somewhere on these forums that it has issues with some MPEG2 files. But I might be wrong.

I am going to experiment an check that the crashes aren't cause by glitches in the MPEG2 due to bad reception from the TV card - its 'freeview' which is a UK digital sysem, so it should just be capturing the broadcast stream, but it does glitch every now and then.
ibliss wrote on 2/18/2004, 10:42 AM
Well there was no visible glitch on the timeline, but the reder crashed at the same point - it doesn't matter where the render region starts and ends, the crash will always occur at the same point in the video.

here is my error readout:

Sony Vegas 4.0
Version 4.0e (Build 239)
Exception 0xC0000005 (access violation) READ:0x74E80DF IP:0x3EC66E0
In Module 'mcmpgdec.DLL' at Address 0x3EC0000 + 0x66E0
Thread: Engine_RenderFromCookedSlices ID=0xC1C Stack=0x265B000-0x2660000
Registers:
EAX=074e7b3f CS=001b EIP=03ec66e0 EFLGS=00010202
EBX=000002d0 SS=0023 ESP=0265be8c EBP=074e72cf
ECX=0265c800 DS=0023 ESI=000005a0 FS=0038
EDX=00000001 ES=0023 EDI=00000010 GS=0000
Bytes at CS:EIP:
03EC66E0: 0F 18 04 06 0F 6F 00 0F .....o..
03EC66E8: 6F 0C 03 0F 6F 50 01 0F o...oP..
Stack Dump:
0265BE8C: 00000006
0265BE90: 0265C7D0 02560000 + FC7D0
0265BE94: 039C5624 037E0000 + 1E5624
0265BE98: 03EC6D0C 03EC0000 + 6D0C (mcmpgdec.DLL)
0265BE9C: 074E72CF 07450000 + 972CF
0265BEA0: 0265C7D0 02560000 + FC7D0
0265BEA4: 00000008
0265BEA8: 00000004
0265BEAC: 000002D0
0265BEB0: 00000010
0265BEB4: 00000000
0265BEB8: 00000000
0265BEBC: 00000000
0265BEC0: 00000000
0265BEC4: 074B26FF 07450000 + 626FF
0265BEC8: 000002D0
> 0265BED8: 03ED113B 03EC0000 + 1113B (mcmpgdec.DLL)
0265BEDC: 0265C06C 02560000 + FC06C
0265BEE0: 00000000
0265BEE4: 00000010
0265BEE8: 039C5624 037E0000 + 1E5624
> 0265BF18: 03ECD0E4 03EC0000 + D0E4 (mcmpgdec.DLL)
0265BF1C: 039C4EC4 037E0000 + 1E4EC4
0265BF20: 039C5624 037E0000 + 1E5624
0265BF24: 039C56FC 037E0000 + 1E56FC
0265BF28: 00000001
> 0265BF68: 03EC8F55 03EC0000 + 8F55 (mcmpgdec.DLL)
0265BF6C: 039C4ED4 037E0000 + 1E4ED4
0265BF70: 0265C06C 02560000 + FC06C
0265BF74: 00000010
0265BF78: 000002B0
> 0265C6B0: 7174602B 71700000 + 4602B (shdocvw.dll)
> 0265C6BC: 76747476 76670000 + D7476 (SETUPAPI.dll)
> 0265C6DC: 77777374 773D0000 + 3A7374 (SHELL32.dll)
> 0265C754: 71737464 71700000 + 37464 (shdocvw.dll)
> 0265C75C: 71727774 71700000 + 27774 (shdocvw.dll)
> 0265C7E0: 77767679 773D0000 + 397679 (SHELL32.dll)
> 0265C7F0: 7673757B 76670000 + C757B (SETUPAPI.dll)
> 0265C810: 77C73C5B 77C70000 + 3C5B (GDI32.dll)
> 0265C828: 77C73B94 77C70000 + 3B94 (GDI32.dll)
> 0265C840: 005CA680 00400000 + 1CA680 (vegas40.exe)
0265C844: 00000000
0265C848: 00000003
0265C84C: 0023CC18 00140000 + FCC18
0265C850: AE0408B8
> 0265C854: 005CB954 00400000 + 1CB954 (vegas40.exe)
- - -
0265FFF0: 00000000
0265FFF4: 004E3A40 00400000 + E3A40 (vegas40.exe)
0265FFF8: 006D4010 00400000 + 2D4010 (vegas40.exe)
0265FFFC: 00000000

ScottW wrote on 2/18/2004, 12:04 PM
There's a discussion in the AC-3 forum about audio/video sync problems; SonyEPM stated that ATI MPEG-2 files can be a problem as far as A/V sync goes - maybe you're running into some sort of other compliance issue with your source material.

If you have something like TMPGEnc maybe you could try using their mpeg tools to mux or demux your MPEG source into another form; it's possible that other MPEG decoders might be more tolerant of non-compliant streams and by running it thru you might end up with a compliant stream that will work (of course you might not either).

Just a thought.
--Scott