Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

Pages: (16) « First ... 8 9 [10] 11 12 ... Last » ( Go to first unread post )
Virtualdub 1.9.x Test Thread, Very experimental build
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
UGC
  Posted: May 26 2010, 03:59 AM


Member


Group: Members
Posts: 10
Member No.: 25674
Joined: 11-June 09



not sure if this is a joke or not after reading the forum post about "Foo", but I downloaded VirtualDub-1.9.X-test19-AMD64, and for capture, I have about 8 selections for video labeled "Foo#1-8", and about 50 labeled the same way for the audio capture?- which makes it unusable for me because I don't know which one to select on the audio.

I only have 1 capture card, and about 8 audio inputs to pick from. What gives?
 
     Top
Gromozeka
Posted: May 26 2010, 12:07 PM


Advanced Member


Group: Members
Posts: 52
Member No.: 26717
Joined: 1-January 10



I add to vdub xvid_encraw (other version) and creat divx preset (speed compress with analog xvidvfw + 15%)

External encoders\xvid_encraw.exe
-i stdin -single -cq 3,0 -max_bframes 1 -bvhq -quality 6 -vhqmode 4 -qtype 0 -noclosed_gop -lumimasking -smoother 100 -bquant_ratio 100 -bquant_offset 100 -max_key_interval 300 -imin 2 -imax 2 -pmin 3 -pmax 4 -bmin 4 -bmax 10 -threads 2 -w %(width) -h %(height) -framerate %(fps) -o "%(tempvideofile)"
avi
External encoders\lame.exe
-m j -q 0 -v -h --vbr-new -V 6 -b 8 -B 192 - "%(tempaudiofile)"
mp3
External encoders\ffmpeg.exe
-i "%(tempvideofile)" -vtag DX50 -vcodec copy -i "%(tempaudiofile)" -acodec copy "%(outputfile)_result.avi"

external encoders there:
http://rapidshare.com/files/391722547/Exte...coders.exe.html

Phaeron, you can add to virtualdub view command line with statistics encoding?

user posted image
 
     Top
v0lt
  Posted: May 26 2010, 05:48 PM


Advanced Member


Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09



it works:
CODE
vdub.exe
/i "c:\Program Files\VirtualDub-1.9.X\tools\script\mux_AVI.script" "%(tempvideofile)" "%(tempaudiofile)" "%(outputfile).avi"


but it does not work sad.gif :
CODE
vdub.exe
/i tools\script\mux_AVI.script "%(tempvideofile)" "%(tempaudiofile)" "%(outputfile).avi"

Log:
Mux: Cannot open file "mux_AVI.script":
Mux: The system cannot find the path specified.
 
     Top
stephanV
Posted: May 26 2010, 09:31 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



does it work if you use
CODE
.\tools\script\mux_AVI.script


--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
v0lt
  Posted: May 27 2010, 02:53 AM


Advanced Member


Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09



stephanV
QUOTE
does it work if you use
.\tools\script\mux_AVI.script

also not working

phaeron
Please make a variable "vdpath". Åxample:
CODE
vdub.exe
/i "%(vdpath)\tools\script\mux_AVI.script" "%(tempvideofile)" "%(tempaudiofile)" "%(outputfile).avi"


You can also add a variable "encpath". Maybe someone need. Åxample:
CODE
D:\xvid_encraw\xvid_encraw.exe
-cq 3.0 -qmatrix "%(encpath)\supermatrix" -i stdin -w %(width) -h %(height) -framerate %(fps) -avi "%(tempvideofile)"


A working folder let it be equal to the output folder. Logs will be convenient to write.

machine translation sad.gif
 
     Top
stephanV
Posted: May 27 2010, 07:03 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



Strange, cause it works here. A single dot is the dos/unix replacement for working directory. Is your working directory actually the virtualdub path?

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
v0lt
Posted: May 27 2010, 01:25 PM


Advanced Member


Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09



stephanV
I checked the working directory = output directory. I thought and decided that this is normal, but I want the variables "vdpath" and "encpath".
 
     Top
phaeron
Posted: May 29 2010, 05:26 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Sorry, been a bit busy with work and stuff....

