Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Testing / Bug Reports > Virtualdub 1.10.1 Test Thread


Posted by: phaeron Feb 20 2011, 06:53 AM
Got around to working on VirtualDub a bit, and started going through some of the easier items on the list. I backported the multi-monitor display support and portable mode code from Altirra, did a couple of fixes for Windows Vista/7 specific issues, and added a couple of the quicker features. One notable feature addition is auto-recover support, which allows VirtualDub to recover settings and the edit list after a crash. It's currently disabled by default, but I want to turn it on by default once I put in an option to move the default data directory out of the program directory (which is not install friendly).

Note: All 1.10.1 test releases have been superceded by 1.10.1 final.

http://www.virtualdub.org/beta/VirtualDub-1.10.1-test20.zip
http://www.virtualdub.org/beta/VirtualDub-1.10.1-test20-AMD64.zip
http://www.virtualdub.org/beta/VirtualDub-1.10.1-test20-src.7z

Current changes (some test-1 changes marked as test-2 since I forget):

  • (test-20) Cosmetic dialog fixes.
  • (test-19) Adjusted GUID display in file info dialog.
  • (test-19) Bumped input driver plugin API to V4 and added NoOptions flag.
  • (test-19) Fixed AutoRecover typo.
  • (test-18) Capture: Fix for crash in preview acceleration when switching capture formats on some cards.
  • (test-18) Images: Animated GIF crash fix.
  • (test-18) Added WAVEFORMATEX GUID in file info dialog.
  • (test-16) Fixed AVX detection bug.
  • (test-15) Audio filter dialog icon fix.
  • (test-15) Audio compression dialog now heeds mono-left and mono-right modes.
  • (test-15) Capture large timer and vumeter settings now saved.
  • (test-14) Fixed open/save file dialog regression.
  • (test-13) DirectDraw and Direct3D9 display fixes for Windows 8 Developer Preview.
  • (test-13) Fixes for some hang and error issues with external encoders (can't seek on a pipe with some versions of Windows, and didn't close the output pipes soon enough).
  • (test-13) A couple of dialog cleanups.
  • (test-13) Fixed pointer truncation crash in video compression dialog in 64-bit version.
  • (test-13) Added checks to enforce ALTFORMATS and block NEEDS_LAST flags for V16+ video filters.
  • (test-13) Raw video input mode was ignoring the initial padding offset.
  • (test-12) Added additional checks to prevent crashes due to excessively large video frames (>128M pixels total or >1M pixels in a dimension).
  • (test-12) Fixed annoying UI bug in Video Depth dialog where navigating to Other... by keyboard caused multiple dialogs.
  • (test-12) Fixed crash when opening filter preview with image formats that do not have a Windows BITMAPINFOHEADER equivalent.
  • (test-12) The open previous/next file command now works even if the existing file has been closed.
  • (test-11) Fixed Save As Default in Resize filter.
  • (test-10) Fixed detection bug in .wav driver.
  • (test-9) Fixed mouse cursor appearing when left clicking during right drag on position nub.
  • (test-9) Empty statements are now allowed in scripts.
  • (test-9) Improved error reporting with /cmd switch.
  • (test-9) Fixed regression in null transform filter with flipped formats.
  • (test-9) Filters: Improved format search rules for BT.709 and full range formats.
  • (test-9) Added BT.709 and full range YCbCr support to a bunch of filters.
  • (test-8) Added V16 API with multiple filter input support.
  • (test-8) Added blend layers and merge layers filters.
  • (test-8) Grayscale filter is now 3D accelerated.
  • (test-8) Filters can now safely request 0 source frames.
  • (test-8) LameACM acmFormatSuggest() bug workaround.
  • (test-8) Added comctl32 v6 manifest, since MS is now breaking v5 sad.gif
  • (test-7) Fixed cut off text in audio compression dialog.
  • (test-7) Filters: Many internal filters are now marked as pure transforms to allow pass-through of duplicated frames.
  • (test-7) AVI: File Information now displays audio format tag and prevents long video codec names from cutting off video tag.
  • (test-7) Command line: /capdevice no longer reselects a capture device if it is already the default.
  • (test-6) Capture: Fixed some frame skipping problems when conversions occurred between filters with the filter chain enabled.
  • (test-6) Capture: Fixed crashes when toggling black/white point extension with other capture filters active.
  • (test-6) Render: Fixed crashes in high quality audio sample rate conversion with very low or high rate values.
  • (test-5) About/Configure for audio codecs.
  • (test-4) Some 0x0 resize crash fixes.
  • (test-4) Fixed bicubic resampler regression in high-precision Direct3D9 display.
  • (test-4) Added about/configure dialog support for audio codecs.
  • (test-3) Crash handler now reports memory status.
  • (test-3) Rotate2 filter ported to x64 (although unoptimized).
  • (test-3) Added mpa/m1a/m2a extensions to MPEG audio import filter.
  • (test-3) Fixed graying of export to external encoder option.
  • (test-2) The "audio from other file" dialog now has an extended open options option.
  • (test-2) Added commands to cycle through files.
  • (test-2) Added command to launch a new instance.
  • (test-2) Added command to close and delete the current file.
  • (test-2) Added auto-recover option.
  • (test-2) Display: Added option for multi-monitor display acceleration.
  • (test-2) Command line: Added /capaudiorec and /capaudioplay switches.
  • (test-2) Command line: Added /resetall.
  • (test-2) Command line: Added /portable to initialize portable settings mode.
  • (test-2) Position control mark-in/out icons are now comctl32 v6 compatible.
  • (test-2) ExtEnc: Fixed extra data being written to audio pipe at end of stream.
  • (test-2) ExtEnc: Removed WAVE64 padding from WAVE stream written to pipe to improve compatibility with marginal WAVE parsers.
  • (test-2) BatchWizard: Re-save as AVI and Extract to WAV functions now force the .avi and .wav extensions on output filenames.
  • (test-2) Capture: "Windows Mixer" menu option now launches the Recording tab of the Sound control panel in Windows Vista and Windows 7.
  • (test-2) Capture: Fixed weird disable wonkiness with the Position and Screen Height labels in the screen capture settings dialog.
  • (test-2) Capture: Added option to allow selection of video codecs that do not support the current output format.
  • (test-2) Filters: Fixed bug in allocator merging code that was causing excessive memory usage when disparate frame sizes were used in the same filter chain.
  • (test-2) Defaults: Default preview display depth is now 24-bit.
  • (test-2) Defaults: DirectX hardware video overlays are now disabled by default to avoid color space issues and driver bugs.
  • (test-2) Render: Added option to inhibit system sleep during renders (on by default).
  • (test-2) Render: Added option for background I/O priority (Vista and up only).

Posted by: fmagreed2 Feb 20 2011, 07:11 PM
Thank you for all your hard work!

I can verify that:

(test-2) Capture: "Windows Mixer" menu option now launches the Recording tab of the Sound control panel in Windows Vista and Windows 7.
(test-2) Capture: Added option to allow selection of video codecs that do not support the current output format.

both work correctly on Win 7 x64 (both 32 and 64 bit versions of virtualdub).

Posted by: ale5000 Feb 20 2011, 11:32 PM
Great.

One small suggestion:
If you go on Audio => Audio from other file...
and select an .mp3 file with "Ask for extended options after this dialog" unchecked then it would be a good thing to NOT show the import dialog.

Posted by: ale5000 Feb 21 2011, 09:01 PM
Edit: Post removed

Posted by: ale5000 Feb 22 2011, 01:54 PM
Edit: Post removed

Posted by: ale5000 Feb 27 2011, 02:08 AM
Edit: Problem fixed

Posted by: phaeron Feb 28 2011, 01:58 AM
Not much on this drop, but test-3 is up.

QUOTE

If you go on Audio => Audio from other file...
and select an .mp3 file with "Ask for extended options after this dialog" unchecked then it would be a good thing to NOT show the import dialog.


Sorry, but I don't want to do this -- I don't want to trivialize that particular decision.

QUOTE

If I load an .ac3 file under Audio => Audio from other file... with "Ask for extended options after this dialog" checked it doesn't load the audio.


I haven't checked that particular plugin yet, but I wasn't able to reproduce this with AVI, at least.

Posted by: ale5000 Feb 28 2011, 11:08 AM
Edit: Post removed

Posted by: ale5000 Feb 28 2011, 11:09 AM
Edit: Problem fixed

Posted by: BugMaster Feb 28 2011, 06:03 PM
ale5000
What is x264vfw version? CPU? Also if possible provide test case (sample).

P.S. Most probably some bug in ffh264 decoder or corrupted sample. Was sample encoded with x264vfw in avi or it is imported with some plugin from other container (seeking need that every keyframe have SPS/PPS which is not the case for MP4/MKV)?

Posted by: ale5000 Feb 28 2011, 08:34 PM
Edit: Problem fixed

Posted by: mayhem Feb 28 2011, 10:14 PM
10.1-test branch seems to be altering display range of RGB, I realize
this is a sticky issue as people have their systems setup differently,etc
but on my system it appears to be imposing studioRGB ?? resulting
in a noticeably lower contrast "washed out" effect in the display panes.

Note this only seems to affect display and the end videos come out
full range, however, with the display panes affected it becomes very
difficult to properly make brightness/contrast/hue adjustments using
filters because whats on the screen will not match the output file.

For me this is remedied by unchecking Direct3D and using OpenGL
for display panes things look fine again, but wanted to make notification
of this regardless as it may effect some people using Direct3D/DirectX
for display panes depending on whether they use 0..255 or 16..235

The regular 10.0 branch doesn't have this change, I suspect it may
be related to the "direct X disabled by default" listed in changes?
If so its worth mentioning that if you update your files with this
newer version and still had directX/3D checked in settings it
stays that way regardless of being "disabled" and so this
change in RGB becomes evident (depending on system setup, OS
etc, I'm using XP maybe Win7 is sRGB by default or something)

Edit: Upon further fiddling it looks like this only applies
to Direct3D and not DirectX so possibly an ATI/nVidia
driver issue in there too. Anyhow, setting it to OpenGL
or only DirectX without Direct3D checked seems to be fine.


Posted by: BugMaster Feb 28 2011, 10:30 PM
ale5000
First of all tell fccHandler that first start code in H.264 Annex B can't be short (3-byte 0x000001), it must be 4-byte start code (0x00000001). I will try to fix x264vfw for this case which try to detect what it get Annex B or not (and fails for this samples) but this is against H.264 specs.

Posted by: BugMaster Feb 28 2011, 11:52 PM
ale5000
This version must work for such broken files: http://www.mediafire.com/?pn2j9hspsihs7ie

Posted by: ale5000 Mar 1 2011, 12:16 AM
Edit: Problem fixed

Posted by: pureocean Mar 1 2011, 10:18 AM
Firstly, @phaeron: Thank you for new test versions. Especially for "auto-recover". This feature will be getting better (of course, with feedbacks).

Secondly, @BugMaster: Thanks for special x264vfw_fix. Virtualdub can open all x/h264/avc based-videos with this fix. Thank you! Hopefully, fccHandler correct technical bytes on Matroska/FLV plugins that you're mentioned.

Posted by: phaeron Mar 5 2011, 11:24 PM
QUOTE (mayhem @ Feb 28 2011, 03:14 PM)
10.1-test branch seems to be altering display range of RGB, I realize
this is a sticky issue as people have their systems setup differently,etc
but on my system it appears to be imposing studioRGB ?? resulting
in a noticeably lower contrast "washed out" effect in the display panes.
...
Edit: Upon further fiddling it looks like this only applies
to Direct3D and not DirectX so possibly an ATI/nVidia
driver issue in there too. Anyhow, setting it to OpenGL
or only DirectX without Direct3D checked seems to be fine.

Uh... weird. I didn't make any changes to color space conversions in the Direct3D code, and it doesn't use YUV textures. The only change I made was to disable DirectX overlays by default, and that wouldn't affect you if you already had Direct3D checked. Both the Direct3D and the OpenGL paths use the same conversion equations: they explicitly use 16-235 unless you choose one of the full-range YCbCr formats.

What video card do you have? I need to know the model, e.g. NVIDIA GeForce 7900, because there are several paths in the Direct3D driver depending on graphics card level. Also, try using the channel levels test video (Tools > Create Test Video) and set the input and output color modes to YUY2. You should not be seeing a difference in color ranges between these two display modes.

Posted by: pintcat Mar 6 2011, 10:07 AM
#test 3 refuses to load two of my VD-filters: textsup.vdf and vobsub_vd.vdf. The log says that VDub is unable to load these filters, because the vdf-modules cannot be found. But they still reside in the plugins folder as they did all the time. AFAIR it used to work with the latest stable.

Posted by: ale5000 Mar 7 2011, 12:13 AM
Edit: Problem fixed

Posted by: mayhem Mar 8 2011, 05:32 AM
QUOTE (phaeron @ Mar 5 2011, 11:24 PM)
QUOTE (mayhem @ Feb 28 2011, 03:14 PM)
10.1-test branch seems to be altering display range of RGB <snip>
Edit: Upon further fiddling it looks like this only applies
to Direct3D and not DirectX so possibly an ATI/nVidia
driver issue in there too.  Anyhow, setting it to OpenGL
or only DirectX without Direct3D checked seems to be fine.


Uh... weird. I didn't make any changes to color space conversions in the Direct3D code, and it doesn't use YUV textures. The only change I made was to disable DirectX overlays by default, and that wouldn't affect you if you already had Direct3D checked. Both the Direct3D and the OpenGL paths use the same conversion equations: they explicitly use 16-235 unless you choose one of the full-range YCbCr formats.

What video card do you have? I need to know the model, e.g. NVIDIA GeForce 7900, because there are several paths in the Direct3D driver depending on graphics card level. Also, try using the channel levels test video (Tools > Create Test Video) and set the input and output color modes to YUY2. You should not be seeing a difference in color ranges between these two display modes.

Upon further comparison of settings between 1.10.0
and 1.10.1-test branch the setting that actually makes
the difference turns out to be "use high precision conversion"
which I had checked by default in both versions originally.

Display was set to use Direct3D with the above option checked
and color display was correct (remains correct on 1.10.0)
but changed under 1.10.1 to a washed out look with loss
of contrast. Unchecking the high precision conversion (whatever
that is) restores it to normal. So all options DirectX, D3D
and OpenGL look fine except D3D w/high pres. Weird,
not sure why that would change anything all of a sudden.

Using an ATI Radeon HD4870 1GB if that matters,
and Color Depth in/out was just at the default
Autodetect/Same as Decompress in both .0 and .1 versions.

Not really much of an issue at this point since the erroneous
setting has been discovered and unchecked, just weird.

Posted by: Jam One Mar 10 2011, 10:11 PM
Had configuration settings been intentionally moved from .vcf to .vdscript? Or?...

Test-3 Build-34019 prompts to save processing settings as .vdscript. This causes a confusion, since .vdscript is associated with some other VirtualDub's scripts (I have no knowledge about). Am I missing something?

Posted by: phaeron Mar 13 2011, 05:22 AM
Yeah, I changed from .vcf to .vdscript to finally get rid of the .VCF extension conflict. They're treated the same -- the run script and load configuration commands do the same thing.

Good catch on the Direct3D9 high precision issue. It wasn't a luma levels issue as I had expected, but rather just outright breakage in the high-precision bicubic code. It was caused by me changing the bicubic algorithm to fix artifacts on Intel graphics devices without changing all of the paths involved.

I put some fixes in for 0x0 resize issues.

Posted by: ale5000 Mar 13 2011, 06:13 AM
Edit: Problem fixed

Posted by: ale5000 Mar 13 2011, 06:25 AM
Very minor bug: empty space in "Select audio compression" dialog => user posted image

Posted by: ale5000 Mar 13 2011, 06:42 AM
1) When you open the "Select audio compression" dialog (without change anything) the "Configure" and "About" buttons are enabled for "<No compression (PCM)>".

2) When you insert a number with four ciphers in the "X2 offset" of the cropping dialog the number go over (only a bit) the arrows at the right.

Posted by: Jam One Mar 13 2011, 07:07 PM
QUOTE (phaeron @ Mar 13 2011, 09:22 AM)
Yeah, I changed from .vcf to .vdscript to finally get rid of the .VCF extension conflict. They're treated the same ...

Roger that. Thank you!

Posted by: ale5000 Mar 13 2011, 10:06 PM
Another crash, this time with the Resize filter.
I have used something like this (I don't remember the exact values):
QUOTE
New size, relative: 99999999 x 1
Aspect ratio: Disabled

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

Disassembly:
0057a6c0: ff              db     0ffh
0057a6c1: ff8d4424783b    dec    dword ptr [ebp+3b782444]
0057a6c7: c8740951        enter  0974, 51h
0057a6cb: e8efea0500      call   005d91bf
0057a6d0: 83c404          add    esp, 04h
0057a6d3: 8b8c24b4080000  mov    ecx, [esp+8b4]
0057a6da: 5f              pop    edi
0057a6db: 5e              pop    esi
0057a6dc: 64890d00000000  mov    fs:[00000000], ecx
0057a6e3: 5b              pop    ebx
0057a6e4: 8be5            mov    esp, ebp
0057a6e6: 5d              pop    ebp
0057a6e7: c3              ret    
0057a6e8: cc              int    3
0057a6e9: cc              int    3
0057a6ea: cc              int    3
0057a6eb: cc              int    3
0057a6ec: cc              int    3
0057a6ed: cc              int    3
0057a6ee: cc              int    3
0057a6ef: cc              int    3
0057a6f0: 8b442404        mov    eax, [esp+04h]
0057a6f4: 894108          mov    [ecx+08h], eax
0057a6f7: c20400          ret    0004
0057a6fa: cc              int    3
0057a6fb: cc              int    3
0057a6fc: cc              int    3
0057a6fd: cc              int    3
0057a6fe: cc              int    3
0057a6ff: cc              int    3
0057a700: 83ec0c          sub    esp, 0ch
0057a703: 8b442410        mov    eax, [esp+10h]
0057a707: 33d2            xor    edx, edx
0057a709: 8901            mov    [ecx], eax
0057a70b: 8b44241c        mov    eax, [esp+1ch]
0057a70f: 53              push   ebx
0057a710: c1e010          shl    eax, 10h
0057a713: 55              push   ebp
0057a714: 8b6c241c        mov    ebp, [esp+1ch]
0057a718: 2d00000100      sub    eax, 00010000
0057a71d: 89510c          mov    [ecx+0ch], edx
0057a720: 895110          mov    [ecx+10h], edx
0057a723: 895114          mov    [ecx+14h], edx
0057a726: 895118          mov    [ecx+18h], edx
0057a729: 89511c          mov    [ecx+1ch], edx
0057a72c: 895120          mov    [ecx+20h], edx
0057a72f: 56              push   esi
0057a730: 8b7108          mov    esi, [ecx+08h]
0057a733: 57              push   edi
0057a734: 8bfe            mov    edi, esi
0057a736: 2bfd            sub    edi, ebp
0057a738: 83ef01          sub    edi, 01h
0057a73b: 8bd7            mov    edx, edi
0057a73d: 2bd0            sub    edx, eax
0057a73f: 89542418        mov    [esp+18h], edx
0057a743: 8d8200000100    lea    eax, [edx+10000]
0057a749: 99              cdq    
0057a74a: f7fe            idiv   eax, esi      <-- FAULT
0057a74c: 896904          mov    [ecx+04h], ebp
0057a74f: 8b5c2428        mov    ebx, [esp+28h]
0057a753: c1e310          shl    ebx, 10h
0057a756: 8be8            mov    ebp, eax
0057a758: 8bc7            mov    eax, edi
0057a75a: 99              cdq    
0057a75b: f7fe            idiv   eax, esi
0057a75d: 8b542418        mov    edx, [esp+18h]
0057a761: 89442414        mov    [esp+14h], eax
0057a765: 8d041a          lea    eax, [edx+ebx]
0057a768: 99              cdq    
0057a769: f7fe            idiv   eax, esi
0057a76b: 89442410        mov    [esp+10h], eax
0057a76f: 8d841f0000ffff  lea    eax, [edi+ebx-10000]
0057a776: 99              cdq    
0057a777: f7fe            idiv   eax, esi
0057a779: 85ed            test   ebp, ebp
0057a77b: 8bd8            mov    ebx, eax
0057a77d: 895c2418        mov    [esp+18h], ebx
0057a781: 7d02            jge    0057a785
0057a783: 33ed            xor    ebp, ebp
0057a785: 8b442414        mov    eax, [esp+14h]
0057a789: 3bc5            cmp    eax, ebp
0057a78b: 7d06            jge    0057a793
0057a78d: 896c2414        mov    [esp+14h], ebp
0057a791: 8bc5            mov    eax, ebp
0057a793: 8b7c2410        mov    edi, [esp+10h]
0057a797: 3bf8            cmp    edi, eax
0057a799: 7d06            jge    0057a7a1
0057a79b: 89442410        mov    [esp+10h], eax
0057a79f: 8bf8            mov    edi, eax
0057a7a1: 3bdf            cmp    ebx, edi
0057a7a3: 7d06            jge    0057a7ab
0057a7a5: 8bdf            mov    ebx, edi
0057a7a7: 897c2418        mov    [esp+18h], edi
0057a7ab: 8b542420        mov    edx, [esp+20h]
0057a7af: 3bea            cmp    ebp, edx
0057a7b1: 7e02            jle    0057a7b5
0057a7b3: 8bea            mov    ebp, edx
0057a7b5: 3bc2            cmp    eax, edx
0057a7b7: 7e02            jle    0057a7bb
0057a7b9: 8bc2            mov    eax, edx
0057a7bb: 3bfa            cmp    edi, edx
0057a7bd: 7e06            jle    0057a7c5
0057a7bf: 89              db     89h

Built on Althena on Sat Mar 12 20:58:52 2011 using compiler version 1400

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]
Memory status: virtual free 1953M/2048M, commit limit 2406M, physical total 2048M

