VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Firstly, TMPGEnc appears to cut off the final few frames of video whenever I convert. Most of the time I'm converting something that fades to black, and the .m2v file coming out of TMPGEnc only fades to half-black. That half-faded screen always pauses when watching it on DVD while it loads the menu, which looks ugly. Is there any way I can stop it doing that?

    Secondly, I'm running this .avs file through VirtualDub:
    Code:
    SetMTMode(2,0)
    MPEG2Source("dtv.d2v")
    hd2sd(interlaced=true, OutputColorSpace="YUY2", Widescreentype=0)
    Fast recompress, saving as HuffYUV AVI. It ran for an hour or so, before throwing up this:
    VirtualDub crash report -- build 32842 (release)
    --------------------------------------

    Disassembly:
    7662c7a0: 088b0d80066f or [ebx+6f06800d], cl
    7662c7a6: 763b jbe 7662c7e3
    7662c7a8: ce into
    7662c7a9: 0f851cdc0100 jnz 7664a3cb
    7662c7af: 6a08 push 08h
    7662c7b1: 59 pop ecx
    7662c7b2: 33c0 xor eax, eax
    7662c7b4: 8d7dd8 lea edi, [ebp-28h]
    7662c7b7: 6a2c push 2ch
    7662c7b9: f3ab rep stosd
    7662c7bb: 8d45ac lea eax, [ebp-54h]
    7662c7be: 56 push esi
    7662c7bf: 50 push eax
    7662c7c0: e8c3310a00 call 766cf988
    7662c7c5: e910dc0100 jmp 7664a3da
    7662c7ca: 6a00 push 00h
    7662c7cc: 6a2c push 2ch
    7662c7ce: 8d45ac lea eax, [ebp-54h]
    7662c7d1: 50 push eax
    7662c7d2: 6a03 push 03h
    7662c7d4: 6aff push 0ffh
    7662c7d6: ffd6 call esi
    7662c7d8: e918dc0100 jmp 7664a3f5
    7662c7dd: 90 nop
    7662c7de: 90 nop
    7662c7df: 90 nop
    7662c7e0: 90 nop
    7662c7e1: 90 nop
    7662c7e2: 8bff mov edi, edi
    7662c7e4: 55 push ebp
    7662c7e5: 8bec mov ebp, esp
    7662c7e7: 83ec50 sub esp, 50h
    7662c7ea: 8b4508 mov eax, [ebp+08h]
    7662c7ed: 8945b0 mov [ebp-50h], eax
    7662c7f0: 8b450c mov eax, [ebp+0ch]
    7662c7f3: 83e001 and eax, 01h
    7662c7f6: 8945b4 mov [ebp-4ch], eax
    7662c7f9: 33c0 xor eax, eax
    7662c7fb: 394514 cmp [ebp+14h], eax
    7662c7fe: 8945b8 mov [ebp-48h], eax
    7662c801: c745bce2c76276 mov dword ptr [ebp-44h], 7662c7e2
    7662c808: 7424 jz 7662c82e
    7662c80a: 8b4510 mov eax, [ebp+10h]
    7662c80d: 83f80f cmp eax, 0fh
    7662c810: 0f8736610200 ja 7665294c
    7662c816: 8945c0 mov [ebp-40h], eax
    7662c819: c1e002 shl eax, 02h
    7662c81c: 50 push eax
    7662c81d: ff7514 push dword ptr [ebp+14h]
    7662c820: 8d45c4 lea eax, [ebp-3ch]
    7662c823: 50 push eax
    7662c824: e849310a00 call 766cf972
    7662c829: e926610200 jmp 76652954
    7662c82e: 8945c0 mov [ebp-40h], eax
    7662c831: 8d45b0 lea eax, [ebp-50h]
    7662c834: 50 push eax
    7662c835: ff1514076276 call dword ptr [76620714]
    7662c83b: c9 leave <-- FAULT
    7662c83c: c21000 ret 0010
    7662c83f: 6683fa06 cmp dx, 06h
    7662c843: 0f84cb040200 jz 7664cd14
    7662c849: 6683fa09 cmp dx, 09h
    7662c84d: 750c jnz 7662c85b
    7662c84f: c74618d8210000 mov dword ptr [esi+18h], 000021d8
    7662c856: e96679ffff jmp 766241c1
    7662c85b: 897e18 mov [esi+18h], edi
    7662c85e: e95e79ffff jmp 766241c1
    7662c863: 90 nop
    7662c864: 90 nop
    7662c865: 90 nop
    7662c866: 90 nop
    7662c867: 90 nop
    7662c868: 8bff mov edi, edi
    7662c86a: 55 push ebp
    7662c86b: 8bec mov ebp, esp
    7662c86d: 83ec38 sub esp, 38h
    7662c870: 56 push esi
    7662c871: 8b3554036276 mov esi, [76620354]
    7662c877: 6a00 push 00h
    7662c879: 6a2c push 2ch
    7662c87b: 8d45c8 lea eax, [ebp-38h]
    7662c87e: 50 push eax
    7662c87f: 6a00 push 00h
    7662c881: ffd6 call esi
    7662c883: 85c0 test eax, eax
    7662c885: 7c20 jl 7662c8a7
    7662c887: 6a00 push 00h
    7662c889: 6a0c push 0ch
    7662c88b: 8d45f4 lea eax, [ebp-0ch]
    7662c88e: 50 push eax
    7662c88f: 6a01 push 01h
    7662c891: ffd6 call esi
    7662c893: 85c0 test eax, eax
    7662c895: 7c10 jl 7662c8a7
    7662c897: ff7508 push dword ptr [ebp+08h]
    7662c89a: 8d45f4 lea eax, [ebp-0ch]
    7662c89d: 50 push eax
    7662c89e: 8d db 8dh
    7662c89f: 45 inc ebp

    Built on Aegis on Fri Dec 24 13:18:44 2010 using compiler version 1400

    Windows 6.0 (Windows Vista x64 build 6002) [Service Pack 2]

    EAX = 27a3f400
    EBX = 2771142c
    ECX = 00000003
    EDX = 00000000
    EBP = 27a3f450
    ESI = 11866a98
    EDI = 002fd040
    ESP = 27a3f400
    EIP = 7662c83b
    EFLAGS = 00000216
    FPUCW = 027f
    FPUTW = ffff

    Crash reason: Unhandled Microsoft C++ Exception

    Crash context:
    An exception occurred in module 'kernel32'.

    Pointer dumps:

    EAX 27a3f400: e06d7363 00000001 00000000 7662c83b 00000003 19930520 27a3f498 11852e58
    EBX 27711428: 00000003 00000003 05510b30 277113d0 00000000 00aa5500 7e387242 88000000
    ESI 11866a98: 11821464 11837a40 00000000 00000001 2584926f 00000000 00000001 00000000
    EDI 002fd040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    ESP 27a3f400: e06d7363 00000001 00000000 7662c83b 00000003 19930520 27a3f498 11852e58
    27a3f420: 49bc9612 0000001c 1180394f 002fd040 2771142c 11866a98 27a3f444 118041d0
    27a3f440: 11866ee8 27a3f484 118030d9 00000008 27a3f488 11800201 e06d7363 00000001
    27a3f460: 00000003 27a3f47c e06d7363 00000001 00000000 00000000 00000003 19930520
    EBP 27a3f450: 27a3f488 11800201 e06d7363 00000001 00000003 27a3f47c e06d7363 00000001
    27a3f470: 00000000 00000000 00000003 19930520 27a3f498 11852e58 27a3f4a4 117fa292
    27a3f490: 27a3f498 11852e58 11821464 11837a40 00000000 05510b00 11724c58 002fd040
    27a3f4b0: 05510b30 27711448 27a3f560 1181a83b 00000000 11724f5d 05510b00 05510b00

    Thread call stack:
    7662c83b: kernel32!RaiseException [76610000+1c7e2+59]
    7662c83b: kernel32!RaiseException [76610000+1c7e2+59]
    1180394f: AviSynth!DllCanUnloadNow [11720000+c4a0+d74af]
    118041d0: AviSynth!DllCanUnloadNow [11720000+c4a0+d7d30]
    118030d9: AviSynth!DllCanUnloadNow [11720000+c4a0+d6c39]
    11800201: AviSynth!DllCanUnloadNow [11720000+c4a0+d3d61]
    117fa292: AviSynth!DllCanUnloadNow [11720000+c4a0+cddf2]
    11724c58: AviSynth!00004c58
    11724f5d: AviSynth!00004f5d
    11724baf: AviSynth!00004baf
    11724fe0: AviSynth!00004fe0
    117242fc: AviSynth!000042fc
    117244b0: AviSynth!000044b0
    117277a4: AviSynth!avs_new_video_frame_a [11720000+7780+24]
    03ca3c58: yadif!avisynth_c_plugin_init@4 [03ca0000+32b0+9a8]
    77d4fbd5: ntdll!RtlFreeHandle [77cf0000+5fb63+72]
    11726a2b: AviSynth!avs_copy_video_frame [11720000+69e0+4b]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    1175756b: AviSynth!DllCanUnloadNow [11720000+c4a0+2b0cb]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    117a7640: AviSynth!DllCanUnloadNow [11720000+c4a0+7b1a0]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    11759cd8: AviSynth!DllCanUnloadNow [11720000+c4a0+2d838]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    11759cd8: AviSynth!DllCanUnloadNow [11720000+c4a0+2d838]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    1179b690: AviSynth!DllCanUnloadNow [11720000+c4a0+6f1f0]
    117244b0: AviSynth!000044b0
    1179a78d: AviSynth!DllCanUnloadNow [11720000+c4a0+6e2ed]
    77d3956a: ntdll!NtAllocateVirtualMemory [77cf0000+49558+12]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    11763c85: AviSynth!DllCanUnloadNow [11720000+c4a0+377e5]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    1175cd82: AviSynth!DllCanUnloadNow [11720000+c4a0+308e2]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    1175ca3f: AviSynth!DllCanUnloadNow [11720000+c4a0+3059f]
    1175c901: AviSynth!DllCanUnloadNow [11720000+c4a0+30461]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    1175d8f2: AviSynth!DllCanUnloadNow [11720000+c4a0+31452]
    1181b959: AviSynth!DllCanUnloadNow [11720000+c4a0+ef4b9]
    1175ca3f: AviSynth!DllCanUnloadNow [11720000+c4a0+3059f]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    11759cd8: AviSynth!DllCanUnloadNow [11720000+c4a0+2d838]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    1178da22: AviSynth!DllCanUnloadNow [11720000+c4a0+61582]
    76693f8b: kernel32!HeapFree [76610000+83f77+14]
    117fa32b: AviSynth!DllCanUnloadNow [11720000+c4a0+cde8b]
    1172b9ba: AviSynth!avs_delete_script_environment [11720000+7c10+3daa]
    1172a68a: AviSynth!avs_delete_script_environment [11720000+7c10+2a7a]
    1172eea7: AviSynth!DllCanUnloadNow [11720000+c4a0+2a07]
    7669f13c: kernel32!BaseThreadInitThunk [76610000+8f12e+e]
    77d6d80d: ntdll!RtlCreateUserProcess [77cf0000+7d781+8c]
    77d6da1f: ntdll!RtlCreateProcessParameters [77cf0000+7d9d1+4e]

    -- End of report
    What's causing that?
    Quote Quote  
  2. did you try it with the normal stable Avisynth 2.58 instead of using the Avisynth MT Variant,...
    Quote Quote  
  3. It does work if I comment out the SetMTMode() line, though it takes several times as long.
    Quote Quote  
  4. 1st read up on how to use SetMTMode; not all filters run stable with SetMTMode 2
    2nd try:
    Code:
    SetMTMode(5,0)
    MPEG2Source("dtv.d2v")
    SetMTMode(2)
    hd2sd(interlaced=true, OutputColorSpace="YUY2", Widescreentype=0)
    Last edited by Selur; 11th Apr 2012 at 12:57.
    Quote Quote  
  5. After reinstalling Windows, I tried it again on the off chance it would work. I ran two jobs through as a batch and it worked fine. The next job, however, crashed. So I queued it up, then ran it through job control...and it worked.

    I've no idea what the problem is, but this seems fine as a workaround.
    Quote Quote  



Similar Threads

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