The current directory is not guaranteed, folks. It getting set to the output directory is a side effect of the Windows common file dialog.

%(vdpath) makes sense, but I'm not sure what %(encpath) would be. Did you mean something like %(outputdir)?

BTW, I found where "Foo" was coming from. Turns out it's from some test code I put into the 1.9.X branch and forgot to take out. It's been removed in test-20.
 
    Top
v0lt
Posted: May 29 2010, 06:49 AM


Advanced Member


Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09



QUOTE
It getting set to the output directory is a side effect of the Windows common file dialog.

I've already said this is normal. I initially did not like, but if you do %(vdpath), then all is well.

QUOTE
%(vdpath) makes sense, but I'm not sure what %(encpath) would be.

OK! Variable %(vdpath) is very much needed. It is necessary to configure encoders were not tied to a specific VirtualDub folder.
%(åncpath) is sometimes possible to calculate.

QUOTE
Did you mean something like %(outputdir)?

Hmm. Path %(outputdir) so current. Maybe someone should be.
 
     Top
stephanV
Posted: Jun 2 2010, 09:02 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



I had a crash when using only an external video encoder, in the encoder set audio and muxer were '(none)'.

CODE
VirtualDub crash report -- build 33772 (release)
--------------------------------------

Disassembly:
004c91c0: 240c            and    al, 0ch
004c91c2: 85c0            test   eax, eax
004c91c4: c644242402      mov    byte ptr [esp+24h], 02h
004c91c9: 7428            jz     004c91f3
004c91cb: 68f8ba6100      push   0061baf8
004c91d0: 8d8e84000000    lea    ecx, [esi+84]
004c91d6: 51              push   ecx
004c91d7: 57              push   edi
004c91d8: 8bc8            mov    ecx, eax
004c91da: e841feffff      call   004c9020
004c91df: 5f              pop    edi
004c91e0: 894608          mov    [esi+08h], eax
004c91e3: 5e              pop    esi
004c91e4: 8b4c2414        mov    ecx, [esp+14h]
004c91e8: 64890d00000000  mov    fs:[00000000], ecx
004c91ef: 83c420          add    esp, 20h
004c91f2: c3              ret    
004c91f3: 8b4c241c        mov    ecx, [esp+1ch]
004c91f7: 33c0            xor    eax, eax
004c91f9: 894608          mov    [esi+08h], eax
004c91fc: 5f              pop    edi
004c91fd: 5e              pop    esi
004c91fe: 64890d00000000  mov    fs:[00000000], ecx
004c9205: 83c420          add    esp, 20h
004c9208: c3              ret    
004c9209: cc              int    3
004c920a: cc              int    3
004c920b: cc              int    3
004c920c: cc              int    3
004c920d: cc              int    3
004c920e: cc              int    3
004c920f: cc              int    3
004c9210: 64a100000000    mov    eax, fs:[00000000]
004c9216: 6aff            push   0ffh
004c9218: 68a95d5f00      push   005f5da9 (RtlUnwind@16+7113)
004c921d: 50              push   eax
004c921e: 64892500000000  mov    fs:[00000000], esp
004c9225: 83ec08          sub    esp, 08h
004c9228: 56              push   esi
004c9229: 8bf1            mov    esi, ecx
004c922b: 837e1000        cmp    dword ptr [esi+10h], 00h
004c922f: 7421            jz     004c9252
004c9231: 8d442404        lea    eax, [esp+04h]
004c9235: 6864bb6100      push   0061bb64
004c923a: 50              push   eax
004c923b: e820650600      call   0052f760
004c9240: 83c408          add    esp, 08h
004c9243: 6860e26400      push   0064e260
004c9248: 8d4c2408        lea    ecx, [esp+08h]
004c924c: 51              push   ecx
004c924d: e8f38b1000      call   005d1e45
004c9252: 8b86b4000000    mov    eax, [esi+b4]
004c9258: 83783c01        cmp    dword ptr [eax+3ch], 01h      <-- FAULT
004c925c: 57              push   edi
004c925d: 7544            jnz    004c92a3
004c925f: 6a28            push   28h
004c9261: e88d871000      call   005d19f3
004c9266: 83c404          add    esp, 04h
004c9269: 89442408        mov    [esp+08h], eax
004c926d: 85c0            test   eax, eax
004c926f: c7442418000000  mov    dword ptr [esp+18h], 00000000
         00              