EAX = ffff7fff
EBX = 00000009
ECX = 00c2a07c
EDX = ffffffff
EBP = fffe8000
ESI = 00000000
EDI = 00017fff
ESP = 0013f770
EIP = 0057a74a
EFLAGS = 00210287
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Integer Divide-by-Zero

Crash context:
An integer division by zero occurred in module 'VirtualDub'...

...while starting filter "resize" (FilterInstance.cpp:1176).

Pointer dumps:

ECX   00c2a078: 00000004 000f4240 fffe8002 00000000 00000000 00000000 00000000 00000000
ESP   0013f770: 000f4240 00c2a018 0000033f 00000009 00c2e510 0013f7f0 fffe7fff 0058a6b6
     0013f790: 000f4240 fffe8000 00000001 00000004 00c22e48 00c22f90 0013f89c 00c2a018
     0013f7b0: 00000000 00000000 0057f744 00000000 00000000 000f4240 3d0637bd 00000e7f
     0013f7d0: 00000002 bf400000 0000027f 00c22f90 00c22fb4 0013f89c 00000001 00c2a018

Thread call stack:
0057a74a: VDResamplerAxis::Compute()
0058a6b6: VDPixmapGenResampleRow::Init()
0057f744: VDPixmapUberBlitterGenerator::cubich()
0057352a: VDPixmapResampler::ApplyFilters()
00573d8a: VDPixmapResampler::Init()
005114aa: VDResizeFilterData::ComputeSizes()
7c9201db: ntdll!RtlAllocateHeap [7c910000+100c4+117]
005d9176: malloc()
0050f4d5: VDVideoFilterResize::Start()
004f1e17: ?$VDProtectedAutoScope1::?$VDProtectedAutoScope1()
0059a673: VDXVideoFilter::FilterStart()
0043d5a1: FilterInstance::StartInner()
0043e04a: VFBitmapInternal::BindToFrameBuffer()
0043f73e: FilterInstance::Start()
005d9670: (special)()
005d9bd2: (special)()
005d9bde: (special)()
004462c8: FilterSystem::ReadyFilters()
0046d558: VDProject::StartFilters()
00445a06: FilterSystem::DeallocateBuffers()
0046d695: VDProject::UpdateDubParameters()
00472da0: VDProjectUI::SetVideoFiltersAsk()
7e3ac24e: USER32!DefWindowProcA [7e390000+1c17e+d0]
7e3ac291: USER32!DefWindowProcA [7e390000+1c17e+113]
0047a909: VDProjectUI::MenuHit()
7e399488: USER32!GetWindowLongA [7e390000+945d+2b]
7e3a8d8b: USER32!DefWindowProcW [7e390000+18d20+6b]
00488100: VDUIFrame::DefProc()
0047b717: _catch$?MainWndProc@VDProjectUI@@IAEJIIJ@Z$0()
7e399488: USER32!GetWindowLongA [7e390000+945d+2b]
00471820: VDProjectUI::WndProc()
004887b5: VDUIFrame::StaticWndProc()
7e398734: USER32!GetDC [7e390000+86c7+6d]
7e398816: USER32!GetDC [7e390000+86c7+14f]
7e3989cd: USER32!GetWindowLongW [7e390000+88a6+127]
7e3aa43b: USER32!PeekMessageA [7e390000+1a340+fb]
7e3996c7: USER32!DispatchMessageA [7e390000+96b8+f]
0045c146: WinMain@16()
005ddb3b: __tmainCRTStartup()
7c817077: kernel32!RegisterWaitForInputIdle [7c800000+1702e+49]

-- End of report

Posted by: ExaltedVanguard Mar 20 2011, 04:13 PM
I'd like to give a great big THANK YOU. With your program, I can use my black magic card with any codec now. Very useful.

Posted by: ale5000 Mar 25 2011, 02:23 PM
In Audio => Conversion there is "No change (stereo)" also for "Dual mono" files.

Test file: http://www.mediafire.com/?g6socpji2idl2vn

Posted by: ale5000 Mar 25 2011, 03:00 PM
Edit: Problem fixed

Posted by: element Mar 26 2011, 03:21 AM
The deinterlace filter seems broken in VirtualDub 1.10.1 capture mode (Win7 x64). My source is an NTSC VHS tape (29.97 fps). Video and audio look fine in preview. I'm capturing to AVI, using XviD (video) and mp3 (audio). With deinterlace on (either Yadif or ELA), the motion in the AVI is twice as fast as it should be. Audio is fine. The AVI frame rate is 29.97, as verified by 3 different players. When I select "double the frame rate" in deinterlace, I still get the sped-up motion, but the frame rate is now 59 fps. With deinterlace off, the motion is OK (but I see field combing, of course). In VirtualDub 1.9.11 deinterlace works fine (both Yadif & ELA).

Posted by: phaeron Mar 27 2011, 12:47 AM
Test-6 is up with some fixes for reported problems.

The capture filter issue turned out to be a general problem with conversion filters inserted automatically into the pipeline. Should be fixed now, and filter chains in capture mode should be a bit more reliable. Bonus is that this also removes a little bit of CPU usage for filter chains in single-threaded mode even not in capture mode.

I took a look at the dual mono issue. Both audio channels are actually encoded in a single stereo stream, and DirectShow also reports it as such. It is encoded in dual channel mode, but that isn't something that I could reliably use to detect this case, because an MPEG audio encoder could use that for even a regular stereo stream if it found it improved quality. Therefore, I don't think I can address this -- there isn't enough motivation or reliable indication to warrant special handling. Worst case, you can always extract one of the channels using the audio filter graph or the left/right modes.

Posted by: ale5000 Mar 27 2011, 03:20 AM
@phaeron: MediaInfo and VLC detect correctly "Dual mono" so you can look at the source code (but it isn't really important anyway).

Posted by: ale5000 Mar 29 2011, 02:26 AM
Crash while direct stream copying audio:
QUOTE
VirtualDub crash report -- build 34089 (release)
--------------------------------------

Disassembly:
005d9c80: 7424            jz    005d9ca6
005d9c82: 04e8            add    al, 0e8h
005d9c84: fd              std   
005d9c85: f9              stc   
005d9c86: ff              db    0ffh
005d9c87: ff59c3          call  fword ptr [ecx-3dh]
005d9c8a: 6a08            push  08h
005d9c8c: b8854b6000      mov    eax, 00604b85 (RtlUnwind@16+cb8f)
005d9c91: e8f8640000      call  005e018e
005d9c96: ff7508          push  dword ptr [ebp+08h]
005d9c99: 8365fc00        and    dword ptr [ebp-04h], 00h
005d9c9d: e881faffff      call  005d9723
005d9ca2: 59              pop    ecx
005d9ca3: 8945ec          mov    [ebp-14h], eax
005d9ca6: 8b45ec          mov    eax, [ebp-14h]
005d9ca9: e816650000      call  005e01c4
005d9cae: c3              ret   
005d9caf: 8365ec00        and    dword ptr [ebp-14h], 00h
005d9cb3: b8a69c5d00      mov    eax, 005d9ca6 ((special)+1c)
005d9cb8: c3              ret   
005d9cb9: cc              int    3
005d9cba: cc              int    3
005d9cbb: cc              int    3
005d9cbc: cc              int    3
005d9cbd: cc              int    3
005d9cbe: cc              int    3
005d9cbf: cc              int    3
005d9cc0: 57              push  edi
005d9cc1: 56              push  esi
005d9cc2: 53              push  ebx
005d9cc3: 33ff            xor    edi, edi
005d9cc5: 8b442414        mov    eax, [esp+14h]
005d9cc9: 0bc0            or    eax, eax
005d9ccb: 7d14            jge    005d9ce1
005d9ccd: 47              inc    edi
005d9cce: 8b542410        mov    edx, [esp+10h]
005d9cd2: f7d8            neg    eax
005d9cd4: f7da            neg    edx
005d9cd6: 83d800          sbb    eax, 00h
005d9cd9: 89442414        mov    [esp+14h], eax
005d9cdd: 89542410        mov    [esp+10h], edx
005d9ce1: 8b44241c        mov    eax, [esp+1ch]
005d9ce5: 0bc0            or    eax, eax
005d9ce7: 7d14            jge    005d9cfd
005d9ce9: 47              inc    edi
005d9cea: 8b542418        mov    edx, [esp+18h]
005d9cee: f7d8            neg    eax
005d9cf0: f7da            neg    edx
005d9cf2: 83d800          sbb    eax, 00h
005d9cf5: 8944241c        mov    [esp+1ch], eax
005d9cf9: 89542418        mov    [esp+18h], edx
005d9cfd: 0bc0            or    eax, eax
005d9cff: 7518            jnz    005d9d19
005d9d01: 8b4c2418        mov    ecx, [esp+18h]
005d9d05: 8b442414        mov    eax, [esp+14h]
005d9d09: 33d2            xor    edx, edx
005d9d0b: f7f1            div    eax, ecx      <-- FAULT
005d9d0d: 8bd8            mov    ebx, eax
005d9d0f: 8b442410        mov    eax, [esp+10h]
005d9d13: f7f1            div    eax, ecx
005d9d15: 8bd3            mov    edx, ebx
005d9d17: eb41            jmp    005d9d5a
005d9d19: 8bd8            mov    ebx, eax
005d9d1b: 8b4c2418        mov    ecx, [esp+18h]
005d9d1f: 8b542414        mov    edx, [esp+14h]
005d9d23: 8b442410        mov    eax, [esp+10h]
005d9d27: d1eb            shr    ebx, 1
005d9d29: d1d9            rcr    ecx, 1
005d9d2b: d1ea            shr    edx, 1
005d9d2d: d1d8            rcr    eax, 1
005d9d2f: 0bdb            or    ebx, ebx
005d9d31: 75f4            jnz    005d9d27
005d9d33: f7f1            div    eax, ecx
005d9d35: 8bf0            mov    esi, eax
005d9d37: f764241c        mul    eax, dword ptr [esp+1ch]
005d9d3b: 8bc8            mov    ecx, eax
005d9d3d: 8b442418        mov    eax, [esp+18h]
005d9d41: f7e6            mul    eax, esi
005d9d43: 03d1            add    edx, ecx
005d9d45: 720e            jc    005d9d55
005d9d47: 3b542414        cmp    edx, [esp+14h]
005d9d4b: 7708            ja    005d9d55
005d9d4d: 7207            jc    005d9d56
005d9d4f: 3b442410        cmp    eax, [esp+10h]
005d9d53: 7601            jbe    005d9d56
005d9d55: 4e              dec    esi
005d9d56: 33d2            xor    edx, edx
005d9d58: 8bc6            mov    eax, esi
005d9d5a: 4f              dec    edi
005d9d5b: 7507            jnz    005d9d64
005d9d5d: f7da            neg    edx
005d9d5f: f7d8            neg    eax
005d9d61: 83da00          sbb    edx, 00h
005d9d64: 5b              pop    ebx
005d9d65: 5e              pop    esi
005d9d66: 5f              pop    edi
005d9d67: c21000          ret    0010
005d9d6a: cc              int    3
005d9d6b: cc              int    3
005d9d6c: cc              int    3
005d9d6d: cc              int    3
005d9d6e: cc              int    3
005d9d6f: cc              int    3
005d9d70: 8b442408        mov    eax, [esp+08h]
005d9d74: 8b4c2410        mov    ecx, [esp+10h]
005d9d78: 0bc8            or    ecx, eax
005d9d7a: 8b4c240c        mov    ecx, [esp+0ch]
005d9d7e: 7509            jnz    005d9d89

Built on Althena on Sat Mar 26 17:31:00 2011 using compiler version 1400

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]
Memory status: virtual free 1908M/2048M, commit limit 2406M, physical total 2048M

EAX = 00000000
EBX = 00000000
ECX = 00000000
EDX = 00000000
EBP = 00000000
ESI = 00000000
EDI = 00000000
ESP = 0013f92c
EIP = 005d9d0b
EFLAGS = 00210246
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Integer Divide-by-Zero

Crash context:
An integer division by zero occurred in module 'VirtualDub'.

Pointer dumps:

ESP  0013f928: 00000000 00000000 00000000 00000000 004a6273 00000000 00000000 00000000
      0013f948: 00000000 00000000 00c14990 00000000 00c217c8 00409c72 00000000 00000000
      0013f968: 00c217c8 00c49888 00c14990 00000000 00c14990 005d9cae 79075778 00c217c8
      0013f988: 00c49888 0013f9f0 005f8553 00000001 0041cccf 00c217c8 0000059c 00000000

Thread call stack:
005d9d0b: _alldiv()
004a6273: DubSource::msToSamples()
00409c72: AudioStreamSource::AudioStreamSource()
005d9cae: (special)()
0041cccf: Dubber::InitAudioConversionChain()
004156c0: VDExternalCodeBracket::~VDExternalCodeBracket()
0041da9d: Dubber::Init()
7e399488: USER32!GetWindowLongA [7e390000+945d+2b]
7e399491: USER32!GetWindowLongA [7e390000+945d+34]
7e3eceba: USER32!SetInternalWindowPos [7e390000+5ce9a+20]
0046de42: VDProject::RunOperation()
00414c3d: SaveAVI()
0046bbbc: VDProject::SaveAVI()
0045c801: SaveAVI()
00471490: VDProjectUI::SaveAVIAsk()
0047a3a6: VDProjectUI::MenuHit()
7e399488: USER32!GetWindowLongA [7e390000+945d+2b]
7e3a8d8b: USER32!DefWindowProcW [7e390000+18d20+6b]
00487f20: VDUIFrame::DefProc()
0047b967: _catch$?MainWndProc@VDProjectUI@@IAEJIIJ@Z$0()
7e399488: USER32!GetWindowLongA [7e390000+945d+2b]
00471710: VDProjectUI::WndProc()
004885d5: VDUIFrame::StaticWndProc()
7e398734: USER32!GetDC [7e390000+86c7+6d]
7e398816: USER32!GetDC [7e390000+86c7+14f]
7e3989cd: USER32!GetWindowLongW [7e390000+88a6+127]
7e3aa43b: USER32!PeekMessageA [7e390000+1a340+fb]
7e3996c7: USER32!DispatchMessageA [7e390000+96b8+f]
0045c4e6: WinMain@16()
005ddc0b: __tmainCRTStartup()
7c817077: kernel32!RegisterWaitForInputIdle [7c800000+1702e+49]

-- End of report

Posted by: pureocean Mar 29 2011, 05:57 AM
Minor bug(Test-4 and Test-6):

Audio menu -> Audio from other file... -> *.WAV files? rolleyes.gif

Posted by: ale5000 Mar 29 2011, 09:25 PM
QUOTE (pureocean @ Mar 29 2011, 06:57 AM)
Minor bug(Test-4 and Test-6):

Audio menu -> Audio from other file... -> *.WAV files? rolleyes.gif

Where is the bug?

Posted by: Gromozeka Mar 30 2011, 08:49 AM
the preview windows when give large is bug in version 1.10.1 test2, test3,test4,test5,test6
version 1.10.1 test1 not have this bug sad.gif

Posted by: Jam One Mar 30 2011, 10:33 AM
QUOTE (Gromozeka @ Mar 30 2011, 12:49 PM)
the preview windows when give large is bug

What? Pardon?
Please try to describe it in other words.

Posted by: ale5000 Mar 30 2011, 11:27 AM
The "engrish" language has taken more adepts biggrin.gif

Posted by: Gromozeka Mar 30 2011, 11:49 AM
sorry me my english.
i shal put screenshot

http://www.radikal.ru

Posted by: pureocean Apr 1 2011, 06:18 AM
QUOTE (ale5000 @ Mar 29 2011, 09:25 PM)
QUOTE (pureocean @ Mar 29 2011, 06:57 AM)
Minor bug(Test-4 and Test-6):

Audio menu -> Audio from other file... -> *.WAV files? rolleyes.gif

Where is the bug?

WAV files cannot see in "Audio from other file".
If user will be type *.WAV, dialog box can see WAV files. And if wav file is clicked, it accept.

Posted by: ale5000 Apr 1 2011, 11:16 AM
QUOTE (pureocean @ Apr 1 2011, 07:18 AM)
WAV files cannot see in "Audio from other file".
If user will be type *.WAV, dialog box can see WAV files. And if wav file is clicked, it accept.

I can import wav files correctly from "Audio from other file", I don't see any problem.

Posted by: dloneranger Apr 1 2011, 03:12 PM
On a small performance note, a lot of the internal filters could be updated to use the newer FILTERPARAM options
eg FILTERPARAM_PURE_TRANSFORM

Posted by: phaeron Apr 3 2011, 03:31 AM
Alright, test-7 is up with minor fixes.

I wasn't able to reproduce the WAV file issue either. If you have input plugins installed, try temporarily removing them to see if the problem goes away. There was a recent thread about ambiguities in file pattern selection that make me suspect this is a factor.

The display filtering issue is most likely because I turned off hardware overlays by default. You can re-enable them in Options > Preferences > Display, but I'd recommend enabling Direct3D9 mode instead, as it works much better under Windows Vista/7.

I went ahead and tagged all the internal filters as appropriate with the pure transform flag.

The div0 crash indicates something is wrong with the metadata on the input audio stream, specifically nBlockAlign=0. Anything interesting about the audio?

Posted by: ale5000 Apr 3 2011, 11:33 AM
1) About the resize filter crash: I haven't seen this crash in the changelog, is it fixed?

2) About the crash report of direct stream copying audio: It is AAC with nBlockAlign=0 in WMV container opened with an old version of the WMV input plugin, it isn't supported by the input plugin but since in this particular case the crash happen in VirtualDub (and not in the input plugin) I think that a "check" could be added in VirtualDub to prevent the crash.

PS: The file plays fine in VLC while in MPC-HC the audio works fine but not the video.

Posted by: ale5000 Apr 3 2011, 12:21 PM
When you open an uncompressed video created by VirtualDub it say in file information => "Decompressor: Internal DIB decoder ( )"
What the empty spaces mean?

Edit: PS => I open a video, no frame is selected.
Then I go on Video => Select range and uncheck "Cut off audio" or "Offset audio", when I press OK VirtualDub select all frames of the video.
Why?

Posted by: ale5000 Apr 4 2011, 03:32 PM
QUOTE
Render: Video compressor threading is now allowed for two or more threads when operating with only key frames.

In the Threading options there is still "Values greater than 1 are not yet supported" for "Video compression threads", is the text wrong or there is a separate setting?

Posted by: ale5000 Apr 9 2011, 04:56 PM
Test file: http://www.multiupload.com/ARMQ853HHL

I have opened the file with the DirectShow input plugin 0.8, set crop to 2x2, set compression to Xvid, audio to direct stream copy.
Near the end of encoding it crash:
CODE
VirtualDub crash report -- build 34093 (release)
--------------------------------------

Disassembly:
7c920980: ffc3            inc    ebx
7c920982: 8b03            mov    eax, [ebx]
7c920984: e934ffffff      jmp    7c9208bd
7c920989: f605d0e0987c02  test   [7c98e0d0], 02h
7c920990: 0f85edfeffff    jnz    7c920883
7c920996: 3d00020000      cmp    eax, 00000200
7c92099b: 0f82e2feffff    jc     7c920883
7c9209a1: 66837e0200      cmp    word ptr [esi+02h], 00h
7c9209a6: 740a            jz     7c9209b2
7c9209a8: f6460510        test   [esi+05h], 10h
7c9209ac: 0f84d1feffff    jz     7c920883
7c9209b2: 50              push   eax
7c9209b3: 56              push   esi
7c9209b4: 57              push   edi
7c9209b5: e8b70f0000      call   7c921971
7c9209ba: e949ffffff      jmp    7c920908
7c9209bf: 8b4820          mov    ecx, [eax+20h]
7c9209c2: 66f7c1ff018d49  test   ecx, 498d01ff
7c9209c9: 018948200f85    add    [ecx-7af0dfb8], ecx
7c9209cf: 3afe            cmp    bh, dh
7c9209d1: ff              db     0ffh
7c9209d2: ff6a00          jmp    fword ptr [edx+00h]
7c9209d5: 8d45d8          lea    eax, [ebp-28h]
7c9209d8: 50              push   eax
7c9209d9: e8d0ceffff      call   7c91d8ae
7c9209de: e932feffff      jmp    7c920815
7c9209e3: 0fb70e          movzx  ecx, word ptr [esi]
7c9209e6: 03c8            add    ecx, eax
7c9209e8: 81f900fe0000    cmp    ecx, 0000fe00
7c9209ee: 0f8745fdffff    ja     7c920739
7c9209f4: 807d1400        cmp    byte ptr [ebp+14h], 00h
7c9209f8: 0f85b1a60300    jnz    7c95b0af
7c9209fe: 8a4605          mov    al, [esi+05h]
7c920a01: 2410            and    al, 10h
7c920a03: a810            test   al, 10h
7c920a05: 884705          mov    [edi+05h], al
7c920a08: 0f8592000000    jnz    7c920aa0
7c920a0e: 8b4e0c          mov    ecx, [esi+0ch]
7c920a11: 8d4608          lea    eax, [esi+08h]
7c920a14: 8b10            mov    edx, [eax]
7c920a16: 894d0c          mov    [ebp+0ch], ecx
7c920a19: 8b09            mov    ecx, [ecx]      <-- FAULT
7c920a1b: 3b4a04          cmp    ecx, [edx+04h]
7c920a1e: 895514          mov    [ebp+14h], edx
7c920a21: 0f852b0d0000    jnz    7c921752
7c920a27: 3bc8            cmp    ecx, eax
7c920a29: 0f85230d0000    jnz    7c921752
7c920a2f: 56              push   esi
7c920a30: 53              push   ebx
7c920a31: e84efcffff      call   7c920684
7c920a36: 8b4514          mov    eax, [ebp+14h]
7c920a39: 8b4d0c          mov    ecx, [ebp+0ch]
7c920a3c: 3bc1            cmp    eax, ecx
7c920a3e: 8901            mov    [ecx], eax
7c920a40: 894804          mov    [eax+04h], ecx
7c920a43: 7438            jz     7c920a7d
7c920a45: 8a4605          mov    al, [esi+05h]
7c920a48: a804            test   al, 04h
7c920a4a: 0f8535a70300    jnz    7c95b185
7c920a50: 0fb70e          movzx  ecx, word ptr [esi]
7c920a53: 8b4510          mov    eax, [ebp+10h]
7c920a56: 0108            add    [eax], ecx
7c920a58: 0fb70e          movzx  ecx, word ptr [esi]
7c920a5b: 294b28          sub    [ebx+28h], ecx
7c920a5e: f6470510        test   [edi+05h], 10h
7c920a62: 668b08          mov    cx, [eax]
7c920a65: 66890f          mov    [edi], cx
7c920a68: 0f85cbfcffff    jnz    7c920739
7c920a6e: 8b08            mov    ecx, [eax]
7c920a70: 668bc1          mov    ax, cx
7c920a73: 668944cf02      mov    [edi+ecx*8+02h], ax
7c920a78: e9bcfcffff      jmp    7c920739
7c920a7d: 668b06          mov    ax, [esi]

Built on Althena on Sat Apr 02 20:03:48 2011 using compiler version 1400

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]
Memory status: virtual free 1881M/2048M, commit limit 2406M, physical total 2048M

EAX = 00c2a790
EBX = 00be0000
ECX = 3028b601
EDX = 00003835
EBP = 063ffd90
ESI = 00c2a788
EDI = 00c2a750
ESP = 063ffd84
EIP = 7c920a19
EFLAGS = 00010246
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Access Violation

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

...reading address 3028B601...

...while running thread "Processing" (thread.cpp:179).

Pointer dumps:

EAX   00c2a790: 00003835 3028b601 1d7a414d 8a808396 7e1e6090 45b313dd 0000005f 616e7265
EBX   00be0000: 000000c8 00000110 eeffeeff 00001002 00000000 0000fe00 00200000 00002000
ESI   00c2a788: 7658b201 30304469 00003835 3028b601 1d7a414d 8a808396 7e1e6090 45b313dd
EDI   00c2a750: 00030007 011000fa b6010000 fb42f052 b6010000 dfe4e091 bfa3e460 000000bf
ESP   063ffd80: 00000000 00be0000 00c2a750 00000000 063ffe64 7c92084c 00be0000 3028b601
     063ffda0: 063ffe48 00000000 00c22838 00c2a758 00000001 00000000 00be07d8 7c92005d
     063ffdc0: 00c22838 00c2a668 00000001 00000000 00c28708 00000001 063ffe0c 00be0178
     063ffde0: 00000018 00000030 00000068 063ffd48 7c91cffa 00000050 7c91e920 7c920060
EBP   063ffd90: 063ffe64 7c92084c 00be0000 3028b601 063ffe48 00000000 00c22838 00c2a758
     063ffdb0: 00000001 00000000 00be07d8 7c92005d 00c22838 00c2a668 00000001 00000000
     063ffdd0: 00c28708 00000001 063ffe0c 00be0178 00000018 00000030 00000068 063ffd48
     063ffdf0: 7c91cffa 00000050 7c91e920 7c920060 ffffffff 00000038 00000020 00be0000

Thread call stack:
7c920a19: ntdll!wcsncpy [7c910000+1057f+49a]
7c92084c: ntdll!wcsncpy [7c910000+1057f+2cd]
7c92005d: ntdll!RtlFreeHeap [7c910000+ff2d+130]
7c91cffa: ntdll!NtClose [7c910000+cfee+c]
005d939c: free()
005d937d: free()
004864c6: VDRenderPostCompressionBuffer::~VDRenderPostCompressionBuffer()
00486938: VDRenderPostCompressionBuffer::(special)()
00424197: ?$VDRenderBufferAllocator::Shutdown()
00486972: VDThreadedVideoCompressor::Shutdown()
00422b76: _catch$?ThreadRun@VDDubProcessThread@@MAEXXZ$4()
00451d87: ?$VDProtectedAutoScope1::?$VDProtectedAutoScope1()
00531614: VDThread::StaticThreadStart()
005de43e: _callthreadstartex()
005de4e3: _threadstartex@4()
7c80b729: kernel32!GetModuleFileNameA [7c800000+b56f+1ba]

-- End of report

Posted by: phaeron Apr 10 2011, 09:33 AM
That's a bug in XviD -- it is returning a max compressed frame size of 12 bytes for the input format but writing more than that, trashing the process memory heap. It crashes immediately in xvidcore.dll when I enable page heap in the OS.

Posted by: ale5000 May 2 2011, 03:00 PM
This is a really particular bug in VirtualDub:
Install the Lame ACM Codec, remove the Fraunhofer ACM Codec.

Now you have an ACM Codec for MP3 (0x0055) but it support only encoding (no decoding) and VirtualDub doesn't use the internal MP3 decoder in this case and it say:
CODE
Error initializing audio stream decompression:
No installed audio codec could be found to decompress the compressed source audio.

Check to make sure you have the required codec.

Posted by: DarrellS May 12 2011, 06:26 AM
I assume because the internal mp3 decoder uses the Fraunhofer ACM Codec? The Fraunhofer ACM Codec has always been used to decode mp3 as long as I can remember (started using Virtualdub around 1999-2000).

Posted by: pureocean May 12 2011, 06:32 AM
Sometimes crash when opening "Save AVI" dialog-box. Only no build, all builds. No often. What could be the reason?

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

Disassembly:
67b4b700: 0000            add    [eax], al
67b4b702: 0000            add    [eax], al
67b4b704: 0000            add    [eax], al
67b4b706: 0000            add    [eax], al
67b4b708: 0000            add    [eax], al
67b4b70a: 0000            add    [eax], al
67b4b70c: 0000            add    [eax], al
67b4b70e: 0000            add    [eax], al
67b4b710: 0000            add    [eax], al
67b4b712: 0000            add    [eax], al
67b4b714: 0000            add    [eax], al
67b4b716: 0000            add    [eax], al
67b4b718: 0000            add    [eax], al
67b4b71a: 0000            add    [eax], al
67b4b71c: 0000            add    [eax], al
67b4b71e: 0000            add    [eax], al
67b4b720: 0000            add    [eax], al
67b4b722: 0000            add    [eax], al
67b4b724: 0000            add    [eax], al
67b4b726: 0000            add    [eax], al
67b4b728: 0000            add    [eax], al
67b4b72a: 0000            add    [eax], al
67b4b72c: 0000            add    [eax], al
67b4b72e: 0000            add    [eax], al
67b4b730: 0000            add    [eax], al
67b4b732: 0000            add    [eax], al
67b4b734: 0000            add    [eax], al
67b4b736: 0000            add    [eax], al
67b4b738: 0000            add    [eax], al
67b4b73a: 0000            add    [eax], al
67b4b73c: 0000            add    [eax], al
67b4b73e: 0000            add    [eax], al
67b4b740: 0000            add    [eax], al
67b4b742: 0000            add    [eax], al
67b4b744: 0000            add    [eax], al
67b4b746: 0000            add    [eax], al
67b4b748: 0000            add    [eax], al
67b4b74a: 0000            add    [eax], al
67b4b74c: 0000            add    [eax], al
67b4b74e: 0000            add    [eax], al
67b4b750: 0000            add    [eax], al
67b4b752: 0000            add    [eax], al
67b4b754: 0000            add    [eax], al
67b4b756: 0000            add    [eax], al
67b4b758: 0000            add    [eax], al
67b4b75a: 0000            add    [eax], al
67b4b75c: 0000            add    [eax], al
67b4b75e: 0000            add    [eax], al
67b4b760: 0000            add    [eax], al
67b4b762: 0000            add    [eax], al
67b4b764: 0000            add    [eax], al
67b4b766: 0000            add    [eax], al
67b4b768: 0000            add    [eax], al
67b4b76a: 0000            add    [eax], al
67b4b76c: 0000            add    [eax], al
67b4b76e: 0000            add    [eax], al
67b4b770: 0000            add    [eax], al
67b4b772: 0000            add    [eax], al
67b4b774: 0000            add    [eax], al
67b4b776: 0000            add    [eax], al
67b4b778: 0000            add    [eax], al
67b4b77a: 0000            add    [eax], al
67b4b77c: 0000            add    [eax], al
67b4b77e: 0000            add    [eax], al
67b4b780: 0000            add    [eax], al
67b4b782: 0000            add    [eax], al
67b4b784: 0000            add    [eax], al
67b4b786: 0000            add    [eax], al
67b4b788: 0000            add    [eax], al
67b4b78a: 0000            add    [eax], al
67b4b78c: 0000            add    [eax], al
67b4b78e: 0000            add    [eax], al
67b4b790: 0000            add    [eax], al      <-- FAULT
67b4b792: 0000            add    [eax], al
67b4b794: 0000            add    [eax], al
67b4b796: 0000            add    [eax], al
67b4b798: 0000            add    [eax], al
67b4b79a: 0000            add    [eax], al
67b4b79c: 0000            add    [eax], al
67b4b79e: 0000            add    [eax], al
67b4b7a0: 0000            add    [eax], al
67b4b7a2: 0000            add    [eax], al
67b4b7a4: 0000            add    [eax], al
67b4b7a6: 0000            add    [eax], al
67b4b7a8: 0000            add    [eax], al
67b4b7aa: 0000            add    [eax], al
67b4b7ac: 0000            add    [eax], al
67b4b7ae: 0000            add    [eax], al
67b4b7b0: 0000            add    [eax], al
67b4b7b2: 0000            add    [eax], al
67b4b7b4: 0000            add    [eax], al
67b4b7b6: 0000            add    [eax], al
67b4b7b8: 0000            add    [eax], al
67b4b7ba: 0000            add    [eax], al
67b4b7bc: 0000            add    [eax], al
67b4b7be: 0000            add    [eax], al
67b4b7c0: 0000            add    [eax], al
67b4b7c2: 0000            add    [eax], al
67b4b7c4: 0000            add    [eax], al
67b4b7c6: 0000            add    [eax], al
67b4b7c8: 0000            add    [eax], al
67b4b7ca: 0000            add    [eax], al
67b4b7cc: 0000            add    [eax], al
67b4b7ce: 0000            add    [eax], al
67b4b7d0: 0000            add    [eax], al
67b4b7d2: 0000            add    [eax], al
67b4b7d4: 0000            add    [eax], al
67b4b7d6: 0000            add    [eax], al
67b4b7d8: 0000            add    [eax], al
67b4b7da: 0000            add    [eax], al
67b4b7dc: 0000            add    [eax], al
67b4b7de: 0000            add    [eax], al
67b4b7e0: 0000            add    [eax], al
67b4b7e2: 0000            add    [eax], al
67b4b7e4: 0000            add    [eax], al
67b4b7e6: 0000            add    [eax], al
67b4b7e8: 0000            add    [eax], al
67b4b7ea: 0000            add    [eax], al
67b4b7ec: 0000            add    [eax], al
67b4b7ee: 0000            add    [eax], al
67b4b7f0: 0000            add    [eax], al
67b4b7f2: 0000            add    [eax], al
67b4b7f4: 0000            add    [eax], al
67b4b7f6: 0000            add    [eax], al
67b4b7f8: 0000            add    [eax], al
67b4b7fa: 0000            add    [eax], al
67b4b7fc: 0000            add    [eax], al
67b4b7fe: 0000            add    [eax], al

Built on Althena on Sat Apr 02 20:03:48 2011 using compiler version 1400

Windows 5.2 (Windows Server 2003 x86 build 3790) [Service Pack 2]
Memory status: virtual free 1945M/2048M, commit limit 4328M, physical total 1791M

EAX = 7ffdf000
EBX = 00000000
ECX = 40000000
EDX = 00000000
EBP = 0012fd58
ESI = 67b4b790
EDI = 0012fda4
ESP = 0012fd30
EIP = 67b4b790
EFLAGS = 00210202
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Access Violation

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

...writing address 67B4B790.

Pointer dumps:

EAX   7ffdf000: 0012f3e8 00130000 0011e000 00000000 00001e00 00000000 7ffdf000 00000000
EDI   0012fda0: 00000000 00000000 0012fd64 00000000 00000000 00000000 00000000 0012fd74
ESP   0012fd30: 77f5b6e3 003e019c 0000001c 00000000 00000520 67b4b790 dcbaabcd 00000000
     0012fd50: 0012fda4 67b4b790 0012fdd4 77f55f82 67b4b790 003e019c 0000001c 00000000
     0012fd70: 00000520 0000001c 003e019c 00903040 00000024 00000001 00000000 00000000
     0012fd90: 00000030 ffffffff ffffffff 77f55f38 00000000 00000000 0012fd64 00000000
EBP   0012fd58: 0012fdd4 77f55f82 67b4b790 003e019c 0000001c 00000000 00000520 0000001c
     0012fd78: 003e019c 00903040 00000024 00000001 00000000 00000000 00000030 ffffffff
     0012fd98: ffffffff 77f55f38 00000000 00000000 0012fd64 00000000 00000000 00000000
     0012fdb8: 00000000 0012fd74 0012f95c 0012fe54 77f6af18 77f55fa8 00000000 0012fe1c

Thread call stack:
77f5b6e3: USER32!LoadCursorW [77f40000+169ee+4cf5]
77f55f82: USER32!IsDialogMessageW [77f40000+15ca1+2e1]
77f55f38: USER32!IsDialogMessageW [77f40000+15ca1+297]
77f55e22: USER32!IsDialogMessageW [77f40000+15ca1+181]
77f5c9c6: USER32!GetClientRect [77f40000+1c97c+4a]
7c9283c6: ntdll!KiUserCallbackDispatcher [7c900000+28398+2e]
77f5bde5: USER32!TranslateMessage [77f40000+1bdac+39]
77f5be1a: USER32!TranslateMessage [77f40000+1bdac+6e]
77f56558: USER32!GetForegroundWindow [77f40000+1641e+13a]
0045c7df: WinMain@16()
005ddc8b: __tmainCRTStartup()
7c82f23b: kernel32!ProcessIdToSessionId [7c800000+2f032+209]

-- End of report

