|
|
| element |
| Posted: Mar 26 2011, 03:21 AM |
 |
|
Newbie

Group: Members
Posts: 8
Member No.: 30371
Joined: 23-March 11

|
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). |
 |
| phaeron |
| Posted: Mar 27 2011, 12:47 AM |
 |
|

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

|
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. |
 |
| ale5000 |
| Posted: Mar 27 2011, 03:20 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
@phaeron: MediaInfo and VLC detect correctly "Dual mono" so you can look at the source code (but it isn't really important anyway).
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| ale5000 |
| Posted: Mar 29 2011, 02:26 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
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 |
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| pureocean |
| Posted: Mar 29 2011, 05:57 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 53
Member No.: 27197
Joined: 13-March 10

|
Minor bug(Test-4 and Test-6):
Audio menu -> Audio from other file... -> *.WAV files? |
 |
| ale5000 |
| Posted: Mar 29 2011, 09:25 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
| QUOTE (pureocean @ Mar 29 2011, 06:57 AM) | Minor bug(Test-4 and Test-6):
Audio menu -> Audio from other file... -> *.WAV files? | Where is the bug?
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| Gromozeka |
| Posted: Mar 30 2011, 08:49 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 52
Member No.: 26717
Joined: 1-January 10

|
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 |
 |
| Jam One |
| Posted: Mar 30 2011, 10:33 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 580
Member No.: 25518
Joined: 8-May 09

|
| 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. |
 |
| ale5000 |
| Posted: Mar 30 2011, 11:27 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
The "engrish" language has taken more adepts
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| Gromozeka |
| Posted: Mar 30 2011, 11:49 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 52
Member No.: 26717
Joined: 1-January 10

|
sorry me my english. i shal put screenshot
|
 |
| pureocean |
| Posted: Apr 1 2011, 06:18 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 53
Member No.: 27197
Joined: 13-March 10

|
| 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? |
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. |
 |
| ale5000 |
| Posted: Apr 1 2011, 11:16 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
| 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.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| dloneranger |
| Posted: Apr 1 2011, 03:12 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
On a small performance note, a lot of the internal filters could be updated to use the newer FILTERPARAM options eg FILTERPARAM_PURE_TRANSFORM
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| phaeron |
| Posted: Apr 3 2011, 03:31 AM |
 |
|

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

|
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? |
 |
| ale5000 |
| Posted: Apr 3 2011, 11:33 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
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.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |