VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    Feb 2007
    Location
    Malta
    Search Comp PM
    I'm using VirtualDubMod to add subtitles to AVI files, however with this particular file the program is crashing and I'm getting this msg
    An out-of-bounds memory access (access violation) occurred in module 'DivX

    Can anyone help please?

    Below is the error report
    VirtualDub crash report -- build 2542 (release)
    --------------------------------------

    Disassembly:
    0257c020: d00f ror byte ptr [edi], 1
    0257c022: 6f outsd
    0257c023: 000f add [edi], cl
    0257c025: 6f outsd
    0257c026: c80f73d1 enter 730f, d1
    0257c02a: 080f or [edi], cl
    0257c02c: 6f outsd
    0257c02d: d10f ror dword ptr [edi], 1
    0257c02f: d8c8 fmul st, st(0)
    0257c031: 0fd8c2 psubusb mm0, mm2
    0257c034: 0febc1 por mm0, mm1
    0257c037: 0f72f008 pslld mm0, 08
    0257c03b: 0fdcf8 paddusb mm7, mm0
    0257c03e: 01d0 add eax, edx
    0257c040: 0f6f00 movq mm0, [eax]
    0257c043: 0f6fc8 movq mm1, mm0
    0257c046: 0f73d108 psrlq mm1, 08
    0257c04a: 0f6fd1 movq mm2, mm1
    0257c04d: 0fd8c8 psubusb mm1, mm0
    0257c050: 0fd8c2 psubusb mm0, mm2
    0257c053: 0febc1 por mm0, mm1
    0257c056: 0f72f008 pslld mm0, 08
    0257c05a: 0fdcf8 paddusb mm7, mm0
    0257c05d: 01d0 add eax, edx
    0257c05f: 0feff6 pxor mm6, mm6
    0257c062: 0f6fef movq mm5, mm7
    0257c065: 0f60ee punpcklbw mm5, mm6
    0257c068: 0f68fe punpckhbw mm7, mm6
    0257c06b: 0ffdfd paddw mm7, mm5
    0257c06e: 0f6fef movq mm5, mm7
    0257c071: 0f61ee punpcklwd mm5, mm6
    0257c074: 0f69fe punpckhwd mm7, mm6
    0257c077: 0ffefd paddd mm7, mm5
    0257c07a: 0f6fef movq mm5, mm7
    0257c07d: 0f73d520 psrlq mm5, 20
    0257c081: 0ffefd paddd mm7, mm5
    0257c084: 0f7efa movd edx, mm7
    0257c087: 31c0 xor eax, eax
    0257c089: 3b5510 cmp edx, [ebp+10]
    0257c08c: 0f9ec0 setle al
    0257c08f: 0f77 emms
    0257c091: 89ec mov esp, ebp
    0257c093: 5d pop ebp
    0257c094: c3 ret
    0257c095: 55 push ebp
    0257c096: 89e5 mov ebp, esp
    0257c098: 81ec10000000 sub esp, 00000010
    0257c09e: 8b4508 mov eax, [ebp+08]
    0257c0a1: 0501000000 add eax, 00000001
    0257c0a6: 8b550c mov edx, [ebp+0c]
    0257c0a9: 0fefff pxor mm7, mm7
    0257c0ac: 0f6f00 movq mm0, [eax] <-- FAULT
    0257c0af: 0f6fc8 movq mm1, mm0
    0257c0b2: 0f73d108 psrlq mm1, 08
    0257c0b6: 0f6fd1 movq mm2, mm1
    0257c0b9: 0fd8c8 psubusb mm1, mm0
    0257c0bc: 0fd8c2 psubusb mm0, mm2
    0257c0bf: 0febc1 por mm0, mm1
    0257c0c2: 0f72f008 pslld mm0, 08
    0257c0c6: 0fdcf8 paddusb mm7, mm0
    0257c0c9: 01d0 add eax, edx
    0257c0cb: 0f6f00 movq mm0, [eax]
    0257c0ce: 0f6fc8 movq mm1, mm0
    0257c0d1: 0f73d108 psrlq mm1, 08
    0257c0d5: 0f6fd1 movq mm2, mm1
    0257c0d8: 0fd8c8 psubusb mm1, mm0
    0257c0db: 0fd8c2 psubusb mm0, mm2
    0257c0de: 0febc1 por mm0, mm1
    0257c0e1: 0f72f008 pslld mm0, 08
    0257c0e5: 0fdcf8 paddusb mm7, mm0
    0257c0e8: 01d0 add eax, edx
    0257c0ea: 0f6f00 movq mm0, [eax]
    0257c0ed: 0f6fc8 movq mm1, mm0
    0257c0f0: 0f73d108 psrlq mm1, 08
    0257c0f4: 0f6fd1 movq mm2, mm1
    0257c0f7: 0fd8c8 psubusb mm1, mm0
    0257c0fa: 0fd8c2 psubusb mm0, mm2
    0257c0fd: 0febc1 por mm0, mm1
    0257c100: 0f72f008 pslld mm0, 08
    0257c104: 0fdcf8 paddusb mm7, mm0
    0257c107: 01d0 add eax, edx
    0257c109: 0f6f00 movq mm0, [eax]
    0257c10c: 0f6fc8 movq mm1, mm0
    0257c10f: 0f73d108 psrlq mm1, 08
    0257c113: 0f6fd1 movq mm2, mm1
    0257c116: 0fd8c8 psubusb mm1, mm0
    0257c119: 0fd8c2 psubusb mm0, mm2
    0257c11c: 0febc1 por mm0, mm1
    0257c11f: 0f db 0f

    Windows 5.1 (Windows XP build 2600) [Service Pack 2]

    EAX = 000b251f
    EBX = 00000058
    ECX = 0000002c
    EDX = 00000150
    EBP = 028efeb4
    DS:ESI = 0023:0000001c
    ES:EDI = 0023:028efe90
    SS:ESP = 0023:028efea4
    CS:EIP = 001b:0257c0ac
    FS = 003b
    GS = 0000
    EFLAGS = 00010202
    FPUCW = ffff027f
    FPUTW = ffffaaaa

    MM0 = 6767676766666666
    MM1 = 0067006700670067
    MM2 = 006a006a006a006a
    MM3 = 006a006a006a006a
    MM4 = 02d102ce02cd02d0
    MM5 = 02d802d802d802d5
    MM6 = 6868686867676767
    MM7 = 0000000000000000

    Crash reason: Access Violation

    Crash context:
    An out-of-bounds memory access (access violation) occurred in module 'DivX'.

    Thread traces:

    Thread 00000ad8 (Main thread)
    C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\sour ce\Init.cpp(344)
    C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\sour ce\Init.cpp(387)
    C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\sour ce\Init.cpp(414)
    C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\sour ce\Init.cpp(474)
    C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\sour ce\VideoSource.cpp(655)
    C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\sour ce\VideoSource.cpp(685)
    C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\sour ce\VideoSource.cpp(1828)

    Thread call stack:0257c0ac: DivX!DriverProc [02550000+3f3c+28170]
    025727dd: DivX!DriverProc [02550000+3f3c+1e8a1]
    02566714: DivX!DriverProc [02550000+3f3c+127d8]
    025734f1: DivX!DriverProc [02550000+3f3c+1f5b5]
    7c80b683: kernel32!GetModuleFileNameA [7c800000+b4cf+1b4]

    -- End of report
    Quote Quote  
  2. That probably means you have a corrupt source file. The Divx codec had problems decompressing it for VirtualDubMod. Some things to try:

    Get a newer version of Divx if you don't have the latest. It should still have problems (messed up picture for a while) but maybe it won't crash.

    Use Xvid instaed of Divx. Like with updating Divx, maybe it won't crash.

    Trim out the area with the corrupt data. Use the Mark-in and Mark-out tools to mark before and after the bad area, press Del to cut it out.
    Quote Quote  
  3. Member
    Join Date
    Feb 2007
    Location
    Malta
    Search Comp PM
    Thanks

    I have the latest Divx installed. The files play normally on Media Player and Divx Player.
    It's just when I use VirtualDubMod, taht I'm getting problems.
    I have Xvid installed as well, can you tell me how to use it istead of Divx?
    Quote Quote  
  4. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Use FourCC to change the code from Divx or DV50 or whatever it is to Xvid.

    Or install avisynth and create a short script in notepad that says

    AVISource("c:\video\video.avi")

    where the path is the full path to your video. Save the file as test.avs, and load this into virtualdub instead of the avi.
    Read my blog here.
    Quote Quote  
  5. To force decoding by Xvid rather than Divx you can change the fourcc as guns1inger suggested, or use Start -> All Programs -> Xvid -> Configure Decoder and enable the DX50 option under FourCC Support.
    Quote Quote  
  6. Member
    Join Date
    Feb 2007
    Location
    Malta
    Search Comp PM
    Ok! I've tried AVI synth method but VirtualDuMod still crashed.

    I've also tried changing the Fourcc code to XviD, and now i'm getting
    'Couldn't locate decompressor for format 'XviD' [Unknown]

    Am I doing something wrong?
    Quote Quote  
  7. Member
    Join Date
    Feb 2007
    Location
    Malta
    Search Comp PM
    Now, also configured the DX50 option, but VirtualDubMod still crashes like before
    Quote Quote  
  8. Member
    Join Date
    Jan 2003
    Location
    India
    Search Comp PM
    Try latest virtualdub -AFAIK most virtualdub crashes if not due to corrupt file are related to color space problems. Latest virtualdub can handle a lot more color spaces than virtualdubmod can.
    Quote Quote  
  9. Member
    Join Date
    Feb 2007
    Location
    Malta
    Search Comp PM
    Thanks for all the help guys!

    I had already tried VirtualDub and it still crashed.

    I finally figured how to change the Fourcc code correctly with AVI fourcc changer and it seems to have done the trick, but the audio on the new file seems to have degraded now.

    Any guesses why?
    Quote Quote  
  10. Member
    Join Date
    Feb 2007
    Location
    Malta
    Search Comp PM
    Just to make sure I've got this Fourcc stuff correctly

    Do I change both top and bottom box to XviD? The top is showing Divx and the bottom DX50
    Quote Quote  
  11. Member
    Join Date
    Feb 2007
    Location
    Malta
    Search Comp PM
    Ok! Finally managed to figure everything out!! All that was needed to correct the audio was to recompress back to Divx

    Got my subtitled AVI finally!

    Thanks for all the help!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!