Posted by: ale5000 May 12 2011, 11:08 PM
QUOTE (DarrellS @ May 12 2011, 07:26 AM)
I assume because the internal mp3 decoder uses the Fraunhofer ACM Codec? The Fraunhofer ACM Codec has always been used to decode mp3 as long as I can remember (started using Virtualdub around 1999-2000).

No, the latest version of VirtualDub come with an internal decoder for mpeg audio 1/2/3 but I assume it doesn't get used by default if there is also an ACM codec installed on the system (also if the ACM is only for encoding).

Posted by: phaeron May 14 2011, 08:33 PM
I've noted the multiple ACM codec for same format issue in my TODO list and I'll get to it at some point.

The open file dialog crash looks like a problem with a video codec that Windows Explorer is trying to use to get preview information on a file. You might be able to reproduce this in Notepad if you set the file type in the dialog to All Files. The crash looks as it does because some codecs have the lame behavior of unloading their code when they detect a crash, resulting in the confusing crash dump.

Posted by: phaeron May 15 2011, 06:14 AM
Alright, I've tracked down the problem with LameACM, but it's not a simple fix.

The problem is that the LameACM codec doesn't respond properly to the ACM query that VirtualDub is using. Specifically, if the codec is compiled without decoding, as the generally available builds are, LameACM responds affirmatively to acmFormatSuggest() queries but then fails on acmStreamOpen(). This breaks ACM's format negotiation process. In order to fix this properly I need to do similar to what I did with video codecs and bypass the ACM format negotiation entirely, querying each codec individually.

Posted by: ale5000 May 15 2011, 08:38 AM
Edit: Post removed

Posted by: ale5000 May 31 2011, 01:30 PM
Edit: Problem fixed

Posted by: DarrellS Jun 7 2011, 05:46 PM
Null Transform filter using cropping is broken. I don't have version 4 thru 7 but it works in all other versions that I have. If I use cropping in any other filter it's ok so it is the Null Transform filter that is broken.

user posted image

Posted by: DarrellS Jun 10 2011, 11:29 PM
Got a nasty trojan last night that prevented my PC from booting. After trying to fix the problem using a boot disc failed, I installed a back-up image of my C drive and the Null Transform problem disappeared.

Posted by: phaeron Jun 12 2011, 11:35 PM
QUOTE (ale5000 @ May 31 2011, 06:30 AM)
Is it possible to fix this bug?
QUOTE
Each driver tells virtualdub it's priority in the chain of possible drivers - I have set the priority of the NBTV driver to a highly negative number which, I thought, should have caused VirtualDub to select it's inbuilt wave input driver ahead of the NBTV input driver.
...

Well... sort of.

It turns out there was a pretty dumb bug in the built-in WAV driver, which was causing its signature check to fail and it to always fall back to lower-tier filename matching. That still doesn't explain why the NBTV driver was conflicting with the WAV driver. The WAV driver always takes any RIFF/WAVE file, so for the NBTV driver to co-exist it would have had to have a more strict signature check, which would then require a higher priority, not a lower one. If the intent was for the NBTV driver to never automatically activate, it wouldn't have been necessary or a good idea to have the autodetect function implemented at all.

In any case, the WAV detection fix is in 1.10.1 test-10, so we'll see if that does the trick.

Posted by: phaeron Jun 12 2011, 11:36 PM
QUOTE (DarrellS @ Jun 10 2011, 04:29 PM)
Got a nasty trojan last night that prevented my PC from booting. After trying to fix the problem using a boot disc failed, I installed a back-up image of my C drive and the Null Transform problem disappeared.

Uh... while it's good that you got your machine cleaned off, it's unlikely that this was the cause. There was a regression in test-8 that caused the null transform filter not to handle flipped bitmaps properly.

P.S. In the future, please indicate the test-* version you are using explicitly, as neither window you have in your image indicates this. The test release is only indicated in the initial window caption on startup.

Posted by: pureocean Jun 13 2011, 02:16 AM
@phaeron: Thank you for new update. Also late thanks for you replied my messages.

Quote:
CODE
I wasn't able to reproduce the WAV file issue either. If you have input plugins installed, try temporarily removing them to see if the problem goes away. There was a recent thread about ambiguities in file pattern selection that make me suspect this is a factor.

You're right. Issue source: FccHandler's MPEG2 InputDriver (MPEG2.vdplugin). After this file deleted, *.WAV files can appear in "Audio from other file..." window.

Quote:
CODE
The open file dialog crash looks like a problem with a video codec that Windows Explorer is trying to use to get preview information on a file. You might be able to reproduce this in Notepad if you set the file type in the dialog to All Files. The crash looks as it does because some codecs have the lame behavior of unloading their code when they detect a crash, resulting in the confusing crash dump.

Actually, I suspect the mouse pointers. Because I don't use default pointers of windows. My mouse pointers:
WinXPsetV3 Cursor 66.ani
WinXPsetV3 Cursor 68.ani
aero_busy.ani

Crashing issues is very rarely (in Save AVI window). Perhaps, a buffer overflow be caused by external pointers. I think, I need back to the original mouse pointers.

Posted by: DarrellS Jun 13 2011, 06:12 AM
QUOTE (phaeron @ Jun 12 2011, 04:36 PM)
QUOTE (DarrellS @ Jun 10 2011, 04:29 PM)
Got a nasty trojan last night that prevented my PC from booting. After trying to fix the problem using a boot disc failed, I installed a back-up image of my C drive and the Null Transform problem disappeared.

Uh... while it's good that you got your machine cleaned off, it's unlikely that this was the cause. There was a regression in test-8 that caused the null transform filter not to handle flipped bitmaps properly.

P.S. In the future, please indicate the test-* version you are using explicitly, as neither window you have in your image indicates this. The test release is only indicated in the initial window caption on startup.


In my first post, although I did not mention 1.10.1-test8 (I thought that I did), I did show a screenshot of the build 34592. I thought it was test8 since that is what my shortcut said but when I redownload the file a couple of days ago which didn't show the messed up frame, it said test7 (which is build 34093). I notice tonight that there is a test8 which was not on the front page a couple of days ago and it is the same build that I posted in the screenshot, test8.

I'll retry and see if test8 still shows the messed up screen like it did the other day.

EDIT: Yep! The problem is back in the version that I downloaded tonight. Test8 build 34592.

Posted by: Dstruct Jun 14 2011, 02:23 PM
1.10.1-test10



"Save Default" isn't working properly in the "Resize" filter dialog. Doesn't remember "Lanczos3" and "Multiple of 2" settings!


FIXED (1.10.1-test10)

Posted by: pureocean Jun 14 2011, 06:36 PM
About MPEG audio input module...

A sample audio (Format: MPEG 1.0 Layer 2). Cannot import. Error message: "Audio.mp2 is of an unknown or unsupported file type."

Is this normal? If so, it doesn't matter. smile.gif

Sample audio: http://rghost.net/10895751

Posted by: DarrellS Jun 14 2011, 10:33 PM
Null Transform problem fixed in 1.10.1-test10. Thanks!

Posted by: phaeron Jun 18 2011, 09:58 PM
Hmm, that Save As Default bug is interesting. I don't think the code for that's changed in a couple of years... surprised it didn't come up before. Anyway, it's fixed in test 11 (it wasn't syncing the state of the dialog before saving the config).

The MPEG audio code doesn't do signature detection and doesn't include the "mp2" extension. The reason is that signature detection is unreliable for MPEG audio -- Microsoft tried to do this in Windows Media Player, and the result was that it opened some AVI files as MP3 files -- and the .mp2 extension is more commonly used for video files. You can still open them as such if you override the file type.

Posted by: Mr.Bomber Jun 19 2011, 07:21 PM
Thank you for corrected filter resize.
There is else here is such small bug. The move of the performing the task is displayed in percent in window Job control and in headline main window Virtualdub. If in window status is switched to any tab, except the main. Image of the percent is frozen in headline main window.

Posted by: ale5000 Jun 20 2011, 03:19 AM
QUOTE (phaeron @ Jun 13 2011, 12:35 AM)
In any case, the WAV detection fix is in 1.10.1 test-10, so we'll see if that does the trick.

It works, thanks.

Posted by: ale5000 Jun 20 2011, 03:55 AM
VirtualDub say "The video decompressor cannot decompress to the selected input format. Check for a Force YUY2 setting in the codec's properties or select a different input video format under Vido > Color Depth."

Test file (cut.demuxed.m2v): http://www.multiupload.com/SQRQRQKX3V
You should have the MPEG2 input plugin.
1) Select Video => Color Depth
2) Then Decompression format => Other... => YCbCr (Rec.601) Limited 4:2:0 interlaced
3) Then Output format => 24 bit RGB (888)
4) Open the video
5) Now press the play output button

Posted by: Dstruct Jun 20 2011, 05:56 AM
QUOTE (phaeron @ Jun 18 2011, 11:58 PM)
Hmm, that Save As Default bug is interesting. I don't think the code for that's changed in a couple of years... surprised it didn't come up before. Anyway, it's fixed in test 11 (it wasn't syncing the state of the dialog before saving the config).

Thanks! Fixed in 1.10.1-test10.

Posted by: ale5000 Jun 25 2011, 11:25 AM
I have used File => Save segmented AVI (video: full processing mode uncompressed, audio: direct stream copy), then I stopped it and it is crashed:
CODE
VirtualDub crash report -- build 34610 (release)
--------------------------------------

Disassembly:
0041fc00: 8b09            mov    ecx, [ecx]
0041fc02: 85c9            test   ecx, ecx
0041fc04: 7409            jz     0041fc0f
0041fc06: 8b01            mov    eax, [ecx]
0041fc08: 8b5004          mov    edx, [eax+04h]
0041fc0b: 6a01            push   01h
0041fc0d: ffd2            call   edx
0041fc0f: c3              ret    
0041fc10: 51              push   ecx
0041fc11: 56              push   esi
0041fc12: 8bf1            mov    esi, ecx
0041fc14: 8b0e            mov    ecx, [esi]
0041fc16: 85c9            test   ecx, ecx
0041fc18: 7421            jz     0041fc3b
0041fc1a: 83c8ff          or     eax, 0ffh
0041fc1d: 8d5104          lea    edx, [ecx+04h]
0041fc20: f0              lock  
0041fc21: 0fc102          xadd   [edx], eax
0041fc24: 83e801          sub    eax, 01h
0041fc27: 750c            jnz    0041fc35
0041fc29: 85c9            test   ecx, ecx
0041fc2b: 7408            jz     0041fc35
0041fc2d: 8b01            mov    eax, [ecx]
0041fc2f: 8b10            mov    edx, [eax]
0041fc31: 6a01            push   01h
0041fc33: ffd2            call   edx
0041fc35: c70600000000    mov    dword ptr [esi], 00000000
0041fc3b: 8bc6            mov    eax, esi
0041fc3d: 5e              pop    esi
0041fc3e: 59              pop    ecx
0041fc3f: c3              ret    
0041fc40: 8b4104          mov    eax, [ecx+04h]
0041fc43: 3d38c86300      cmp    eax, 0063c838
0041fc48: 7407            jz     0041fc51
0041fc4a: 50              push   eax
0041fc4b: e831e11b00      call   005ddd81
0041fc50: 59              pop    ecx
0041fc51: c3              ret    
0041fc52: cc              int    3
0041fc53: cc              int    3
0041fc54: cc              int    3
0041fc55: cc              int    3
0041fc56: cc              int    3
0041fc57: cc              int    3
0041fc58: cc              int    3
0041fc59: cc              int    3
0041fc5a: cc              int    3
0041fc5b: cc              int    3
0041fc5c: cc              int    3
0041fc5d: cc              int    3
0041fc5e: cc              int    3
0041fc5f: cc              int    3
0041fc60: 64a100000000    mov    eax, fs:[00000000]
0041fc66: 6aff            push   0ffh
0041fc68: 6848d05f00      push   005fd048 (RtlUnwind@16+1582)
0041fc6d: 50              push   eax
0041fc6e: 64892500000000  mov    fs:[00000000], esp
0041fc75: 56              push   esi
0041fc76: 8b742414        mov    esi, [esp+14h]
0041fc7a: 89742414        mov    [esp+14h], esi
0041fc7e: 83b9d800000000  cmp    dword ptr [ecx+d8], 00h
0041fc85: c744240c000000  mov    dword ptr [esp+0ch], 00000000
         00              
0041fc8d: 7412            jz     0041fca1
0041fc8f: 8b4c2418        mov    ecx, [esp+18h]
0041fc93: 8b06            mov    eax, [esi]
0041fc95: 8b503c          mov    edx, [eax+3ch]      <-- FAULT
0041fc98: 6a01            push   01h
0041fc9a: 6a00            push   00h
0041fc9c: 51              push   ecx
0041fc9d: 8bce            mov    ecx, esi
0041fc9f: ffd2            call   edx
0041fca1: 8b06            mov    eax, [esi]
0041fca3: 8b500c          mov    edx, [eax+0ch]
0041fca6: 8bce            mov    ecx, esi
0041fca8: ffd2            call   edx
0041fcaa: 8b06            mov    eax, [esi]
0041fcac: 8b5004          mov    edx, [eax+04h]
0041fcaf: 6a01            push   01h
0041fcb1: 8bce            mov    ecx, esi
0041fcb3: c7442410ffffff  mov    dword ptr [esp+10h], ffffffff
         ff              
0041fcbb: ffd2            call   edx
0041fcbd: 8b4c2404        mov    ecx, [esp+04h]
0041fcc1: 64890d00000000  mov    fs:[00000000], ecx
0041fcc8: 5e              pop    esi
0041fcc9: 83c40c          add    esp, 0ch
0041fccc: c20c00          ret    000c
0041fccf: cc              int    3
0041fcd0: 6aff            push   0ffh
0041fcd2: 6873d05f00      push   005fd073 (RtlUnwind@16+15ad)
0041fcd7: 64a100000000    mov    eax, fs:[00000000]
0041fcdd: 50              push   eax
0041fcde: 64892500000000  mov    fs:[00000000], esp
0041fce5: 51              push   ecx
0041fce6: 56              push   esi
0041fce7: 57              push   edi
0041fce8: 6a28            push   28h
0041fcea: 8bf9            mov    edi, ecx
0041fcec: e822ec1b00      call   005de913
0041fcf1: 83c404          add    esp, 04h
0041fcf4: 89442408        mov    [esp+08h], eax
0041fcf8: 33f6            xor    esi, esi
0041fcfa: 3bc6            cmp    eax, esi
0041fcfc: 89742414        mov    [esp+14h], esi

Built on Althena on Sat Jun 18 14:40:53 2011 using compiler version 1400

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]
Memory status: virtual free 1896M/2048M, commit limit 2406M, physical total 2048M

EAX = 00000000
EBX = 00000000
ECX = 00000001
EDX = 0061242c
EBP = 05e2ff34
ESI = 00cc71c8
EDI = 00000000
ESP = 05e2feb8
EIP = 0041fc95
EFLAGS = 00010202
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...

...while running thread "Processing" (thread.cpp:179).

Pointer dumps:

EDX   00612428: 00421440 00420990 0041fc60 004215f0 0041fab0 00421580 00421440 00421440
ESI   00cc71c8: 00000000 00cc74a0 002a52f4 00000000 00000000 00690056 00000000 00000000
ESP   05e2feb8: 00cd5130 05e2fee4 005fd048 00000000 004d7a7f 00cc71c8 00000001 00000001
     05e2fed8: 00cd5130 004201cf 00cd5b20 05e2ff28 005fd048 00000000 004230d0 00cd5130
     05e2fef8: 00000001 00000000 0013f104 00cd5b20 00ccace0 004023b7 05e2fcb0 00000001
     05e2ff18: 00000000 00000000 00cd5b20 05e2ff00 05e2ff68 005fd370 00000002 05e2ff74
EBP   05e2ff30: 00000002 05e2ff74 00516ad6 00ccace0 0060dbe0 00000000 0063c870 000000b3
     05e2ff50: 0063c858 0061255c 0063c870 000000b3 0063c858 0061255c 05e2ff9c 00605479
     05e2ff70: 00000000 05e2ffac 005e35ae 00cd5b20 56e6877e 0013f104 00ccace0 00ccace0
     05e2ff90: c0000005 05e2ff80 05e2fae0 05e2ffdc 005e6d30 5363102a 00000000 05e2ffec

Thread call stack:
0041fc95: VDAVIOutputFileSystem::CloseSegment()
004d7a7f: VDAVIOutputSegmented::finalize()
004201cf: VDAVIOutputWAVSystem::CloseSegment()
004230d0: _catch$?ThreadRun@VDDubProcessThread@@MAEXXZ$2()
004023b7: ?$VDProtectedAutoScope1::?$VDProtectedAutoScope1()
00516ad6: VDThread::StaticThreadStart()
005e35ae: _callthreadstartex()
005e3653: _threadstartex@4()
7c80b729: kernel32!GetModuleFileNameA [7c800000+b56f+1ba]

-- End of report

Posted by: Dstruct Jul 5 2011, 04:29 PM
1.10.1-test11

-> View -> Log


Result: no checkmark in front of "Log" menu entry

Expected: checkmark in front of "Log" menu entry when Log window is opened (same as with Status window).

Posted by: Dstruct Jul 13 2011, 01:54 PM
1.10.1-test11

-> Video -> "Filters" dialog

should remember the last clicked/selected Filter so that we immediately can click on "Configure" for example (without the need to select a Filter first) ...

Posted by: jpsdr Jul 22 2011, 09:00 AM
Hello.
In the VideoFilter.h of source code 1.10.1-test11 there is :
CODE

 prefetchProc = sizeof(VDXVideoFilterPrefetchOverloadTest(&T::Prefetch)) > 1 ? T::FilterPrefetch : NULL;
 prefetchProc2 = sizeof(VDXVideoFilterPrefetch2OverloadTest(&T::Prefetch2)) > 1 || sizeof(VDXVideoFilterPrefetchOverloadTest(&T::Prefetch)) > 1 ? T::FilterPrefetch2 : NULL;

 accelRunProc = sizeof(VDXVideoFilterAccelRunOverloadTest(&T::Prefetch)) > 1 ? T::FilterAccelRun : NULL;

 eventProc  = T::FilterEvent;

 accelRunProc = sizeof(VDXVideoFilterAccelRunOverloadTest(&T::Prefetch)) > 1 ? T::FilterAccelRun : NULL;

 mSourceCountLowMinus1 = T::kMinInputCount - 1;
 mSourceCountHighMinus1 = T::kMaxInputCount - 1;

Is it normal to have twice accelRunProc, with the exact same line ?

Posted by: jpsdr Jul 22 2011, 09:51 AM
deleted

Posted by: phaeron Jul 24 2011, 01:11 AM
Looks like a merge accident (the new P4Merge sucks). Fortunately it's harmless.

Posted by: jpsdr Jul 26 2011, 02:07 PM
Crash report
Here how to create the crash :
Chose Input Color Depth to : YCbCr 420 Limited Rec 601 Interlaced
Create a test video : 3:2 pulldown TTF
Add filter : Brightness/Contrast
Click : Show Preview

Result :
CODE

VirtualDub crash report -- build 34610 (release)
--------------------------------------