004c9277: 740b            jz     004c9284
004c9279: 8bc8            mov    ecx, eax
004c927b: e800a60000      call   004d3880
004c9280: 8bf8            mov    edi, eax
004c9282: eb02            jmp    004c9286
004c9284: 33ff            xor    edi, edi
004c9286: 8b4e14          mov    ecx, [esi+14h]
004c9289: 85c9            test   ecx, ecx
004c928b: c7442418ffffff  mov    dword ptr [esp+18h], ffffffff
         ff              
004c9293: 7409            jz     004c929e
004c9295: 8b11            mov    edx, [ecx]
004c9297: 8b4204          mov    eax, [edx+04h]
004c929a: 6a01            push   01h
004c929c: ffd0            call   eax
004c929e: 897e14          mov    [esi+14h], edi
004c92a1: eb42            jmp    004c92e5
004c92a3: 6a20            push   20h
004c92a5: e849871000      call   005d19f3
004c92aa: 83c404          add    esp, 04h
004c92ad: 89442408        mov    [esp+08h], eax
004c92b1: 85c0            test   eax, eax
004c92b3: c7442418010000  mov    dword ptr [esp+18h], 00000001
         00              
004c92bb: 740b            jz     004c92c8
004c92bd: 8bc8            mov    ecx, eax
004c92bf: e8              db     0e8h

Built on Aegis on Fri May 28 22:11:21 2010 using compiler version 1400

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

EAX = 00000000
EBX = 01d843c4
ECX = 01d843b8
EDX = 0061bc18
EBP = 0012f8d8
ESI = 01d843b8
EDI = 0012fa40
ESP = 0012f82c
EIP = 004c9258
EFLAGS = 00010246
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Access Violation

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

...reading address 0000003C.

Pointer dumps:

EBX   01d843c0: 01d984f8 0061bc04 00000000 00000000 00000000 01d42bb0 00010000 908e8d8c
ECX   01d843b8: 0061bc18 00000000 01d984f8 0061bc04 00000000 00000000 00000000 01d42bb0
EDX   0061bc18: 004c7f70 004ca420 004c9360 004ca440 004c9210 004c90e0 005bc3e0 005bb030
ESI   01d843b8: 0061bc18 00000000 01d984f8 0061bc04 00000000 00000000 00000000 01d42bb0
EDI   0012fa40: 00602a18 73646976 32315659 00000000 00000000 00000000 00000001 00000013
ESP   0012f828: 00000000 01d843b8 00000001 00000000 0012f864 005f5da9 ffffffff 0041f91b
     0012f848: 00000000 01d84cc0 01d84b58 01d843c4 01d3d520 00000000 00000000 0012f910
     0012f868: 005f00e0 00000001 004206b9 01d84e58 01d84cc0 0042085a 01d84cc0 01d84b40
     0012f888: 01d84bd8 01d84e9c 00000000 00000004 0051d4a3 01d3d1c0 00000000 00000000
EBP   0012f8d8: 01d84fa4 00419ea9 01d84b58 01d85078 01d84c20 0012fa40 01d41bf8 01d84fa4
     0012f8f8: 01d85050 0012fa40 01d3e818 0012f9cc 01d3e6a0 01e0fe10 0012f9c0 005efb3d
     0012f918: ffffffff 0046be65 00000005 01d3d190 01d3e6a0 00000000 bf800000 000001f4
     0012f938: 00000001 00000000 00000000 01010100 00000000 00000000 00000000 00000000

