View Full Version : Complete VDubMod commandline options?
Sirber
21st August 2006, 02:48
Hi
They are not avalible in the help files nor on this forum (I searched). Can someone post them please?
Thanks!
Sirber
21st August 2006, 02:55
hum... ok I foudn it in the help. I though there was more options :)
VirtualDubMod.exe /s test.vcf /p "source.avi","out.avi"
where test.vcf is:
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,1);
VirtualDub.stream[0].DeleteComments(1);
VirtualDub.stream[0].AdjustChapters(1);
VirtualDub.stream[0].SetMode(1);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.stream[0].EnableFilterGraph(0);
VirtualDub.stream[0].filters.Clear();
VirtualDub.video.DeleteComments(1);
VirtualDub.video.AddComment(0x00000002,"ISFT","Nandub v1.0rc2");
VirtualDub.video.AdjustChapters(1);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
says "Can't open script file" then crash, why?
Crashlog:
VirtualDub crash report -- build 2540 (release)
--------------------------------------
Disassembly:
7c81eaa0: 7c2e jl 7c81ead0
7c81eaa2: 6a02 push 02
7c81eaa4: 56 push esi
7c81eaa5: e877200000 call 7c820b21
7c81eaaa: 3d05010000 cmp eax, 00000105
7c81eaaf: 7516 jnz 7c81eac7
7c81eab1: 6a01 push 01
7c81eab3: ffb6a8000000 push dword ptr [esi+a8]
7c81eab9: ffb684000000 push dword ptr [esi+84]
7c81eabf: 56 push esi
7c81eac0: e88c0fffff call 7c80fa51
7c81eac5: ebd7 jmp 7c81ea9e
7c81eac7: 3d1a000080 cmp eax, 8000001a
7c81eacc: 7502 jnz 7c81ead0
7c81eace: 33c0 xor eax, eax
7c81ead0: 5e pop esi
7c81ead1: 5d pop ebp
7c81ead2: c20400 ret 0004
7c81ead5: 33c0 xor eax, eax
7c81ead7: e932290000 jmp 7c82140e
7c81eadc: 90 nop
7c81eadd: 90 nop
7c81eade: 90 nop
7c81eadf: 90 nop
7c81eae0: 90 nop
7c81eae1: 8bff mov edi, edi
7c81eae3: 55 push ebp
7c81eae4: 8bec mov ebp, esp
7c81eae6: 83ec50 sub esp, 50
7c81eae9: 8b4508 mov eax, [ebp+08]
7c81eaec: 8365b800 and dword ptr [ebp-48], 00
7c81eaf0: 8945b0 mov [ebp-50], eax
7c81eaf3: 8b450c mov eax, [ebp+0c]
7c81eaf6: 56 push esi
7c81eaf7: 8b7514 mov esi, [ebp+14]
7c81eafa: 83e001 and eax, 01
7c81eafd: 85f6 test esi, esi
7c81eaff: 8945b4 mov [ebp-4c], eax
7c81eb02: c745bce1ea817c mov dword ptr [ebp-44], 7c81eae1
7c81eb09: 0f849a000000 jz 7c81eba9
7c81eb0f: 8b4d10 mov ecx, [ebp+10]
7c81eb12: 83f90f cmp ecx, 0f
7c81eb15: 0f87695a0200 ja 7c844584
7c81eb1b: 85c9 test ecx, ecx
7c81eb1d: 894dc0 mov [ebp-40], ecx
7c81eb20: 7407 jz 7c81eb29
7c81eb22: 57 push edi
7c81eb23: 8d7dc4 lea edi, [ebp-3c]
7c81eb26: f3a5 rep movsd
7c81eb28: 5f pop edi
7c81eb29: 8d45b0 lea eax, [ebp-50]
7c81eb2c: 50 push eax
7c81eb2d: ff150415807c call dword ptr [7c801504]
7c81eb33: 5e pop esi <-- FAULT
7c81eb34: c9 leave
7c81eb35: c21000 ret 0010
7c81eb38: 85ff test edi, edi
7c81eb3a: 0f8ee6d0feff jle 7c80bc26
7c81eb40: 8b55fc mov edx, [ebp-04]
7c81eb43: 89550c mov [ebp+0c], edx
7c81eb46: 0fb716 movzx edx, word ptr [esi]
7c81eb49: 8b7df8 mov edi, [ebp-08]
7c81eb4c: 8a143a mov dl, [edx+edi]
7c81eb4f: 8811 mov [ecx], dl
7c81eb51: 8b780c mov edi, [eax+0c]
7c81eb54: 0fb6d2 movzx edx, dl
7c81eb57: 668b1457 mov dx, [edi+edx*2]
7c81eb5b: 663b16 cmp edx, [esi]
7c81eb5e: 0f852fc70200 jnz 7c84b293
7c81eb64: 8b5008 mov edx, [eax+08]
7c81eb67: 668b5a04 mov bx, [edx+04]
7c81eb6b: 3819 cmp [ecx], bl
7c81eb6d: 0f842dc70200 jz 7c84b2a0
7c81eb73: 46 inc esi
7c81eb74: 46 inc esi
7c81eb75: 41 inc ecx
7c81eb76: ff4d0c dec dword ptr [ebp+0c]
7c81eb79: 0f84a7d0feff jz 7c80bc26
7c81eb7f: ebc5 jmp 7c81eb46
7c81eb81: 8b4d10 mov ecx, [ebp+10]
7c81eb84: e83bb7feff call 7c80a2c4
7c81eb89: 8b550c mov edx, [ebp+0c]
7c81eb8c: 8bd8 mov ebx, eax
7c81eb8e: 43 inc ebx
7c81eb8f: e954e4feff jmp 7c80cfe8
7c81eb94: 8bd9 mov ebx, ecx
7c81eb96: 895d08 mov [ebp+08], ebx
7c81eb99: e949e3feff jmp 7c80cee7
7c81eb9e: 8b35 mov esi, [ebp]
Windows 5.1 (Windows XP build 2600) [Service Pack 2]
EAX = 0012fd8c
EBX = 00000022
ECX = 00000000
EDX = 00c68cec
EBP = 0012fddc
DS:ESI = 0023:0012fe1c
ES:EDI = 0023:0012fe1c
SS:ESP = 0023:0012fd88
CS:EIP = 001b:7c81eb33
FS = 003b
GS = 0000
EFLAGS = 00000206
FPUCW = ffff027f
FPUTW = ffffffff
MM0 = 00c3c2c52bedecf0
MM1 = 000000002b2a2a2b
MM2 = 00000081007f0082
MM3 = 000000af00ae00b1
MM4 = 40eeeef273f1f1f5
MM5 = 000000b000af00b2
MM6 = 8000000000000000
MM7 = 8000000000000000
Crash reason: Unhandled Microsoft C++ Exception
Crash context:
An exception occurred in module 'kernel32'.
Thread traces:
Thread 00000da0 (Main thread)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(344)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(387)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(414)
Thread call stack:7c81eb33: kernel32!RaiseException [7c800000+1eae1+52]
7c81eb33: kernel32!RaiseException [7c800000+1eae1+52]
0055d919: (special)()
004976cb: RunScript()
0056aaaf: _CxxThrowException@8()
0047ea17: ParseCommandLine()
77da6c74: ADVAPI32!RegCloseKey [77da0000+6bf0+84]
00463aca: DetectDivX()
0047de73: Init()
004838f4: WinMain@16()
7c920970: ntdll!RtlReleasePebLock [7c910000+10961+f]
7c8021b5: kernel32!GetStartupInfoA [7c800000+1eee+2c7]
7c802011: kernel32!GetStartupInfoA [7c800000+1eee+123]
0056aea4: atexit()
0056caee: WinMainCRTStartup()
7c816d4f: kernel32!RegisterWaitForInputIdle [7c800000+16d06+49]
-- End of report
Sirber
21st August 2006, 03:08
I found:
VirtualDubMod.exe /s"test.vcf" /p"source.avi","out.avi" /r /x
but still crash :(
Sirber
21st August 2006, 03:17
VDub don't crash... gonna see if audio is sinc.
iNFO-DVD
21st August 2006, 12:15
Yes the commandline of the normal VirtualDub is much better, VirtualDub also comes with a dedicated 'exe' file for what you want to do. Trouble is, the normal VirtualDub wont let you use both AC3 and MP3 audio streams in this way.
I looked at your command lines and noticed you have the source and destination file in the actual command line, I didn't even know you could do this, don't know whether that's the problem but I've always put them in the actual script. I only used it to MUX the A/V, not sure why you want to do it, but if you want me to show you an example script let me know.
Sirber
21st August 2006, 13:12
oh yeah!!! It's in sinc! :D
:D :D :D!
Worked with VDub.exe #1. Thanks!
Persona Jumana
31st January 2008, 23:23
Hello. I´ve got a problem trying to save avi files with 2 mp3-vbr streams with just an audio stream. I mean: I´ve got planty of avi files with two audio streams, one is the original version and the other one the translation. I want to remove one of them and vdubmod won´t do that. Vdub.exe won´t either.
the command I´m using is:
VirtualDubMod.exe /s "test.vcf" /p "H:\whatever.*avi","H\whatever2\*.avi" /r /x
and the vcf file is:
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0,1);
VirtualDub.stream[0].DeleteComments(1);
VirtualDub.stream[0].AdjustChapters(1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.stream[0].EnableFilterGraph(0);
VirtualDub.stream[0].filters.Clear();
VirtualDub.video.DeleteComments(1);
VirtualDub.video.AddComment(0x00000002,"ISFT","VirtualDubMod 1.5.10.1 (build 2439/release)");
VirtualDub.video.AddComment(0x00000003,"INAM","The Sopranos 2x01");
VirtualDub.video.AddComment(0x00000005,"IART","DVD-Rip by F...");
VirtualDub.video.AddComment(0x0000000C,"ICRD","18-11-05");
VirtualDub.video.AdjustChapters(1);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(0,71152);
and this is the crash report:
VirtualDub crash report -- build 2542 (release)
--------------------------------------
Disassembly:
7c8129c0: 68daffff8b push 8bffffda
7c8129c5: 4d dec ebp
7c8129c6: 1089013bc60f adc [ecx+fc63b01], cl
7c8129cc: 84ad1b030089 test [ebp-76fffce5], ch
7c8129d2: 75e4 jnz 7c8129b8
7c8129d4: 834dfcff or dword ptr [ebp-04], ff
7c8129d8: e81c000000 call 7c8129f9
7c8129dd: 8b45e4 mov eax, [ebp-1c]
7c8129e0: e81cfbfeff call 7c802501
7c8129e5: c20c00 ret 000c
7c8129e8: ff db ff
7c8129e9: ff db ff
7c8129ea: ff db ff
7c8129eb: ff00 inc dword ptr [eax]
7c8129ed: 0000 add [eax], al
7c8129ef: 00f9 add cl, bh
7c8129f1: 29817c909090 sub [ecx-6f6f6f84], eax
7c8129f7: 90 nop
7c8129f8: 90 nop
7c8129f9: 8d45cc lea eax, [ebp-34]
7c8129fc: 50 push eax
7c8129fd: ff153812807c call dword ptr [7c801238]
7c812a03: c3 ret
7c812a04: 90 nop
7c812a05: 90 nop
7c812a06: 90 nop
7c812a07: 90 nop
7c812a08: 90 nop
7c812a09: 8bff mov edi, edi
7c812a0b: 55 push ebp
7c812a0c: 8bec mov ebp, esp
7c812a0e: 83ec50 sub esp, 50
7c812a11: 8b4508 mov eax, [ebp+08]
7c812a14: 8365b800 and dword ptr [ebp-48], 00
7c812a18: 8945b0 mov [ebp-50], eax
7c812a1b: 8b450c mov eax, [ebp+0c]
7c812a1e: 56 push esi
7c812a1f: 8b7514 mov esi, [ebp+14]
7c812a22: 83e001 and eax, 01
7c812a25: 85f6 test esi, esi
7c812a27: 8945b4 mov [ebp-4c], eax
7c812a2a: c745bc092a817c mov dword ptr [ebp-44], 7c812a09
7c812a31: 0f8499000000 jz 7c812ad0
7c812a37: 8b4d10 mov ecx, [ebp+10]
7c812a3a: 83f90f cmp ecx, 0f
7c812a3d: 0f872d1c0300 ja 7c844670
7c812a43: 85c9 test ecx, ecx
7c812a45: 894dc0 mov [ebp-40], ecx
7c812a48: 7407 jz 7c812a51
7c812a4a: 57 push edi
7c812a4b: 8d7dc4 lea edi, [ebp-3c]
7c812a4e: f3a5 rep movsd
7c812a50: 5f pop edi
7c812a51: 8d45b0 lea eax, [ebp-50]
7c812a54: 50 push eax
7c812a55: ff150815807c call dword ptr [7c801508]
7c812a5b: 5e pop esi <-- FAULT
7c812a5c: c9 leave
7c812a5d: c21000 ret 0010
7c812a60: 85ff test edi, edi
7c812a62: 0f8e3693ffff jle 7c80bd9e
7c812a68: 8b55fc mov edx, [ebp-04]
7c812a6b: 89550c mov [ebp+0c], edx
7c812a6e: 0fb716 movzx edx, word ptr [esi]
7c812a71: 8b7df8 mov edi, [ebp-08]
7c812a74: 8a143a mov dl, [edx+edi]
7c812a77: 8811 mov [ecx], dl
7c812a79: 8b780c mov edi, [eax+0c]
7c812a7c: 0fb6d2 movzx edx, dl
7c812a7f: 668b1457 mov dx, [edi+edx*2]
7c812a83: 663b16 cmp edx, [esi]
7c812a86: 0f8599890300 jnz 7c84b425
7c812a8c: 8b5008 mov edx, [eax+08]
7c812a8f: 668b5a04 mov bx, [edx+04]
7c812a93: 3819 cmp [ecx], bl
7c812a95: 0f8497890300 jz 7c84b432
7c812a9b: 46 inc esi
7c812a9c: 46 inc esi
7c812a9d: 41 inc ecx
7c812a9e: ff4d0c dec dword ptr [ebp+0c]
7c812aa1: 75cb jnz 7c812a6e
7c812aa3: e9f692ffff jmp 7c80bd9e
7c812aa8: 8b4d10 mov ecx, [ebp+10]
7c812aab: e82478ffff call 7c80a2d4
7c812ab0: 8b550c mov edx, [ebp+0c]
7c812ab3: 8bd8 mov ebx, eax
7c812ab5: 43 inc ebx
7c812ab6: e911a3ffff jmp 7c80cdcc
7c812abb: 8bd9 mov ebx, ecx
7c812abd: 895d08 mov [ebp+08], ebx
Windows 5.1 (Windows XP build 2600) [Service Pack 2]
EAX = 0012fd8c
EBX = 00000022
ECX = 00000000
EDX = 0112fc76
EBP = 0012fddc
DS:ESI = 0023:0012fe1c
ES:EDI = 0023:0012fe1c
SS:ESP = 0023:0012fd88
CS:EIP = 001b:7c812a5b
FS = 003b
GS = 0000
EFLAGS = 00000206
FPUCW = ffff027f
FPUTW = ffffffff
MM0 = 005e005e005e005e
MM1 = 00d500d500d500d5
MM2 = 000000570056004f
MM3 = 000000c400c200b4
MM4 = 2aefeddea1f8f7f1
MM5 = 000000c500c300b4
MM6 = 8000000000000000
MM7 = 8000000000000000
Crash reason: Unhandled Microsoft C++ Exception
Crash context:
An exception occurred in module 'kernel32'.
Thread traces:
Thread 0000090c (Main thread)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(344)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(387)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(414)
Thread call stack:7c812a5b: kernel32!RaiseException [7c800000+12a09+52]
7c812a5b: kernel32!RaiseException [7c800000+12a09+52]
0055d929: (special)()
004976db: RunScript()
0056aabf: _CxxThrowException@8()
0047ea27: ParseCommandLine()
77da6c74: ADVAPI32!RegCloseKey [77da0000+6bf0+84]
00463aca: DetectDivX()
0047de83: Init()
00483904: WinMain@16()
7c920970: ntdll!RtlReleasePebLock [7c910000+10961+f]
7c8021b5: kernel32!GetStartupInfoA [7c800000+1eee+2c7]
7c802011: kernel32!GetStartupInfoA [7c800000+1eee+123]
0056aeb4: atexit()
0056cafe: WinMainCRTStartup()
7c816fd7: kernel32!RegisterWaitForInputIdle [7c800000+16f8e+49]
-- End of report
Thank you very much in advance.
Sorry if asking a silly question but as you can see in my profile I´m a newbie...
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.