Disassembly:
00446520: 008945ec8b01    add    [ecx+18bec45], cl
00446526: 57              push   edi
00446527: 8955d0          mov    [ebp-30h], edx
0044652a: 8b5008          mov    edx, [eax+08h]
0044652d: 8965f0          mov    [ebp-10h], esp
00446530: 8975e4          mov    [ebp-1ch], esi
00446533: c745fc00000000  mov    dword ptr [ebp-04h], 00000000
0044653a: ffd2            call   edx
0044653c: 8b0db0dc6700    mov    ecx, [0067dcb0]
00446542: 8bd8            mov    ebx, eax
00446544: 8b01            mov    eax, [ecx]
00446546: 8b5028          mov    edx, [eax+28h]
00446549: ffd2            call   edx
0044654b: 8945e8          mov    [ebp-18h], eax
0044654e: 8b03            mov    eax, [ebx]
00446550: 8b5014          mov    edx, [eax+14h]
00446553: 8d4dc4          lea    ecx, [ebp-3ch]
00446556: 51              push   ecx
00446557: 8bcb            mov    ecx, ebx
00446559: ffd2            call   edx
0044655b: a1eca16700      mov    eax, [0067a1ec]
00446560: 85c0            test   eax, eax
00446562: 760c            jbe    00446570
00446564: 8b0de8a16700    mov    ecx, [0067a1e8]
0044656a: 894dc4          mov    [ebp-3ch], ecx
0044656d: 8945c8          mov    [ebp-38h], eax
00446570: 8b13            mov    edx, [ebx]
00446572: 8b4208          mov    eax, [edx+08h]
00446575: 8bcb            mov    ecx, ebx
00446577: ffd0            call   eax
00446579: 8b0db0dc6700    mov    ecx, [0067dcb0]
0044657f: 8955c0          mov    [ebp-40h], edx
00446582: 8b11            mov    edx, [ecx]
00446584: 8945bc          mov    [ebp-44h], eax
00446587: 8b4218          mov    eax, [edx+18h]
0044658a: ffd0            call   eax
0044658c: 8b0db0dc6700    mov    ecx, [0067dcb0]
00446592: 8b11            mov    edx, [ecx]
00446594: 8b5214          mov    edx, [edx+14h]
00446597: 8bf8            mov    edi, eax
00446599: 8d45b4          lea    eax, [ebp-4ch]
0044659c: 50              push   eax
0044659d: ffd2            call   edx
0044659f: 8b03            mov    eax, [ebx]
004465a1: 8b5008          mov    edx, [eax+08h]
004465a4: 8bcb            mov    ecx, ebx
004465a6: ffd2            call   edx
004465a8: 8d5db4          lea    ebx, [ebp-4ch]
004465ab: 53              push   ebx
004465ac: 8b5de8          mov    ebx, [ebp-18h]
004465af: 52              push   edx
004465b0: 8b5714          mov    edx, [edi+14h]
004465b3: 50              push   eax
004465b4: 8d45c4          lea    eax, [ebp-3ch]
004465b7: 50              push   eax
004465b8: 8b4308          mov    eax, [ebx+08h]      <-- FAULT
004465bb: 52              push   edx
004465bc: 99              cdq    
004465bd: 33c2            xor    eax, edx
004465bf: 2bc2            sub    eax, edx
004465c1: 8b96c8040000    mov    edx, [esi+4c8]
004465c7: 50              push   eax
004465c8: 8b4304          mov    eax, [ebx+04h]
004465cb: 50              push   eax
004465cc: 8d4e70          lea    ecx, [esi+70h]
004465cf: 52              push   edx
004465d0: e8eb2e0000      call   004494c0
004465d5: 6810030000      push   00000310
004465da: e834831900      call   005de913
004465df: 8bc8            mov    ecx, eax
004465e1: 83c404          add    esp, 04h
004465e4: 894dd8          mov    [ebp-28h], ecx
004465e7: 85c9            test   ecx, ecx
004465e9: c645fc01        mov    byte ptr [ebp-04h], 01h
004465ed: 7409            jz     004465f8
004465ef: e82c53ffff      call   0043b920
004465f4: 8bd8            mov    ebx, eax
004465f6: eb02            jmp    004465fa
004465f8: 33db            xor    ebx, ebx
004465fa: 85db            test   ebx, ebx
004465fc: c645fc00        mov    byte ptr [ebp-04h], 00h
00446600: 7409            jz     0044660b
00446602: 8b03            mov    eax, [ebx]
00446604: 8b5004          mov    edx, [eax+04h]
00446607: 8bcb            mov    ecx, ebx
00446609: ffd2            call   edx
0044660b: 8b8e04070000    mov    ecx, [esi+704]
00446611: 85c9            test   ecx, ecx
00446613: 7407            jz     0044661c
00446615: 8b01            mov    eax, [ecx]
00446617: 8b5008          mov    edx, [eax+08h]
0044661a: ffd2            call   edx
0044661c: 89              db     89h
0044661d: 9e              sahf  
0044661e: 0407            add    al, 07h

Built on Althena on Sat Jun 18 14:40:53 2011 using compiler version 1400

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]
Memory status: virtual free 2007M/2048M, commit limit 3400M, physical total 1503M

EAX = 0012e6d4
EBX = 00000000
ECX = 00caec30
EDX = 0000002d
EBP = 0012e710
ESI = 00cd0de0
EDI = 00caeca4
ESP = 0012e688
EIP = 004465b8
EFLAGS = 00210246
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Access Violation

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

...reading address 00000008...

...while configuring filter "brightness/contrast" (FilterInstance.cpp:923).

Pointer dumps:

EAX   0012e6d0: 00000000 00007530 000003e9 00151d18 00000000 00000000 7e3b1571 00400000
ECX   00caec30: 0062f5b8 00000002 00bfad80 00000028 00000000 00000000 000003e8 00000000
ESI   00cd0de0: 00615814 00615800 00000001 000901f4 00150224 00310250 000901fa 002601de
EDI   00caeca0: 00000000 00fb0080 00000000 00000280 000001e0 00000280 0000002d 00ffb080
ESP   0012e688: 0012e6d4 000003e8 00000000 0012e6c4 000901f4 00cd0de0 00cd0de0 7c809a98
     0012e6a8: ffffffff 7c809a90 7e39daac 7e3f12a0 00151d66 006e28ee 0012e6e4 00000000
     0012e6c8: 00000000 000003e8 00000000 00007530 000003e9 00151d18 00000000 00000000
     0012e6e8: 7e3b1571 00400000 00000140 00cd0de0 00000000 000000f0 0012e698 0012e914
EBP   0012e710: 0012e8b8 00446ad0 00000001 000901f4 00cd0de0 0012e8b8 00000110 001401e0
     0012e730: 00140178 00156888 001563b0 00000001 00000000 001401e0 00000003 0012e78c
     0012e750: 001554f8 00000020 00156880 0012e778 7c920a36 0000000d 00156880 00140000
     0012e770: 001563a8 00000000 0012e84c 00140178 0012e84c 7c920981 00140608 7c92005d

Thread call stack:
004465b8: FilterPreview::OnVideoResize()
7c809a90: kernel32!LocalAlloc [7c800000+9a2d+63]
7e39daac: USER32!CreateAcceleratorTableW [7e390000+d9bb+f1]
7e3b1571: USER32!LoadAcceleratorsA [7e390000+21553+1e]
00446ad0: FilterPreview::DlgProc()
7c920a36: ntdll!wcsncpy [7c910000+1057f+4b7]
7c920981: ntdll!wcsncpy [7c910000+1057f+402]
7c92005d: ntdll!RtlFreeHeap [7c910000+ff2d+130]
77ef6b25: GDI32!GetTextExtentPointW [77ef0000+6b0d+18]
7c920323: ntdll!RtlAllocateHeap [7c910000+100c4+25f]
7c920385: ntdll!RtlImageDirectoryEntryToData [7c910000+10346+3f]
7c920323: ntdll!RtlAllocateHeap [7c910000+100c4+25f]
7c920385: ntdll!RtlImageDirectoryEntryToData [7c910000+10346+3f]
7e3ac24e: USER32!DefWindowProcA [7e390000+1c17e+d0]
7e3ac291: USER32!DefWindowProcA [7e390000+1c17e+113]
7e3ac2b2: USER32!SetWindowLongA [7e390000+1c29d+15]
00446e81: FilterPreview::StaticDlgProc()
7e398734: USER32!GetDC [7e390000+86c7+6d]
7e3a3ce4: USER32!EnumDisplaySettingsA [7e390000+13a67+27d]
7e3a3b30: USER32!EnumDisplaySettingsA [7e390000+13a67+c9]
7e3aec45: USER32!LoadMenuIndirectA [7e390000+1ebbf+86]
7e3a1d9a: USER32!RegisterUserApiHook [7e390000+11cff+9b]
7e3a651a: USER32!IsDlgButtonChecked [7e390000+14dfa+1720]
7e3a683e: USER32!CreateDialogIndirectParamAorW [7e390000+1680b+33]
7e3bc825: USER32!CreateDialogParamA [7e390000+2c7db+4a]
00446efb: FilterPreview::Display()
00445294: FilterPreview::Toggle()
005961da: VDVFilterBrightContDialog::OnCommand()
005a20d0: VDDialogFrameW32::DlgProc()
0059658e: VDVFilterBrightContDialog::DlgProc()
005a1ee5: VDDialogFrameW32::StaticDlgProc()
7e398734: USER32!GetDC [7e390000+86c7+6d]
7e3a3ce4: USER32!EnumDisplaySettingsA [7e390000+13a67+27d]
7e3a3b30: USER32!EnumDisplaySettingsA [7e390000+13a67+c9]
7e3a309b: USER32!RegisterLogonProcess [7e390000+12b73+528]
7e3a92e3: USER32!SendMessageW [7e390000+1929a+49]
7e3cff7d: USER32!CreateMDIWindowA [7e390000+3fdc0+1bd]
7e3c65d2: USER32!DeregisterShellHookWindow [7e390000+302c0+6312]
7e3a5e94: USER32!IsDlgButtonChecked [7e390000+14dfa+109a]
74694fae: MSCTF!DllGetClassObject [74690000+43d3+bdb]
7e3ab401: USER32!CallNextHookEx [7e390000+1b3c6+3b]
7e3ab401: USER32!CallNextHookEx [7e390000+1b3c6+3b]
7e3ab401: USER32!CallNextHookEx [7e390000+1b3c6+3b]
7e3a5231: USER32!IsDlgButtonChecked [7e390000+14dfa+437]
7e398734: USER32!GetDC [7e390000+86c7+6d]
7e398816: USER32!GetDC [7e390000+86c7+14f]
7e3ab326: USER32!MoveWindow [7e390000+1b29e+88]
7e3989cd: USER32!GetWindowLongW [7e390000+88a6+127]
7e3b1b7c: USER32!AppendMenuA [7e390000+21b0e+6e]
7e398a10: USER32!DispatchMessageW [7e390000+8a01+f]
7e3a74ff: USER32!IsDialogMessageW [7e390000+17424+db]
7e3a763c: USER32!CallMsgFilterW [7e390000+1750e+12e]
7e3a49c4: USER32!GetCursorFrameInfo [7e390000+147f8+1cc]
7e3a4a06: USER32!DialogBoxIndirectParamAorW [7e390000+149d0+36]
7e3a47ea: USER32!DialogBoxParamW [7e390000+147ab+3f]
005a23c8: VDDialogFrameW32::ShowDialog()
005962a8: VDVFilterBrightCont::Configure()
58b58d4c: COMCTL32!DSA_GetItemPtr [58b50000+860c+740]
7e3988da: USER32!GetWindowLongW [7e390000+88a6+34]
005a1458: VDXVideoFilter::FilterConfig()
0043dd16: FilterInstance::Configure()
00430e5f: _catch$?OnCommand@VDVideoFiltersDialog@@MAE_NII@Z$0()
7c91cffa: ntdll!NtClose [7c910000+cfee+c]
7c809c2b: kernel32!CloseHandle [7c800000+9be7+44]
746915d1: MSCTF!000015d1
746aff25: MSCTF!TF_CheckThreadInputIdle [74690000+1f975+5b0]
7e399488: USER32!GetWindowLongA [7e390000+945d+2b]
7e399491: USER32!GetWindowLongA [7e390000+945d+34]
7e3af916: USER32!GetScrollRange [7e390000+1f787+18f]
7e3af991: USER32!DrawFocusRect [7e390000+1f94f+42]
7e399488: USER32!GetWindowLongA [7e390000+945d+2b]
005a20d0: VDDialogFrameW32::DlgProc()
005a1ee5: VDDialogFrameW32::StaticDlgProc()
7e398734: USER32!GetDC [7e390000+86c7+6d]
7e3a3ce4: USER32!EnumDisplaySettingsA [7e390000+13a67+27d]
7e3a3b30: USER32!EnumDisplaySettingsA [7e390000+13a67+c9]
7e3a309b: USER32!RegisterLogonProcess [7e390000+12b73+528]
7e3a92e3: USER32!SendMessageW [7e390000+1929a+49]
7e3cff7d: USER32!CreateMDIWindowA [7e390000+3fdc0+1bd]
7e3c65d2: USER32!DeregisterShellHookWindow [7e390000+302c0+6312]
7e3a5e94: USER32!IsDlgButtonChecked [7e390000+14dfa+109a]
74694fae: MSCTF!DllGetClassObject [74690000+43d3+bdb]
7e3ab401: USER32!CallNextHookEx [7e390000+1b3c6+3b]
7e3ab401: USER32!CallNextHookEx [7e390000+1b3c6+3b]
7e3ab401: USER32!CallNextHookEx [7e390000+1b3c6+3b]
7e3a5231: USER32!IsDlgButtonChecked [7e390000+14dfa+437]
7e398734: USER32!GetDC [7e390000+86c7+6d]
7e398816: USER32!GetDC [7e390000+86c7+14f]
7e3ab326: USER32!MoveWindow [7e390000+1b29e+88]
7e3989cd: USER32!GetWindowLongW [7e390000+88a6+127]
7e3b1b7c: USER32!AppendMenuA [7e390000+21b0e+6e]
7e398a10: USER32!DispatchMessageW [7e390000+8a01+f]
7e3a74ff: USER32!IsDialogMessageW [7e390000+17424+db]
7e3a763c: USER32!CallMsgFilterW [7e390000+1750e+12e]
7e3a49c4: USER32!GetCursorFrameInfo [7e390000+147f8+1cc]
7e3a4a06: USER32!DialogBoxIndirectParamAorW [7e390000+149d0+36]
7e3a47ea: USER32!DialogBoxParamW [7e390000+147ab+3f]
005a23c8: VDDialogFrameW32::ShowDialog()
00431d97: VDShowDialogVideoFilters()
7c91e473: ntdll!KiUserCallbackDispatcher [7c910000+e460+13]

-- End of report

Posted by: phaeron Aug 1 2011, 06:20 AM
Aha... fixed. The code was using the Win32 bitmap header, which doesn't exist if the format doesn't have a Win32 equivalent. There was no need for that.

Posted by: jpsdr Aug 4 2011, 01:06 PM
deleted

Posted by: Dstruct Aug 9 2011, 09:50 AM
1.10.1-test12


-> load file with stereo audio
-> Audio/Conversion/Channels: Set to "Left" or "Right"
-> Audio/Compression


Result: Only Stereo compression modes shown

Expected: Only Mono compression modes shown


Trying to Save the file in full processing mode also gives an error:

"Error initializing audio stream compression: No installed audio codec could compress the source audio to the desired format. Check that the sampling rate and number of channels in the source is compatible with the selected audio format."



Trying to fix it via Advanced Filters also doesn't seem to help as workaround. I'm only getting different "Pin connection" error messages when trying to save the file (no matter which Stereo-Split/Merge/Mix method I'm trying). Even got VirtualDub hanging at 100% CPU while trying to Add a Output node in the Advanced Filters dialog ...


sad.gif


FIXED (1.10.1-test15)

Posted by: Dstruct Aug 9 2011, 09:54 AM
1.10.1-test12

Audio/Filters ... (Advanced Filtering)

-> window has ugly default program icon in titlebar. VirtualDub logo should be shown.


FIXED (1.10.1-test15)

Posted by: Dstruct Aug 9 2011, 10:20 AM
1.10.1-test12


Help file -> Dialogs/Audio filters


should read


There must be exactly one "input" node.

instead of

There must be exactly one "source" node.


FIXED (1.10.1-test14)

Posted by: phaeron Aug 10 2011, 12:41 AM
I fixed up the cosmetic issues you pointed out, but the behavior with the left/right settings is correct. By using those settings, you're telling VirtualDub to select one channel and discard the other, so you should only be getting mono formats in the compression dialog.

Posted by: stephanV Aug 10 2011, 05:07 AM
QUOTE (phaeron @ Aug 10 2011, 02:41 AM)
I fixed up the cosmetic issues you pointed out, but the behavior with the left/right settings is correct. By using those settings, you're telling VirtualDub to select one channel and discard the other, so you should only be getting mono formats in the compression dialog.

The problem he pointed out is that he is getting stereo formats as well. I can confirm this.

Posted by: Dstruct Aug 10 2011, 06:13 AM
QUOTE (phaeron @ Aug 10 2011, 02:41 AM)
I fixed up the cosmetic issues you pointed out, but the behavior with the left/right settings is correct. By using those settings, you're telling VirtualDub to select one channel and discard the other, so you should only be getting mono formats in the compression dialog.

Yes, that's the problem. Stereo formats are shown instead of Mono ones. No chance to compress it as it just gives you error messages (as you're just be able to choose from Stereo compression modes) sad.gif

Posted by: Barnister Sep 8 2011, 10:32 AM
Just a question:

How about making use of DirectCompute which CUDA(Nvidia) or OpenCL(AMD) use to accelerate the whole encoding process?

Just throwing it in the room. I by no means know what I'm talking about. I just really would like the feature to make use of my GPU's thousand stream processors to speed up the whole encoding process.

Posted by: v0lt Sep 8 2011, 02:08 PM
@Barnister
VirtualDub does not encode, it only controls. The encoder encodes.

Posted by: Barnister Sep 9 2011, 07:15 AM
Right, of course. That's why there's a codec that makes use of CUDA. My bad.

I'm always exclusively using x264. So, it means what? The x265 codec guys have to do it?

Posted by: phaeron Oct 4 2011, 06:14 AM
I've been kind of sidetracked the DirectShow input plugin and not devoting much VDub time to the main program itself, but I've pushed out test-13 with some miscellaneous fixes that have been queuing.

Posted by: mayhem Oct 8 2011, 07:55 PM
As of -test13 the open/save dialog no longer has the useful "Places bar" on the left side of the dialog
and uses the standard windows open/save dialog. Any chance of getting that back, it was rather
handy, at least on XP, not sure if its even implemented in 7 or not.

7 has lots of its own dialog issues, like perpetual inability to remember sort
and view modes from folder to folder and seemingly no way to set them
globally. In fact, lack of global settings across all programs and dialogs
is my major gripe with 7 and why I won't use it on my desktop,
my laptop I have no choice, but at least on the desktop I do.




Posted by: freedomdwarf Oct 11 2011, 02:20 PM
Is there a repository where we can grab the latest release/build of VirtualDub?

I don't mind being a guinea-pig to see if the latest version works for what I do with VD.

I just 'happened' across Test12 and it works for what I want but I have seen from Phaeron that it shouldn't really be used because it has a 'Sleep(10000)' in it somewhere and that Test13 has fixed some niggles...
So where can I grab Test13 from pretty plz??