Thread call stack:
004c9258: AVIOutputCLI::createAudioStream()
0041f91b: VDAVIOutputCLISystem::CreateSegment()
004206b9: VDDubProcessThread::NextSegment()
0042085a: VDDubProcessThread::Init()
0051d4a3: ?$vdfastvector_base::_reserve_always()
00424020: VDDubVideoProcessor::SetVideoSources()
004212f8: VDDubProcessThread::SetVideoSources()
00419ea9: Dubber::Go()
0046be65: VDProject::RunOperation()
0052c6c3: VDStringW::reserve_slow()
0041f5ce: VDAVIOutputCLISystem::VDAVIOutputCLISystem()
0041f790: VDAVIOutputCLISystem::VDAVIOutputCLISystem()
0046ce20: VDProject::ExportViaEncoder()
00474b75: VDProjectUI::ExportViaEncoderAsk()
004781d3: VDProjectUI::MenuHit()
7710041f: USER32!DefWindowProcW [770e0000+203b4+6b]
00485ad0: VDUIFrame::DefProc()
004796b7: _catch$?MainWndProc@VDProjectUI@@IAEJIIJ@Z$0()
0046f760: VDProjectUI::WndProc()
00486185: VDUIFrame::StaticWndProc()
770ffd72: USER32!GetWindowLongW [770e0000+1f8bf+4b3]
770ffe4a: USER32!GetWindowLongW [770e0000+1f8bf+58b]
770ffdf3: USER32!GetWindowLongW [770e0000+1f8bf+534]
7710018d: USER32!GetMessageW [770e0000+1fef7+296]
770f885c: USER32!IsWindowVisible [770e0000+1878a+d2]
770f8b7c: USER32!DispatchMessageA [770e0000+18b6d+f]
0045a006: WinMain@16()
005d5eeb: __tmainCRTStartup()
7645d0e9: kernel32!BaseThreadInitThunk [76410000+4d0d7+12]
77b919bb: ntdll!RtlInitializeExceptionChain [77b50000+41958+63]
77b9198e: ntdll!RtlInitializeExceptionChain [77b50000+41958+36]

-- End of report


It also seems temporary files are not deleted. Is this intentional?

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
v0lt
Posted: Jun 2 2010, 03:42 PM


Advanced Member


Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09



stephanV
QUOTE
I had a crash when using only an external video encoder, in the encoder set audio and muxer were '(none)'.

I wanted to write the same thing. smile.gif

Helps to disable the sound track (Audio->No Audio). But it's not the best solution.
 
     Top
v0lt
Posted: Jun 2 2010, 04:16 PM


Advanced Member


Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09



phaeron
Request:
Please make an option for multiplexer "Delete temporary video and audio files".
 
     Top
phaeron
Posted: Jun 3 2010, 05:58 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



I've added four new macros in test-21:

  • %(hostdir): evaluates to VirtualDub's program directory
  • %(programdir): evaluates to the program directory of the encoder
  • %(systemdir): evaluates to the Windows system directory
  • %(outputdir): evaluates to the directory of the output file

All of these macros do not have a trailing backslash, so you'd use them like this: %(outputdir)\filename. I hate directory macros that end in backslashes (i.e. Visual Studio 2010). In the event that a path is used which does not have any directory on it, the macros give "." instead.

If an encoding set does not have an audio encoder, the encoding now proceeds without the audio path, like any other video-only export.

The temp video/audio files are now deleted on completion.
 
    Top
Loadus
Posted: Jun 3 2010, 06:57 AM


Advanced Member


Group: Members
Posts: 352
Member No.: 10881
Joined: 1-July 04



QUOTE (phaeron @ Jun 2 2010, 11:58 PM)

  • %(hostdir): evaluates to VirtualDub's program directory

The temp video/audio files are now deleted on completion.

Awesome. Gotta update my sets right away.

Thanks for these! ^^


EDIT:

The %(hostdir) is meant to be used in the command arguments, right?
So I can't use it like this (x264.exe residing in VirtualDub's folder):

user posted image

Would be cool to make the encoder profiles "portable" ... : )

--------------------
deviantART behance
 
       Top
jpsdr
Posted: Jun 3 2010, 07:32 AM


Advanced Member


Group: Members
Posts: 335
Member No.: 20490
Joined: 23-December 06



Why use b-pyramid strict, when the encode (with keyint 999) is obviously not for blu-ray ?
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
237 replies since Aug 3 2009, 12:49 AM Track this topic | Email this topic | Print this topic
Pages: (16) « First ... 8 9 [10] 11 12 ... Last »
<< Back to Testing / Bug Reports