Posted by: dloneranger Oct 11 2011, 05:55 PM
@freedomdwarf
It's on the first page of this thread

Posted by: phaeron Oct 12 2011, 05:37 AM
Yeah, these threads are meant to be the repositories and the latest build and change list is always on the first post. I forgot to pin this thread, which I have fixed in test-14.

The places bar issue was a dumb regression I introduced when I was fixing some build errors on my desktop, which has the Vista SDK installed instead of the Windows 2000 SDK. What's annoying is that it was a pain to test the regression fix because the only way I can run Windows 98 now is through a VM, and VirtualBox runs Win98SE very poorly. Given that I really can't even run the OS properly anymore it's probably about time I finally dropped Win98/ME support and started building VirtualDub as Unicode instead of MBCS.

Posted by: jpsdr Oct 12 2011, 07:46 AM
If you do that, does it mean that to properly compile plugins, in the general settings of the projects, the Characters settings (translated from french, don't know if it's the exact english label), should be set to Unicode instead of MBCS, or would they stay compatible ? If i remember properly, a long time ago, in my debut building pluggins,once the setting was to Unicode and it didn't work. Don't remember if pluggin didn't load in VD, or if it simply didn't compile.

Posted by: Dstruct Oct 12 2011, 01:53 PM
QUOTE (Dstruct)
1.10.1-test12


-> load file with stereo audio
-> Audio/Conversion/Channels: Set to "Left" or "Right"
-> Audio/Compression


Result: Only Stereo compression modes shown

Expected: Only Mono compression modes shown


Trying to Save the file in full processing mode also gives an error:

"Error initializing audio stream compression: No installed audio codec could compress the source audio to the desired format. Check that the sampling rate and number of channels in the source is compatible with the selected audio format."



Trying to fix it via Advanced Filters also doesn't seem to help as workaround. I'm only getting different "Pin connection" error messages when trying to save the file (no matter which Stereo-Split/Merge/Mix method I'm trying). Even got VirtualDub hanging at 100% CPU while trying to Add a Output node in the Advanced Filters dialog ...


sad.gif


QUOTE (Dstruct)
1.10.1-test12

Audio/Filters ... (Advanced Filtering)

-> window has ugly default program icon in titlebar. VirtualDub logo should be shown.




Both issues still there in 1.10.1-test14.


FIXED (1.10.1-test15)

Posted by: phaeron Oct 23 2011, 08:30 PM
Test-15 is up with a few more bug fixes.

The Unicode/MBCS setting controls whether generic macros map to the ANSI or Unicode versions of the Win32 APIs. This includes functions like CreateWindow, macros like MAKEINTRESOURCE and _T(), and the UNICODE/MBCS macro. This means if that you have code like this:
CODE

SetWindowText(hwndItem, "Foo");

...it will not compile in Unicode mode because you are attempting to pass a narrow string to SetWindowTextW(). It's even worse if you are using messages like WM_SETTEXT where you can silently get a type mismatch that only manifests at runtime.

Within a module, the solution to making a module Unicode/MBCS agnostic is to convert everything to either be agnostic (particularly using _T() or _t* functions), or to hardcode the specific ANSI/Unicode API being used. VirtualDub and your filter, however, don't need to use the same settings. There is nothing in the filter API that requires a particular setting since there are no generic Windows types embedded in the header. You can convert your filter to Unicode now or vice versa and everything should run OK.

Posted by: pureocean Nov 6 2011, 01:08 AM
@phaeron: Firstly, thanks for new updates.

There is strange issue. Could you help?

Video: http://www.megaupload.com/?d=U1DP65X0

Issue: If anything frames is deleted, Virtualdub can't playing or seeking with arrow keys.

Tested: Virtualdub build 34676 (test-15).

P.S.: No problem in Virtualdub 1.8.8.

Posted by: phaeron Nov 6 2011, 11:30 PM
Looks like it may be an improperly coded AVI with a keyframe 0 dependency -- whether or not this worked in the past would have been by chance.

I'll have to think about putting in an option for this. There's no way around it for direct stream copy, but for full processing mode it would allow the file to be transcoded properly.

Posted by: Dstruct Nov 7 2011, 12:55 PM
QUOTE (Dstruct @ Oct 12 2011, 03:53 PM)
QUOTE (Dstruct)
1.10.1-test12


-> load file with stereo audio
-> Audio/Conversion/Channels: Set to "Left" or "Right"
-> Audio/Compression


Result: Only Stereo compression modes shown

Expected: Only Mono compression modes shown


Trying to Save the file in full processing mode also gives an error:

"Error initializing audio stream compression: No installed audio codec could compress the source audio to the desired format. Check that the sampling rate and number of channels in the source is compatible with the selected audio format."



Trying to fix it via Advanced Filters also doesn't seem to help as workaround. I'm only getting different "Pin connection" error messages when trying to save the file (no matter which Stereo-Split/Merge/Mix method I'm trying). Even got VirtualDub hanging at 100% CPU while trying to Add a Output node in the Advanced Filters dialog ...


sad.gif



FIXED (1.10.1-test15)

VirtualDub 1.10.1-test15


With this file

CODE
Format                         : Matroska
Format version                 : Version 1
File size                      : 1 003 MiB
Duration                       : 2h 5mn
Overall bit rate               : 1 113 Kbps
Writing application            : HandBrake 0.9.3

Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High@L3.0
Format settings, CABAC         : Yes
Format settings, ReFrames      : 3 frames
Codec ID                       : V_MPEG4/ISO/AVC
Duration                       : 2h 5mn
Nominal bit rate               : 655 Kbps
Width                          : 720 pixels
Height                         : 422 pixels
Display aspect ratio           : 2.40:1
Frame rate                     : 25.000 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.086
Writing library                : x264 core 65
Encoding settings              : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy_rd=1.0:1.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-4 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=6 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=655 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language                       : English
Color primaries                : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer characteristics       : BT.709-5, BT.1361
Matrix coefficients            : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M

Audio #1
ID                             : 2
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : A_AAC
Duration                       : 2h 5mn
Channel(s)                     : 6 channels
Channel positions              : Front: L C R, Side: L R, LFE
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Language                       : English

Audio #2
ID                             : 3
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : A_AAC
Duration                       : 2h 5mn
Channel(s)                     : 6 channels
Channel positions              : Front: L C R, Side: L R, LFE
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Language                       : German

Menu
00:00:00.000                   : Chapter 1
00:03:17.813                   : Chapter 2
00:06:19.973                   : Chapter 3
00:09:19.133                   : Chapter 4
00:11:29.413                   : Chapter 5
00:16:06.613                   : Chapter 6
00:20:40.133                   : Chapter 7
00:24:07.373                   : Chapter 8
00:27:40.773                   : Chapter 9
00:31:05.983                   : Chapter 10
00:33:55.370                   : Chapter 11
00:37:06.130                   : Chapter 12
00:42:33.970                   : Chapter 13
00:44:39.410                   : Chapter 14
00:46:58.010                   : Chapter 15
00:51:20.320                   : Chapter 16
00:54:13.600                   : Chapter 17
00:56:36.520                   : Chapter 18
00:58:38.680                   : Chapter 19
01:02:36.570                   : Chapter 20
01:05:00.650                   : Chapter 21
01:09:35.730                   : Chapter 22
01:14:38.690                   : Chapter 23
01:17:44.288                   : Chapter 24
01:21:36.797                   : Chapter 25
01:26:04.997                   : Chapter 26
01:27:43.317                   : Chapter 27
01:33:26.357                   : Chapter 28
01:36:56.877                   : Chapter 29
01:40:04.555                   : Chapter 30
01:42:38.113                   : Chapter 31
01:45:47.793                   : Chapter 32
01:48:19.550                   : Chapter 33
01:51:50.900                   : Chapter 34
01:53:58.020                   : Chapter 35
01:57:27.060                   : Chapter 36
02:00:33.500                   : Chapter 37
02:03:30.780                   : Chapter 38"


I'm getting a "Error initializing audio stream compression: No installed audio codec could compress the source audio to the desired format. Check that the sampling rate and number of channels in the source is compatible with the selected audio format." error message in VirtualDub when trying to save this file with 5.1 AC-3 320kbps compression.


fccHandler AAC ACM Codec 1.8
fccHandler AC-3 ACM Codec 1.9
fccHandler Matroska Plugin 3.0



Shouldn't it work (6ch AAC conversion to 6ch AC-3)?

Posted by: pureocean Nov 7 2011, 01:55 PM
@phaeron: Thanks for the information.

Posted by: Mr.Bomber Nov 16 2011, 01:01 AM
Error of the opening of the program test 15 under WinXP.
If start test 12 and disable in options all CPU optimizations then after program is started without error.
In than reason? Under W7 all orderly.
XP SP3, Intel Core i5 2500K, ASUS P8P67LE.

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

Disassembly:
0051a9a0: 0e              push   cs
0051a9a1: 832600          and    dword ptr [esi], 00h
0051a9a4: ddd8            fstp   st(0)
0051a9a6: c7460401000000  mov    dword ptr [esi+04h], 00000001
0051a9ad: eb68            jmp    0051aa17
0051a9af: 85c0            test   eax, eax
0051a9b1: 7c45            jl     0051a9f8
0051a9b3: 6a3e            push   3eh
0051a9b5: 59              pop    ecx
0051a9b6: 2bc8            sub    ecx, eax
0051a9b8: 33c0            xor    eax, eax
0051a9ba: 40              inc    eax
0051a9bb: 33d2            xor    edx, edx
0051a9bd: e8ee870c00      call   005e31b0
0051a9c2: 52              push   edx
0051a9c3: 50              push   eax
0051a9c4: 6a3e            push   3eh
0051a9c6: 51              push   ecx
0051a9c7: 51              push   ecx
0051a9c8: dd1c24          fstp   qword ptr [esp]
0051a9cb: e885a20c00      call   005e4c55
0051a9d0: dc0520686100    fadd   qword ptr [00616820]
0051a9d6: 83c40c          add    esp, 0ch
0051a9d9: e898480c00      call   005df276
0051a9de: 52              push   edx
0051a9df: 50              push   eax
0051a9e0: 8d4508          lea    eax, [ebp+08h]
0051a9e3: 50              push   eax
0051a9e4: e81cf9ffff      call   0051a305
0051a9e9: 8b08            mov    ecx, [eax]
0051a9eb: 890e            mov    [esi], ecx
0051a9ed: 8b4004          mov    eax, [eax+04h]
0051a9f0: 83c414          add    esp, 14h
0051a9f3: 894604          mov    [esi+04h], eax
0051a9f6: eb1f            jmp    0051aa17
0051a9f8: ddd8            fstp   st(0)
0051a9fa: 51              push   ecx
0051a9fb: d9e8            fld1  
0051a9fd: 51              push   ecx
0051a9fe: dc7508          fdiv   qword ptr [ebp+08h]
0051aa01: 8d4d08          lea    ecx, [ebp+08h]
0051aa04: dd1c24          fstp   qword ptr [esp]
0051aa07: e868ffffff      call   0051a974
0051aa0c: 8b4508          mov    eax, [ebp+08h]
0051aa0f: 894604          mov    [esi+04h], eax
0051aa12: 8b450c          mov    eax, [ebp+0ch]
0051aa15: 8906            mov    [esi], eax
0051aa17: 8bc6            mov    eax, esi
0051aa19: 5e              pop    esi
0051aa1a: c9              leave  
0051aa1b: c20800          ret    0008
0051aa1e: 51              push   ecx
0051aa1f: 33c9            xor    ecx, ecx
0051aa21: 0f01d0          lgdt   eax      <-- FAULT
0051aa24: 890424          mov    [esp], eax
0051aa27: 8b0424          mov    eax, [esp]
0051aa2a: 83e006          and    eax, 06h
0051aa2d: 2c06            sub    al, 06h
0051aa2f: f6d8            neg    al
0051aa31: 1bc0            sbb    eax, eax
0051aa33: 40              inc    eax
0051aa34: 59              pop    ecx
0051aa35: c3              ret    
0051aa36: 6a28            push   28h
0051aa38: 6860156700      push   00671560
0051aa3d: e8669f0c00      call   005e49a8
0051aa42: 9c              pushfd
0051aa43: 810c2400002000  or     dword ptr [esp], 00200000
0051aa4a: 9d              popfd  
0051aa4b: 9c              pushfd
0051aa4c: 8f45dc          pop    dword ptr [ebp-24h]
0051aa4f: 33c0            xor    eax, eax
0051aa51: f745dc00002000  test   [ebp-24h], 00200000
0051aa58: 0f8436010000    jz     0051ab94
0051aa5e: c745e003000000  mov    dword ptr [ebp-20h], 00000003
0051aa65: 8d75c8          lea    esi, [ebp-38h]
0051aa68: 0fa2            cpuid  
0051aa6a: 8906            mov    [esi], eax
0051aa6c: 895e04          mov    [esi+04h], ebx
0051aa6f: 894e08          mov    [esi+08h], ecx
0051aa72: 89560c          mov    [esi+0ch], edx
0051aa75: 837dc800        cmp    dword ptr [ebp-38h], 00h
0051aa79: 7508            jnz    0051aa83
0051aa7b: 6a03            push   03h
0051aa7d: 58              pop    eax
0051aa7e: e911010000      jmp    0051ab94
0051aa83: 8d75c8          lea    esi, [ebp-38h]
0051aa86: 33c0            xor    eax, eax
0051aa88: 40              inc    eax
0051aa89: 0fa2            cpuid  
0051aa8b: 8906            mov    [esi], eax
0051aa8d: 895e04          mov    [esi+04h], ebx
0051aa90: 894e08          mov    [esi+08h], ecx
0051aa93: 89560c          mov    [esi+0ch], edx
0051aa96: f745d400008000  test   [ebp-2ch], 00800000
0051aa9d: 7407            jz     0051aaa6
0051aa9f: c7              db     0c7h

Built on Althena on Sun Oct 23 13:07:05 2011 using compiler version 1400

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]
Memory status: virtual free 1994M/2048M, commit limit 5896M, physical total 3062M

EAX = 00000200
EBX = 00100800
ECX = 00000000
EDX = bfebfbff
EBP = 0012fce0
ESI = 0012fca8
EDI = 00009ca5
ESP = 0012fc94
EIP = 0051aa21
EFLAGS = 00210246
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Illegal instruction

Crash context:
An instruction not supported by the CPU was executed in module 'VirtualDub'.

Pointer dumps:

ESI   0012fca8: 000206a7 00100800 179ae3bf bfebfbff 00caecdc 00200212 0000073f 01000100
ESP   0012fc90: 00000000 179ae3bf 0051ab30 00009ca5 00000000 00000000 000206a7 00100800
     0012fcb0: 179ae3bf bfebfbff 00caecdc 00200212 0000073f 01000100 0012fc9c 0012f8c0
     0012fcd0: 0012fd54 005e1910 00671560 ffffffff 0012fd60 00454d8a 00bfad50 00000000
     0012fcf0: 00120000 00000000 00000000 ffff0101 0012fd54 00601971 ffffffff 0047e0e6
EBP   0012fce0: 0012fd60 00454d8a 00bfad50 00000000 00120000 00000000 00000000 ffff0101
     0012fd00: 0012fd54 00601971 ffffffff 0047e0e6 0047e0ee 000b026c 00bfad50 00000111
     0012fd20: 00000000 0012fd0c 7e369488 0012fd88 7e39048f 7e378d90 ffffffff 7e378d8b
     0012fd40: 0048b610 000b026c 00bfad50 00000005 0012fd14 0012fd88 00602460 00000000

Thread call stack:
0051aa21: ?A0x49af08a3::VDIsAVXSupportedByOS()
0051ab30: CPUCheckForExtensions()
00454d8a: VDCPUTest()
0047e0e6: VDProjectUI::MenuHit()
0047e0ee: VDProjectUI::MenuHit()
7e369488: USER32!GetWindowLongA [7e360000+945d+2b]
7e378d8b: USER32!DefWindowProcW [7e360000+18d20+6b]
0048b610: VDUIFrame::DefProc()
0047ec57: _catch$?MainWndProc@VDProjectUI@@IAEJIIJ@Z$0()
7e369488: USER32!GetWindowLongA [7e360000+945d+2b]
00474dd0: VDProjectUI::WndProc()
0048bd15: VDUIFrame::StaticWndProc()
7e368734: USER32!GetDC [7e360000+86c7+6d]
7e368816: USER32!GetDC [7e360000+86c7+14f]
7e3689cd: USER32!GetWindowLongW [7e360000+88a6+127]
7e37a43b: USER32!PeekMessageA [7e360000+1a340+fb]
7e3696c7: USER32!DispatchMessageA [7e360000+96b8+f]
0045f9f6: WinMain@16()
005e42a6: __tmainCRTStartup()
7c817077: kernel32!RegisterWaitForInputIdle [7c800000+1702e+49]

-- End of report

Posted by: phaeron Nov 21 2011, 02:06 AM
Oops, I messed up the AVX detection routine. Try test-16.

Posted by: Dstruct Nov 23 2011, 01:07 PM
VirtualDub 1.10.1-test16

-> load movie
-> enable Full Audio Processing
-> Audio -> Audio from other file

-> select a WAV file and check "Ask for extended options after this dialog"
-> Open


Result: No dialog with questions about extended options opened. Audio menu still has "Source audio" selected (instead of "Audio from other file")!


FIXED (1.10.1-test18)

Posted by: phaeron Nov 25 2011, 08:03 PM
This happens because WAV files don't support any extended options. I'll fix the bug where it doesn't switch the audio mode.

Posted by: Dstruct Nov 28 2011, 02:32 PM
Ok, can't you even give it a different "open" dialog without the "extended" checkbox?

Posted by: ale5000 Nov 28 2011, 03:07 PM
@Dstruct: Most input plugins have extended options.

Posted by: Dstruct Nov 29 2011, 10:43 AM
I know. But the WAV Open dialog doesn't need to look the same or does it?

Posted by: ale5000 Nov 29 2011, 02:02 PM
"the WAV Open dialog" doesn't exist, there is "Audio -> Audio from other file" that can import a lot of formats.

Posted by: ale5000 Dec 1 2011, 02:22 AM
Sample file (14.08 MB): http://www.multiupload.com/ZKZ2LWU4AM

In File => File Information... => Sample precision it say 32-bit but in Audio => Conversion... => Precision it say "No change (16-bit)".

Posted by: Dstruct Dec 1 2011, 03:56 PM
QUOTE (ale5000 @ Nov 29 2011, 04:02 PM)
"the WAV Open dialog" doesn't exist, there is "Audio -> Audio from other file" that can import a lot of formats.

Ah ok, I see. Thanks!

Posted by: ale5000 Dec 4 2011, 08:37 PM
Sample file (it crash VirtualDub on closing.avi - 1.58 MB): http://www.multiupload.com/XJFXQKH8ZD

I have opened an avi file with VirtualDub, then I have closed VirtualDub and it is crashed:

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

Disassembly:
7c920980: ffc3            inc    ebx
7c920982: 8b03            mov    eax, [ebx]
7c920984: e934ffffff      jmp    7c9208bd
7c920989: f605d0e0987c02  test   [7c98e0d0], 02h
7c920990: 0f85edfeffff    jnz    7c920883
7c920996: 3d00020000      cmp    eax, 00000200
7c92099b: 0f82e2feffff    jc     7c920883
7c9209a1: 66837e0200      cmp    word ptr [esi+02h], 00h
7c9209a6: 740a            jz     7c9209b2
7c9209a8: f6460510        test   [esi+05h], 10h
7c9209ac: 0f84d1feffff    jz     7c920883
7c9209b2: 50              push   eax
7c9209b3: 56              push   esi
7c9209b4: 57              push   edi
7c9209b5: e8b70f0000      call   7c921971
7c9209ba: e949ffffff      jmp    7c920908
7c9209bf: 8b4820          mov    ecx, [eax+20h]
7c9209c2: 66f7c1ff018d49  test   ecx, 498d01ff
7c9209c9: 018948200f85    add    [ecx-7af0dfb8], ecx
7c9209cf: 3afe            cmp    bh, dh
7c9209d1: ff              db     0ffh
7c9209d2: ff6a00          jmp    fword ptr [edx+00h]
7c9209d5: 8d45d8          lea    eax, [ebp-28h]
7c9209d8: 50              push   eax
7c9209d9: e8d0ceffff      call   7c91d8ae
7c9209de: e932feffff      jmp    7c920815
7c9209e3: 0fb70e          movzx  ecx, word ptr [esi]
7c9209e6: 03c8            add    ecx, eax
7c9209e8: 81f900fe0000    cmp    ecx, 0000fe00
7c9209ee: 0f8745fdffff    ja     7c920739
7c9209f4: 807d1400        cmp    byte ptr [ebp+14h], 00h
7c9209f8: 0f85b1a60300    jnz    7c95b0af
7c9209fe: 8a4605          mov    al, [esi+05h]
7c920a01: 2410            and    al, 10h
7c920a03: a810            test   al, 10h
7c920a05: 884705          mov    [edi+05h], al
7c920a08: 0f8592000000    jnz    7c920aa0
7c920a0e: 8b4e0c          mov    ecx, [esi+0ch]
7c920a11: 8d4608          lea    eax, [esi+08h]
7c920a14: 8b10            mov    edx, [eax]
7c920a16: 894d0c          mov    [ebp+0ch], ecx
7c920a19: 8b09            mov    ecx, [ecx]      <-- FAULT
7c920a1b: 3b4a04          cmp    ecx, [edx+04h]
7c920a1e: 895514          mov    [ebp+14h], edx
7c920a21: 0f852b0d0000    jnz    7c921752
7c920a27: 3bc8            cmp    ecx, eax
7c920a29: 0f85230d0000    jnz    7c921752
7c920a2f: 56              push   esi
7c920a30: 53              push   ebx
7c920a31: e84efcffff      call   7c920684
7c920a36: 8b4514          mov    eax, [ebp+14h]
7c920a39: 8b4d0c          mov    ecx, [ebp+0ch]
7c920a3c: 3bc1            cmp    eax, ecx
7c920a3e: 8901            mov    [ecx], eax
7c920a40: 894804          mov    [eax+04h], ecx
7c920a43: 7438            jz     7c920a7d
7c920a45: 8a4605          mov    al, [esi+05h]
7c920a48: a804            test   al, 04h
7c920a4a: 0f8535a70300    jnz    7c95b185
7c920a50: 0fb70e          movzx  ecx, word ptr [esi]
7c920a53: 8b4510          mov    eax, [ebp+10h]
7c920a56: 0108            add    [eax], ecx
7c920a58: 0fb70e          movzx  ecx, word ptr [esi]
7c920a5b: 294b28          sub    [ebx+28h], ecx
7c920a5e: f6470510        test   [edi+05h], 10h
7c920a62: 668b08          mov    cx, [eax]
7c920a65: 66890f          mov    [edi], cx
7c920a68: 0f85cbfcffff    jnz    7c920739
7c920a6e: 8b08            mov    ecx, [eax]
7c920a70: 668bc1          mov    ax, cx
7c920a73: 668944cf02      mov    [edi+ecx*8+02h], ax
7c920a78: e9bcfcffff      jmp    7c920739
7c920a7d: 668b06          mov    ax, [esi]

Built on Althena on Sun Nov 20 12:50:09 2011 using compiler version 1400

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]
Memory status: virtual free 1985M/2048M, commit limit 2406M, physical total 2048M

EAX = 00d285d0
EBX = 00c00000
ECX = 00000000
EDX = 00615b94
EBP = 0013fd40
ESI = 00d285c8
EDI = 00cd06f8
ESP = 0013fd34
EIP = 7c920a19
EFLAGS = 00210246
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Access Violation

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

...reading address 00000000.

Pointer dumps:

EAX   00d285d0: 00615b94 00000000 00cb04b8 00cb04b8 00000000 00d285e4 00d285e4 00000000
EBX   00c00000: 000000c8 000001d7 eeffeeff 00001002 00000000 0000fe00 00200000 00002000
EDX   00615b90: 00437a20 005e00dd 0059de50 00410000 00437a40 004921f0 00437a70 00437aa0
ESI   00d285c8: ff010001 ff010001 00615b94 00000000 00cb04b8 00cb04b8 00000000 00d285e4
EDI   00cd06f8: 0006afda 01090008 00c00178 00c00178 00000000 00000000 00000000 00000000
ESP   0013fd30: 00000000 00c00000 00cd06f8 00000000 0013fe14 7c92084c 00c00000 00000000
     0013fd50: 0013fdf8 00000000 00cd05a0 00cd0700 00000001 00000000 00000001 00000000
     0013fd70: 00000000 00d28628 00c00178 7c923293 00d28630 00150608 00360000 00000000
     0013fd90: 00c00178 0013fdd0 00cc5c18 7c80ffa5 00000030 00000030 10000000 00360000
EBP   0013fd40: 0013fe14 7c92084c 00c00000 00000000 0013fdf8 00000000 00cd05a0 00cd0700
     0013fd60: 00000001 00000000 00000001 00000000 00000000 00d28628 00c00178 7c923293
     0013fd80: 00d28630 00150608 00360000 00000000 00c00178 0013fdd0 00cc5c18 7c80ffa5
     0013fda0: 00000030 00000030 10000000 00360000 7c91e920 00057ed0 00cc5c20 00000058

Thread call stack:
7c920a19: ntdll!wcsncpy [7c910000+1057f+49a]
7c92084c: ntdll!wcsncpy [7c910000+1057f+2cd]
7c923293: ntdll!RtlUnlockHeap [7c910000+13273+20]
7c80ffa5: kernel32!GlobalUnlock [7c800000+ff22+83]
7c80ffa5: kernel32!GlobalUnlock [7c800000+ff22+83]
76b03a0b: WINMM!CloseDriver [76b00000+3890+17b]
005df99d: free()
005e43c5: _aligned_free()
004f626f: VideoSource::~VideoSource()
004f63de: VideoSourceAVI::~VideoSourceAVI()
004f7048: VideoSourceAVI::(special)()
004ac70c: VideoSource::Release()
00473287: VDProject::CloseAVI()
00455bb1: Deinit()
0045fac3: WinMain@16()
005e42a6: __tmainCRTStartup()
7c817077: kernel32!RegisterWaitForInputIdle [7c800000+1702e+49]

-- End of report

Posted by: ale5000 Dec 8 2011, 05:13 AM
In File => File information can you show the audio tag also when there is "Unknown extended format" please?

FIXED (1.10.1-test19)

Posted by: phaeron Dec 11 2011, 10:17 PM
Fixed the animated GIF crash in test-18 -- the problem was that the animated GIF had no graphic control extension blocks and thus no specified display values. This is not advisable as the rate at which the animation plays is completely arbitrary. I couldn't even find any description in the spec as to how this is supposed to be treated.

I've added code to display unknown WAVEFORMATEX GUIDs, but I don't have test files for this so it's a blind change -- LMK how it works out.

Posted by: ale5000 Dec 11 2011, 11:56 PM
Sample file (706D - 6 channels.avi - 7.71 MB): http://www.multiupload.com/2WCYZO5PWG

The file contains multichannel aac audio with tag 0x706D.
VirtualDub still only say "Unknown extended format", it doesn't show 0x706D.

FIXED (1.10.1-test19)

Posted by: ale5000 Dec 12 2011, 12:06 AM
I have added a sample file to this post: http://forums.virtualdub.org/index.php?act=ST&f=15&t=19755&st=80#entry88226

Posted by: ale5000 Dec 12 2011, 06:02 PM
QUOTE (Dstruct @ Nov 23 2011, 02:07 PM)
VirtualDub 1.10.1-test16

-> load movie
-> enable Full Audio Processing
-> Audio -> Audio from other file

-> select a WAV file and check "Ask for extended options after this dialog"
-> Open


Result: No dialog with questions about extended options opened. Audio menu still has "Source audio" selected (instead of "Audio from other file")!

The same bug happens also with the DirectShow input plugin (it happens also from the normal open dialog).

Posted by: Gromozeka Dec 14 2011, 05:51 AM
Phaeron, you said a year ago that do capture video from external encoders. smile.gif What do you think about this?

Posted by: ale5000 Dec 17 2011, 08:23 PM
@phaeron: Look here => http://forums.virtualdub.org/index.php?act=ST&f=7&t=19800#entry88442

Posted by: phaeron Dec 19 2011, 10:28 PM
Bah, I all files all the time. It's good for 'em.

The wave format GUID string was too long, so I've shortened it. Lame Win32 behavior of the day: you can't disable word wrapping in a static control with a right justification.

Input plugins need to be updated to indicate whether they have extended options dialogs or not. I just added the support for this in test-19, so no plugins will have been updated yet.

I'm really behind on my TODO list and haven't gotten the external encoder support in capture mode in. I'm basically putting this branch into feature freeze and am going to try to do a release soon -- I need to hunker down and figure out what's left to do to make that happen. I think the Plugin SDK needs some love.

Posted by: ale5000 Dec 19 2011, 11:16 PM
Sample file (706D - Hatsune Miku.avi - 4.73 MB): http://www.multiupload.com/JRETRA9817
The file works perfectly in mplayer.

When exporting raw audio it say "Audio samples 3153-3153 could not be read in the source. The file may be corrupted.".
and then it stop exporting.

Could it just skip the bad audio sample instead of stop?

Posted by: phaeron Dec 20 2011, 10:15 PM
Hatsune Miku? I'm not even going to ask.

Tracked down this issue to a problem with handling VBR streams -- it can malfunction if dwSampleSize > 0, as happens in this case. The fix requires some changes to the AVI handler so I'm going to have to defer this to the next version.

Posted by: ale5000 Dec 21 2011, 01:04 AM
Sample file (207469.avi - 1.88 MB): http://www.multiupload.com/DO8K9T7RQ6
It is a video with only 1 frame, frame rate: 0.004 fps

You need the AAC ACM Codec.

- Open the video in VirtualDub
- Problem 1, it doesn't show the frame but only black
- Start input preview
- Stop input preview
- Problem 2, it need about 5 seconds to stop the audio preview (the problem doesn't happen with the output preview)

Posted by: ale5000 Dec 21 2011, 01:15 AM
QUOTE (phaeron @ Dec 20 2011, 11:15 PM)
Hatsune Miku? I'm not even going to ask.

It is "Hatsune Miku Sings Levan Polka".
Hatsune Miku is a voice from the software "VOCALOID". biggrin.gif

Posted by: ale5000 Dec 21 2011, 01:38 AM
1) Go on File => File information => Video stream
The text is truncated => "Fram size, fp (µs per"
The text is truncated => "Min/avg/max/total delta frame"
The text is truncated => "Data"

FIXED


2) Sample file (808SD01.avi - 312.17 KB): http://www.multiupload.com/DDFSHIJDB0

You need the AAC ACM Codec.

- Open the video in VirtualDub
- Start input preview, it play but you don't hear any audio.


3) In File => File information the name of the decompressor is truncated alhough there is still empty space, look at the image:
user posted image

Posted by: ale5000 Dec 21 2011, 03:20 AM
QUOTE (ale5000 @ Jun 20 2011, 04:55 AM)
VirtualDub say "The video decompressor cannot decompress to the selected input format. Check for a Force YUY2 setting in the codec's properties or select a different input video format under Vido > Color Depth."

Test file (cut.demuxed.m2v): http://www.multiupload.com/SQRQRQKX3V
You should have the MPEG2 input plugin.
1) Select Video => Color Depth
2) Then Decompression format => Other... => YCbCr (Rec.601) Limited 4:2:0 interlaced
3) Then Output format => 24 bit RGB (888)
4) Open the video
5) Now press the play output button

There are any news about this?
Is it a bug in VirtualDub or in the MPEG-2 input plugin?

Posted by: fccHandler Dec 21 2011, 04:22 AM
QUOTE (ale5000 @ Dec 20 2011, 11:20 PM)
Is it a bug in VirtualDub or in the MPEG-2 input plugin?

Not really a bug, but a limitation of the plugin. From the looks of it, he's added a bunch of new colorspaces that none of my plugins supports yet. Guess I need to get crackin'. cool.gif

Posted by: fccHandler Dec 21 2011, 11:51 PM
I noticed a cosmetic bug (maybe intentional) in VirtualDub 1.9.11 and 1.10.1-test19:

Steps to reproduce:
1) Open an AVI file with audio
2) Audio -> Full processing mode
3) Audio -> Compression
4) Click on "<No compression (PCM)>"

In the Format information box it says the Format ID is 0x0000 (PCM). I was expecting it to say 0x0001 (WAVE_FORMAT_PCM).

Posted by: phaeron Dec 22 2011, 12:32 AM
0x0000 PCM: Dumb string typo, fixed.

I fixed the truncated labels in the info dialog. The codec string truncation was to prevent this same problem -- I'll probably need to switch those static controls to edit controls to work around this since the Win32 static control is lame. Deferring until next version.

The long delay with very low frame rates is due to the pipeline getting blocked up trying to write an extremely large amount of audio for 1:1 interleaving. I'll have to see if there is an easy way to split this up or put in an abort flag check. Deferring until next version.

Posted by: Gromozeka Dec 22 2011, 09:11 AM
Phaeron
QUOTE
I'm really behind on my TODO list and haven't gotten the external encoder support in capture mode in. I'm basically putting this branch into feature freeze and am going to try to do a release soon -- I need to hunker down and figure out what's left to do to make that happen. I think the Plugin SDK needs some love.


Thank Phaeron, I'll wait for external encoders to capture

Posted by: ale5000 Dec 22 2011, 04:34 PM
QUOTE (phaeron @ Dec 22 2011, 01:32 AM)
I fixed the truncated labels in the info dialog.

It is still truncated since I don't see the ":" after "Frame size, fps (µs per frame)"

FIXED

Posted by: aguynamedoleg Dec 22 2011, 09:35 PM
I never really got a chance or even bothered to say thank you. I have been using Virtual Dub for almost 5 years. Thank you for all your hard work and a happy holiday!

Posted by: ale5000 Dec 23 2011, 09:21 PM
When the audio tag is 0xFFFE can you show also the GUID in the message "No audio decompressor could be found to decompress the source audio format. (source format tag: fffe)", please?

Because if the user doesn't have the proper ACM codec installed, just saying 0xFFFE is useless, it need also the GUID to search for the proper codec.

Posted by: fccHandler Dec 26 2011, 01:52 AM
Thank you phaeron for the new experimental release, just in time for Christmas. biggrin.gif

Unfortunately I noticed a problem while playing with the color depth "Grayscale (0-255)" today. It tends to hang VirtualDub when I try to use it. Steps to reproduce:

1) Tools -> Create test video, RGB color cube
2) Video -> Color depth -> Decompression format: Grayscale (0-255), Output format: Same as decompressor
3) Seek to any frame on the timeline

Posted by: v0lt Dec 26 2011, 04:40 PM
HSV filter bug
http://i.imgur.com/hC9Vi.png

Posted by: L.H.V.F. Dec 29 2011, 12:00 AM
When I was using the Ffmpeg Input Driver, by raythe0n, and have used other program together, a .ts (Transport Stream) crash the last build of the VirtualDub 1.10.1 released:

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

Disassembly:
00523ac0: 50              push   eax
00523ac1: 0433            add    al, 33h
00523ac3: c087068b4df45e  rol    byte ptr [edi-bb274fa], 5eh
00523aca: 8ac3            mov    al, bl
00523acc: 5b              pop    ebx
00523acd: 64890d00000000  mov    fs:[00000000], ecx
00523ad4: c9              leave  
00523ad5: c3              ret    
00523ad6: cc              int    3
00523ad7: cc              int    3
00523ad8: cc              int    3
00523ad9: cc              int    3
00523ada: cc              int    3
00523adb: cc              int    3
00523adc: cc              int    3
00523add: cc              int    3
00523ade: cc              int    3
00523adf: cc              int    3
00523ae0: 8b44240c        mov    eax, [esp+0ch]
00523ae4: 8b542404        mov    edx, [esp+04h]
00523ae8: 8b4c2408        mov    ecx, [esp+08h]
00523aec: 01c1            add    ecx, eax
00523aee: 01c2            add    edx, eax
00523af0: f7d8            neg    eax
00523af2: 7429            jz     00523b1d
00523af4: 83c008          add    eax, 08h
00523af7: 741e            jz     00523b17
00523af9: eb05            jmp    00523b00
00523afb: 90              nop    
00523afc: 8d742600        lea    esi, [esi+00h]
00523b00: df6c01f8        fild   qword ptr [ecx+eax-08h]
00523b04: df2c01          fild   qword ptr [ecx+eax]
00523b07: d9c9            fxch   st(1)
00523b09: df7c02f8        fistp  qword ptr [edx+eax-08h]
00523b0d: df3c02          fistp  qword ptr [edx+eax]
00523b10: 83c010          add    eax, 10h
00523b13: 73eb            jnc    00523b00
00523b15: 7506            jnz    00523b1d
00523b17: df69f8          fild   qword ptr [ecx-08h]
00523b1a: df7af8          fistp  qword ptr [edx-08h]
00523b1d: c3              ret    
00523b1e: 57              push   edi
00523b1f: 56              push   esi
00523b20: 8b7c240c        mov    edi, [esp+0ch]
00523b24: 8b742410        mov    esi, [esp+10h]
00523b28: 8b4c2414        mov    ecx, [esp+14h]
00523b2c: 89ca            mov    edx, ecx
00523b2e: c1e902          shr    ecx, 02h
00523b31: 83e203          and    edx, 03h
00523b34: f3a5            rep    movsd
00523b36: 89d1            mov    ecx, edx
00523b38: f3a4            rep    movsb
00523b3a: 5e              pop    esi
00523b3b: 5f              pop    edi
00523b3c: c3              ret    
00523b3d: 55              push   ebp
00523b3e: 57              push   edi
00523b3f: 56              push   esi
00523b40: 53              push   ebx
00523b41: 8b5c2414        mov    ebx, [esp+14h]
00523b45: 8b542418        mov    edx, [esp+18h]
00523b49: 8b44241c        mov    eax, [esp+1ch]
00523b4d: f7d8            neg    eax
00523b4f: 83c03f          add    eax, 3fh
00523b52: 7649            jbe    00523b9d
00523b54: 0f6f02          movq   mm0, [edx]      <-- FAULT
00523b57: 0f6f4a08        movq   mm1, [edx+08h]
00523b5b: 0f6f5210        movq   mm2, [edx+10h]
00523b5f: 0f6f5a18        movq   mm3, [edx+18h]
00523b63: 0f6f6220        movq   mm4, [edx+20h]
00523b67: 0f6f6a28        movq   mm5, [edx+28h]
00523b6b: 0f6f7230        movq   mm6, [edx+30h]
00523b6f: 0f6f7a38        movq   mm7, [edx+38h]
00523b73: 0fe703          movntq [ebx], mm0
00523b76: 0fe74b08        movntq [ebx+08h], mm1
00523b7a: 0fe75310        movntq [ebx+10h], mm2
00523b7e: 0fe75b18        movntq [ebx+18h], mm3
00523b82: 0fe76320        movntq [ebx+20h], mm4
00523b86: 0fe76b28        movntq [ebx+28h], mm5
00523b8a: 0fe77330        movntq [ebx+30h], mm6
00523b8e: 0fe77b38        movntq [ebx+38h], mm7
00523b92: 83c340          add    ebx, 40h
00523b95: 83c240          add    edx, 40h
00523b98: 83c040          add    eax, 40h
00523b9b: 73b7            jnc    00523b54
00523b9d: 83e838          sub    eax, 38h
00523ba0: 7911            jns    00523bb3
00523ba2: 0f6f02          movq   mm0, [edx]
00523ba5: 0fe703          movntq [ebx], mm0
00523ba8: 83c208          add    edx, 08h
00523bab: 83c308          add    ebx, 08h
00523bae: 83c008          add    eax, 08h
00523bb1: 73ef            jnc    00523ba2
00523bb3: 83e807          sub    eax, 07h
00523bb6: 740a            jz     00523bc2
00523bb8: 89c1            mov    ecx, eax
00523bba: f7d9            neg    ecx
00523bbc: 89d6            mov    esi, edx
00523bbe: 89df            mov    edi, ebx

Built on Althena on Fri Dec 23 22:05:52 2011 using compiler version 1400

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]
Memory status: virtual free 1891M/2048M, commit limit 5211M, physical total 3328M

EAX = fffffd6f
EBX = 01e5cd00
ECX = 01e5cd00
EDX = 00000000
EBP = 0012f268
ESI = 000002d0
EDI = 01e5cd00
ESP = 0012f23c
EIP = 00523b54
EFLAGS = 00010286
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Access Violation

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

...reading address 00000000.

Pointer dumps:

EBX   01e5cd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ECX   01e5cd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
EDI   01e5cd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ESP   0012f238: 00000000 00000000 000002d0 01e5cd00 0012f268 0051b0a8 01e5cd00 00000000
     0012f258: 000002d0 0012f2d8 00000108 0067c68c 00000168 0055ecaf 01e5cd00 000002d0
     0012f278: 00000000 00000000 000002d0 00000108 0012f300 00cb6298 0012f35c 00cb5d58
     0012f298: 000002d0 01e00000 01e5cd00 01e00000 00000168 00000108 0055e8b3 00000210
EBP   0012f268: 00000168 0055ecaf 01e5cd00 000002d0 00000000 00000000 000002d0 00000108
     0012f288: 0012f300 00cb6298 0012f35c 00cb5d58 000002d0 01e00000 01e5cd00 01e00000
     0012f2a8: 00000168 00000108 0055e8b3 00000210 00000000 021b4338 0043b86d 0012f2d8
     0012f2c8: 021b4338 00000000 00000010 00bfc298 01e00000 00000000 000002d0 00000210

Thread call stack:
00523b54: VDFastMemcpyPartialMMX2()
0051b0a8: VDMemcpyRect()
0055ecaf: VDPixmapUberBlitterDirectCopy::Blit()
0055e8b3: VDPixmapUberBlitter::Blit()
0043b86d: VDFilterFrameVideoSource::RunRequests()
00470028: VDProject::UpdateFrame()
0043ac45: VDFilterFrameRequest::CreateClient()
0043ac8d: VDFilterFrameRequest::CreateClient()
00439a12: VDFilterFrameManualSource::CreateRequest()
004477d0: FilterSystem::RequestFrame()
00471f94: VDProject::DisplayFrame()
0047f56a: VDProjectUI::UISetDubbingMode()
00471789: _catch$?RunOperation@VDProject@@QAEXPAVIVDDubberOutputSystem@@HPAVDubOptions@@H_NJJ2@Z$1()
7e368bd9: USER32!GetWindowThreadProcessId [7e360000+8a80+159]
77e581ea: GDI32!GetObjectType [77e50000+814e+9c]
7e37cbf9: USER32!DrawIconEx [7e360000+1cb84+75]
004720e3: VDProject::Preview()
00472dc1: VDProject::PreviewInput()
7e368bd9: USER32!GetWindowThreadProcessId [7e360000+8a80+159]
7e36885a: USER32!GetDC [7e360000+86c7+193]
7e36882a: USER32!GetDC [7e360000+86c7+163]
7e36882a: USER32!GetDC [7e360000+86c7+163]
7e37a013: USER32!IsWindowUnicode [7e360000+19f72+a1]
0047ec11: VDProjectUI::MainWndProc()
7e369488: USER32!GetWindowLongA [7e360000+945d+2b]
00474d70: VDProjectUI::WndProc()
0048bd95: VDUIFrame::StaticWndProc()
7e368734: USER32!GetDC [7e360000+86c7+6d]
7e368816: USER32!GetDC [7e360000+86c7+14f]
7e37927b: USER32!GetParent [7e360000+1910f+16c]
7e37f40b: USER32!SendMessageA [7e360000+1f3c2+49]
004c579d: VDPositionControlW32::WndProc()
004c5ee2: VDPositionControlW32::StaticWndProc()
7e368734: USER32!GetDC [7e360000+86c7+6d]
7e368816: USER32!GetDC [7e360000+86c7+14f]
7e378ea0: USER32!DefWindowProcW [7e360000+18d20+180]
7e37927b: USER32!GetParent [7e360000+1910f+16c]
7e3792e3: USER32!SendMessageW [7e360000+1929a+49]
7e39ff7d: USER32!CreateMDIWindowA [7e360000+3fdc0+1bd]
7e3965d2: USER32!DeregisterShellHookWindow [7e360000+302c0+6312]
7e375e94: USER32!IsDlgButtonChecked [7e360000+14dfa+109a]
7c802542: kernel32!WaitForSingleObject [7c800000+2530+12]
7471577a: MSCTF!TF_RunInputCPL [746e0000+310df+469b]
74715f00: MSCTF!TF_GetThreadFlags [746e0000+35af1+40f]
7e375231: USER32!IsDlgButtonChecked [7e360000+14dfa+437]
7e368734: USER32!GetDC [7e360000+86c7+6d]
7e368816: USER32!GetDC [7e360000+86c7+14f]
7e37a013: USER32!IsWindowUnicode [7e360000+19f72+a1]
7e37a039: USER32!CallWindowProcW [7e360000+1a01e+1b]
5d515e5e: COMCTL32!InitCommonControlsEx [5d510000+3619+2845]
5d51602f: COMCTL32!DefSubclassProc [5d510000+5f9e+91]
5d515fe4: COMCTL32!DefSubclassProc [5d510000+5f9e+46]
5d5631a2: COMCTL32!ImageList_LoadImage [5d510000+44a91+e711]
5d51602f: COMCTL32!DefSubclassProc [5d510000+5f9e+91]
5d5160be: COMCTL32!DefSubclassProc [5d510000+5f9e+120]
7e368734: USER32!GetDC [7e360000+86c7+6d]
7e368816: USER32!GetDC [7e360000+86c7+14f]
7e3689cd: USER32!GetWindowLongW [7e360000+88a6+127]
7e37a43b: USER32!PeekMessageA [7e360000+1a340+fb]
7e3696c7: USER32!DispatchMessageA [7e360000+96b8+f]
0045f9f6: WinMain@16()
005e43d6: __tmainCRTStartup()
7c817067: kernel32!RegisterWaitForInputIdle [7c800000+1701e+49]

-- End of report


The second time have crashed for the same file:

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

Disassembly:
00523ac0: 50              push   eax
00523ac1: 0433            add    al, 33h
00523ac3: c087068b4df45e  rol    byte ptr [edi-bb274fa], 5eh
00523aca: 8ac3            mov    al, bl
00523acc: 5b              pop    ebx
00523acd: 64890d00000000  mov    fs:[00000000], ecx
00523ad4: c9              leave  
00523ad5: c3              ret    
00523ad6: cc              int    3
00523ad7: cc              int    3
00523ad8: cc              int    3
00523ad9: cc              int    3
00523ada: cc              int    3
00523adb: cc              int    3
00523adc: cc              int    3
00523add: cc              int    3
00523ade: cc              int    3
00523adf: cc              int    3
00523ae0: 8b44240c        mov    eax, [esp+0ch]
00523ae4: 8b542404        mov    edx, [esp+04h]
00523ae8: 8b4c2408        mov    ecx, [esp+08h]
00523aec: 01c1            add    ecx, eax
00523aee: 01c2            add    edx, eax
00523af0: f7d8            neg    eax
00523af2: 7429            jz     00523b1d
00523af4: 83c008          add    eax, 08h
00523af7: 741e            jz     00523b17
00523af9: eb05            jmp    00523b00
00523afb: 90              nop    
00523afc: 8d742600        lea    esi, [esi+00h]
00523b00: df6c01f8        fild   qword ptr [ecx+eax-08h]
00523b04: df2c01          fild   qword ptr [ecx+eax]
00523b07: d9c9            fxch   st(1)
00523b09: df7c02f8        fistp  qword ptr [edx+eax-08h]
00523b0d: df3c02          fistp  qword ptr [edx+eax]
00523b10: 83c010          add    eax, 10h
00523b13: 73eb            jnc    00523b00
00523b15: 7506            jnz    00523b1d
00523b17: df69f8          fild   qword ptr [ecx-08h]
00523b1a: df7af8          fistp  qword ptr [edx-08h]
00523b1d: c3              ret    
00523b1e: 57              push   edi
00523b1f: 56              push   esi
00523b20: 8b7c240c        mov    edi, [esp+0ch]
00523b24: 8b742410        mov    esi, [esp+10h]
00523b28: 8b4c2414        mov    ecx, [esp+14h]
00523b2c: 89ca            mov    edx, ecx
00523b2e: c1e902          shr    ecx, 02h
00523b31: 83e203          and    edx, 03h
00523b34: f3a5            rep    movsd
00523b36: 89d1            mov    ecx, edx
00523b38: f3a4            rep    movsb
00523b3a: 5e              pop    esi
00523b3b: 5f              pop    edi
00523b3c: c3              ret    
00523b3d: 55              push   ebp
00523b3e: 57              push   edi
00523b3f: 56              push   esi
00523b40: 53              push   ebx
00523b41: 8b5c2414        mov    ebx, [esp+14h]
00523b45: 8b542418        mov    edx, [esp+18h]
00523b49: 8b44241c        mov    eax, [esp+1ch]
00523b4d: f7d8            neg    eax
00523b4f: 83c03f          add    eax, 3fh
00523b52: 7649            jbe    00523b9d
00523b54: 0f6f02          movq   mm0, [edx]      <-- FAULT
00523b57: 0f6f4a08        movq   mm1, [edx+08h]
00523b5b: 0f6f5210        movq   mm2, [edx+10h]
00523b5f: 0f6f5a18        movq   mm3, [edx+18h]
00523b63: 0f6f6220        movq   mm4, [edx+20h]
00523b67: 0f6f6a28        movq   mm5, [edx+28h]
00523b6b: 0f6f7230        movq   mm6, [edx+30h]
00523b6f: 0f6f7a38        movq   mm7, [edx+38h]
00523b73: 0fe703          movntq [ebx], mm0
00523b76: 0fe74b08        movntq [ebx+08h], mm1
00523b7a: 0fe75310        movntq [ebx+10h], mm2
00523b7e: 0fe75b18        movntq [ebx+18h], mm3
00523b82: 0fe76320        movntq [ebx+20h], mm4
00523b86: 0fe76b28        movntq [ebx+28h], mm5
00523b8a: 0fe77330        movntq [ebx+30h], mm6
00523b8e: 0fe77b38        movntq [ebx+38h], mm7
00523b92: 83c340          add    ebx, 40h
00523b95: 83c240          add    edx, 40h
00523b98: 83c040          add    eax, 40h
00523b9b: 73b7            jnc    00523b54
00523b9d: 83e838          sub    eax, 38h
00523ba0: 7911            jns    00523bb3
00523ba2: 0f6f02          movq   mm0, [edx]
00523ba5: 0fe703          movntq [ebx], mm0
00523ba8: 83c208          add    edx, 08h
00523bab: 83c308          add    ebx, 08h
00523bae: 83c008          add    eax, 08h
00523bb1: 73ef            jnc    00523ba2
00523bb3: 83e807          sub    eax, 07h
00523bb6: 740a            jz     00523bc2
00523bb8: 89c1            mov    ecx, eax
00523bba: f7d9            neg    ecx
00523bbc: 89d6            mov    esi, edx
00523bbe: 89df            mov    edi, ebx

Built on Althena on Fri Dec 23 22:05:52 2011 using compiler version 1400

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]
Memory status: virtual free 1904M/2048M, commit limit 5211M, physical total 3328M

EAX = fffffed7
EBX = 01a8cd00
ECX = 01a8cd00
EDX = 00000000
EBP = 0012f6fc
ESI = 00000168
EDI = 01a8cd00
ESP = 0012f6d0
EIP = 00523b54
EFLAGS = 00010296
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Access Violation

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

...reading address 00000000.

Pointer dumps:

EBX   01a8cd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ECX   01a8cd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
EDI   01a8cd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ESP   0012f6d0: 00000000 00000168 01a8cd00 0012f6fc 0051b0a8 01a8cd00 00000000 00000168
     0012f6f0: 0012f76c 00000108 0067cb38 00000168 0055ecaf 01a8cd00 00000170 00000000
     0012f710: 00000000 00000168 00000108 0012f794 00cc2b28 0012f7f0 00cbf9c0 000002d0
     0012f730: 01a30000 01a8cd00 01aa4880 00000168 00000108 0055e8b3 00000210 00000000
EBP   0012f6f8: 0067cb38 00000168 0055ecaf 01a8cd00 00000170 00000000 00000000 00000168
     0012f718: 00000108 0012f794 00cc2b28 0012f7f0 00cbf9c0 000002d0 01a30000 01a8cd00
     0012f738: 01aa4880 00000168 00000108 0055e8b3 00000210 00000000 02824338 0043b86d
     0012f758: 0012f76c 02824338 00000000 00000000 00cb5410 01a30000 00000000 000002d0

Thread call stack:
00523b54: VDFastMemcpyPartialMMX2()
0051b0a8: VDMemcpyRect()
0055ecaf: VDPixmapUberBlitterDirectCopy::Blit()
0055e8b3: VDPixmapUberBlitter::Blit()
0043b86d: VDFilterFrameVideoSource::RunRequests()
00470028: VDProject::UpdateFrame()
0043a752: VDFilterFrameQueue::Add()
0043ac45: VDFilterFrameRequest::CreateClient()
004477d0: FilterSystem::RequestFrame()
00471f94: VDProject::DisplayFrame()
0047f56a: VDProjectUI::UISetDubbingMode()
00471789: _catch$?RunOperation@VDProject@@QAEXPAVIVDDubberOutputSystem@@HPAVDubOptions@@H_NJJ2@Z$1()
5b1c4be6: uxtheme!CloseThemeData [5b1c0000+4773+473]
004720e3: VDProject::Preview()
5b1c3a49: uxtheme!DrawThemeText [5b1c0000+2ff8+a51]
00472dc1: VDProject::PreviewInput()
7e37c32c: USER32!GetActiveWindow [7e360000+1c2e8+44]
7c90e453: ntdll!KiUserCallbackDispatcher [7c900000+e440+13]
7e37c24e: USER32!DefWindowProcA [7e360000+1c17e+d0]
7e37c291: USER32!DefWindowProcA [7e360000+1c17e+113]
7e37c2d0: USER32!SetWindowLongW [7e360000+1c2bb+15]
7ca2b1ce: SHELL32!DragAcceptFiles [7c9c0000+6b1a9+25]
0047d6ed: VDProjectUI::MenuHit()
0047d745: VDProjectUI::MenuHit()
7e369488: USER32!GetWindowLongA [7e360000+945d+2b]
7e378d8b: USER32!DefWindowProcW [7e360000+18d20+6b]
0048b690: VDUIFrame::DefProc()
0047ed37: _catch$?MainWndProc@VDProjectUI@@IAEJIIJ@Z$0()
7e369488: USER32!GetWindowLongA [7e360000+945d+2b]
00474d70: VDProjectUI::WndProc()
0048bd95: VDUIFrame::StaticWndProc()
7e368734: USER32!GetDC [7e360000+86c7+6d]
7e368816: USER32!GetDC [7e360000+86c7+14f]
7e378ea0: USER32!DefWindowProcW [7e360000+18d20+180]
7e378eec: USER32!DefWindowProcW [7e360000+18d20+1cc]
7c90e453: ntdll!KiUserCallbackDispatcher [7c900000+e440+13]
7e37fb07: USER32!TranslateAccelerator [7e360000+1fac4+43]
7e37fb24: USER32!TranslateAccelerator [7e360000+1fac4+60]
0048b81d: VDUIFrame::TranslateAcceleratorMessage()
0045f9d9: WinMain@16()
005e43d6: __tmainCRTStartup()
7c817067: kernel32!RegisterWaitForInputIdle [7c800000+1701e+49]

-- End of report


Could you analyse this errors, phaeron? I don't know if I have done something wrong in settings. After two crash errors, then I tryed to use Freemake Video Converter for my conversions tests.

According with MediaInfo, the video has 29.970 fps (for this I can play this in my CRT television), and the Ffmpeg Input Driver, by raythe0n, recognizes that the video has "59,940 fps", as the double.

Is necessary to upload a sample for the same?

Thanks,
L.H.V.F. .

Posted by: jep Dec 29 2011, 07:37 PM
Sorry if wrong place.
Drag/drop mkv and edit. Then use a/v stream copy to save results without recoding.
Results in avc/aac avi that works sometimes and once remuxed to mkv (mkvtoolnix) always works.
Would like to use external encoder option to directly mux to mkv but refuses to allow video stream copy.
If possible to implement, please consider doing so.
Thank you for an app that has given great results over years of service.

Posted by: evropej Dec 30 2011, 03:21 AM
anyone noticing slower start up time with this version?

Posted by: fccHandler Dec 30 2011, 07:12 AM
QUOTE (evropej @ Dec 29 2011, 11:21 PM)
anyone noticing slower start up time with this version?

Nope, for me it starts up instantly. But check your plugins folders; maybe something in there is causing a delay.

Posted by: levicki Jan 7 2012, 02:45 AM
"ASF files are not supported" message is still shown in version 1.10.1 when you try to open WMV from the command line even though DirectShowSource driver is installed and .wmv is added to its extension list.

Posted by: Jam One Feb 24 2012, 08:19 PM
Regression in released version 1.10.1

Open TARGA image sequence --> images are flipped upside-down.

Versions 1.10.1-Test1 thru 1.10.1-Test7 are fine.
Version 1.10.1-Test8 and following versions are broken.

Posted by: phaeron Feb 25 2012, 10:21 PM
TARGA read inversion will be fixed in 1.10.2.

Oh, and I deleted a lot of pointless drama.

Posted by: Jam One Feb 26 2012, 10:02 AM
Thank you very much for both!

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)