Welcome Guest ( Log In | Register )


Important

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

Pages: (5) 1 [2] 3 4 ... Last » ( Go to first unread post )
Virtualdub 1.10.5 Test Thread
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
StNt
Posted: Dec 8 2013, 08:58 AM


Newbie


Group: Members
Posts: 3
Member No.: 37278
Joined: 11-October 13



Again problems with Save segmented AVI ...
When Limit number of video frames per segment = XXXX frames & File segment size limit in MB = 0 - video is encoded selected codec, but the file is not divided into segments.
When you open the resulting file, there Reconstructing missing index block
When Limit number of video frames per segment = XXXX frames & File segment size limit in MB != 0 - file is divided into segments, but the video is encoded without compression.
File opens normally
 
     Top
Altaf
Posted: Dec 8 2013, 10:15 AM


Advanced Member


Group: Members
Posts: 75
Member No.: 36396
Joined: 9-April 13



QUOTE
phaeron
1) Couldn't make that:
- in "Video frame rate control" - "Source rate adjustment" was shown in 5 ти categories after whole (23.97601; 25.00004 etc.);
- the made change remained in five categories (23.97600; 25.00000 etc.).
It will help to connect pieces of video easily.
-----------------------
2) Whether it is impossible to add function and buttons - video additions in the list of files in the course of batch operation (without interrupting process, to add in turn).
Thanks.
================
phaeron
1) Не могли бы сделать чтобы:
- в "Управление частотой видео кадров" -  "Исходная частота кадров" показывался в 5 ти разрядах после целого (23.97601; 25.00004 и т.д.);
- внесенное изменение сохранялось в пяти разрядах (23.97600; 25.00000 и т.д.).
Это поможет легко соединять куски видео.
-----------------------
2) Нельзя ли добавить функцию и кнопки - добавления видео в список файлов в процессе пакетной обработки (не прерывая процесс, добавлять в очередь).
Спасибо.

Thanks.
I thought at a leisure and unexpectedly easily solved this problem.
 
     Top
loin2kolpotoru
Posted: Dec 18 2013, 10:24 AM


Member


Group: Members
Posts: 21
Member No.: 29812
Joined: 1-February 11



Virtualdub crashes when any video is tried to encode using XviD 1.3.2
 
     Top
dloneranger
Posted: Dec 18 2013, 12:59 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



QUOTE (loin2kolpotoru @ Dec 18 2013, 11:24 AM)
Virtualdub crashes when any video is tried to encode using XviD 1.3.2

Can't confirm, works fine here
If virtualdub shows a crash dialog, can you save the log and post it here

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
loin2kolpotoru
Posted: Dec 18 2013, 01:56 PM


Member


Group: Members
Posts: 21
Member No.: 29812
Joined: 1-February 11



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

Disassembly:
00e814a0: 83c01d add eax, 1dh
00e814a3: 8d04c0 lea eax, [eax+eax*8]
00e814a6: 893c86 mov [esi+eax*4], edi
00e814a9: 8b86fc030000 mov eax, [esi+3fc]
00e814af: 8d0cc0 lea ecx, [eax+eax*8]
00e814b2: 89bc8e18040000 mov [esi+ecx*4+418], edi
00e814b9: 8b86fc030000 mov eax, [esi+3fc]
00e814bf: 8d14c0 lea edx, [eax+eax*8]
00e814c2: 89bc961c040000 mov [esi+edx*4+41c], edi
00e814c9: ff86fc030000 inc dword ptr [esi+3fc]
00e814cf: 8b86fc030000 mov eax, [esi+3fc]
00e814d5: 8d4c2404 lea ecx, [esp+04h]
00e814d9: 51 push ecx
00e814da: 50 push eax
00e814db: 8d9600040000 lea edx, [esi+400]
00e814e1: 52 push edx
00e814e2: e859670000 call 00e87c40
00e814e7: 83c40c add esp, 0ch
00e814ea: 33c0 xor eax, eax
00e814ec: 39befc030000 cmp [esi+3fc], edi
00e814f2: 89442404 mov [esp+04h], eax
00e814f6: 7e52 jle 00e8154a
00e814f8: eb06 jmp 00e81500
00e814fa: 8d9b00000000 lea ebx, [ebx+00]
00e81500: 8d0cc0 lea ecx, [eax+eax*8]
00e81503: 39bc8e08040000 cmp [esi+ecx*4+408], edi
00e8150a: 8d8c8e08040000 lea ecx, [esi+ecx*4+408]
00e81511: 752a jnz 00e8153d
00e81513: c70101000000 mov dword ptr [ecx], 00000001
00e81519: 8b442404 mov eax, [esp+04h]
00e8151d: 8d14c0 lea edx, [eax+eax*8]
00e81520: 8b8614010000 mov eax, [esi+114]
00e81526: 6bc064 imul eax, eax, 64h
00e81529: 8d0c96 lea ecx, [esi+edx*4]
00e8152c: 99 cdq
00e8152d: f7b90c040000 idiv eax, dword ptr [ecx+40c] <-- FAULT
00e81533: 898110040000 mov [ecx+410], eax
00e81539: 8b442404 mov eax, [esp+04h]
00e8153d: 40 inc eax
00e8153e: 3b86fc030000 cmp eax, [esi+3fc]
00e81544: 89442404 mov [esp+04h], eax
00e81548: 7cb6 jl 00e81500
00e8154a: 5f pop edi
00e8154b: 59 pop ecx
00e8154c: c3 ret
00e8154d: cc int 3
00e8154e: cc int 3
00e8154f: cc int 3
00e81550: 51 push ecx
00e81551: 8b86fc030000 mov eax, [esi+3fc]
00e81557: 57 push edi
00e81558: 33ff xor edi, edi
00e8155a: 897c2404 mov [esp+04h], edi
00e8155e: 3bc7 cmp eax, edi
00e81560: 740c jz 00e8156e
00e81562: 39be00040000 cmp [esi+400], edi
00e81568: 0f84ba000000 jz 00e81628
00e8156e: 3dff000000 cmp eax, 000000ff
00e81573: 7c07 jl 00e8157c
00e81575: 48 dec eax
00e81576: 8986fc030000 mov [esi+3fc], eax
00e8157c: 8b86fc030000 mov eax, [esi+3fc]
00e81582: 8d04c0 lea eax, [eax+eax*8]
00e81585: 89bc8600040000 mov [esi+eax*4+400], edi
00e8158c: 8b86fc030000 mov eax, [esi+3fc]
00e81592: 8d0cc0 lea ecx, [eax+eax*8]
00e81595: c7848e08040000 mov dword ptr [esi+ecx*4+408], 00000001
01000000

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

Windows 5.1 (Windows XP x86 build 2600) [Service Pack 3]

EAX = 00009c40
EBX = 00010302
ECX = 0012a214
EDX = 00000000
EBP = 00e99644
ESI = 0012a214
EDI = 00000000
ESP = 0012a0ec
EIP = 00e8152d
EFLAGS = 00210202
FPUCW = ffff027f
FPUTW = ffffffff

Crash reason: Integer Divide-by-Zero

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

...while passing start message to video compressor (w32videocodecpack.cpp:397).

Pointer dumps:

EBX 00010302: 00680074 0044003d 005c003a 00490057 0044004e 0057004f 005c0053 00790073
ECX 0012a210: 00253aa0 00000000 00000280 0008b290 6469765c 702e6f65 00737361 0070002e
ESI 0012a210: 00253aa0 00000000 00000280 0008b290 6469765c 702e6f65 00737361 0070002e
ESP 0012a0e8: 00000000 00ee6918 00000000 00e8198f 00c0e330 00c0e300 00ee6918 0012f3ec
0012a108: 00c0e300 00e99644 0018f650 00150168 00010302 00000000 00000000 00010302
0012a128: 00000000 00000000 00000000 00000000 00000000 00000001 0012a1a8 00000004
0012a148: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
EBP 00e99640: 00000000 00e989ec 00000006 00000001 00000000 00000000 00000001 00000001
00e99660: 00000000 0000012c 00000000 00000001 0000001f 00000001 0000001f 00000001
00e99680: 0000001f 00000001 00000002 00e9855c 00e9ef18 00e98d38 00e98554 00e9f020
00e996a0: 00e989ec 00e9854c 00e9ee0c 00e9853c 00e989e4 41700000 00e989d4 41bfced9

Thread call stack:
00e8152d: xvidvfw!0000152d
00e8198f: xvidvfw!0000198f
76401ca2: NETSHELL!DllCanUnloadNow [76400000+1b94+10e]
7c910202: ntdll!RtlAllocateHeap [7c900000+100a4+15e]
7c91017b: ntdll!RtlAllocateHeap [7c900000+100a4+d7]
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
00e88c95: xvidvfw!DriverProc [00e80000+8b00+195]
00e82af7: xvidvfw!00002af7
00e88c28: xvidvfw!DriverProc [00e80000+8b00+128]
00e88eaf: xvidvfw!DriverProc [00e80000+8b00+3af]
00e88eaf: xvidvfw!DriverProc [00e80000+8b00+3af]
00e88eaf: xvidvfw!DriverProc [00e80000+8b00+3af]
0a8b6a97: lameACM!DriverProc [0a870000+117a4+352f3]
0a8cd0b3: lameACM!DriverProc [0a870000+117a4+4b90f]
7c910202: ntdll!RtlAllocateHeap [7c900000+100a4+15e]
7c911066: ntdll!wcsncpy [7c900000+1055f+b07]
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
0a8b6a97: lameACM!DriverProc [0a870000+117a4+352f3]
0a8d4ed0: lameACM!DriverProc [0a870000+117a4+5372c]
0a8ccb30: lameACM!DriverProc [0a870000+117a4+4b38c]
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
005d1cf6: malloc()
0052cd30: VDStringW::reserve_slow()
0040395b: VDStringW::assign()
00411dea: VDStringW::VDStringW()
0052fa02: VDaswprintf()
7c910202: ntdll!RtlAllocateHeap [7c900000+100a4+15e]
7c911008: ntdll!wcsncpy [7c900000+1055f+aa9]
7c911066: ntdll!wcsncpy [7c900000+1055f+b07]
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
7c911008: ntdll!wcsncpy [7c900000+1055f+aa9]
7c911066: ntdll!wcsncpy [7c900000+1055f+b07]
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
7c910ee4: ntdll!wcsncpy [7c900000+1055f+985]
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
7c910098: ntdll!RtlFreeHeap [7c900000+ff0d+18b]
7c910021: ntdll!RtlFreeHeap [7c900000+ff0d+114]
7c91003d: ntdll!RtlFreeHeap [7c900000+ff0d+130]
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
7c912cae: ntdll!LdrLockLoaderLock [7c900000+12c43+6b]
7c912ce4: ntdll!LdrLockLoaderLock [7c900000+12c43+a1]
7c912d51: ntdll!LdrUnlockLoaderLock [7c900000+12cf9+58]
7c912d58: ntdll!LdrUnlockLoaderLock [7c900000+12cf9+5f]
7c913273: ntdll!RtlUnlockHeap [7c900000+13253+20]
7c912d58: ntdll!LdrUnlockLoaderLock [7c900000+12cf9+5f]
7c80b54e: kernel32!GetModuleFileNameW [7c800000+b465+e9]
7c80b4fe: kernel32!GetModuleFileNameW [7c800000+b465+99]
75a71938: MSVFW32!ICSendMessage [75a70000+190d+2b]
75a71938: MSVFW32!ICSendMessage [75a70000+190d+2b]
0059c8cb: VDVideoCompressorVCM::Start()
7c91003d: ntdll!RtlFreeHeap [7c900000+ff0d+130]
7c8099fd: kernel32!LocalFree [7c800000+99bf+3e]
7c91003d: ntdll!RtlFreeHeap [7c900000+ff0d+130]
7c80fd8f: kernel32!GlobalFree [7c800000+fcbf+d0]
7c80fd5f: kernel32!GlobalFree [7c800000+fcbf+a0]
00535379: strncpyz()
0059af7f: VDAudioCodecW32::Init()
7c910202: ntdll!RtlAllocateHeap [7c900000+100a4+15e]
7c910202: ntdll!RtlAllocateHeap [7c900000+100a4+15e]
7c91017b: ntdll!RtlAllocateHeap [7c900000+100a4+d7]
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
7c910202: ntdll!RtlAllocateHeap [7c900000+100a4+15e]
7c911066: ntdll!wcsncpy [7c900000+1055f+b07]
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
7c910202: ntdll!RtlAllocateHeap [7c900000+100a4+15e]
7c911066: ntdll!wcsncpy [7c900000+1055f+b07]
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
0059de20: VDVideoDisplayWindow::IsOnSecondaryMonitor()
0059e668: VDVideoDisplayWindow::SyncSetSource()
0059f3ab: VDVideoDisplayWindow::StaticWndProc()
7e41885a: USER32!GetDC [7e410000+86c7+193]
005d1cf6: malloc()
75a71938: MSVFW32!ICSendMessage [75a70000+190d+2b]
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
005d1cf6: malloc()
005d3dd7: realloc()
005d3fae: realloc()
0041ac5a: Dubber::InitOutputFile()
7e42f40b: USER32!SendMessageA [7e410000+1f3c2+49]
0041c6b5: Dubber::Init()
0041c6bc: Dubber::Init()
7e419488: USER32!GetWindowLongA [7e410000+945d+2b]
7e419491: USER32!GetWindowLongA [7e410000+945d+34]
7e46ceba: USER32!SetInternalWindowPos [7e410000+5ce9a+20]
0046befe: VDProject::RunOperation()
7c9101bb: ntdll!RtlAllocateHeap [7c900000+100a4+117]
00413947: SaveAVI()
00469e1c: VDProject::SaveAVI()
0045a7f1: SaveAVI()
0046f590: VDProjectUI::SaveAVIAsk()
00477d76: VDProjectUI::MenuHit()
004792d7: _catch$?MainWndProc@VDProjectUI@@IAEJIIJ@Z$0()
7e419488: USER32!GetWindowLongA [7e410000+945d+2b]
0046f810: VDProjectUI::WndProc()
00486215: VDUIFrame::StaticWndProc()
7e418734: USER32!GetDC [7e410000+86c7+6d]
7e418816: USER32!GetDC [7e410000+86c7+14f]
7e4189cd: USER32!GetWindowLongW [7e410000+88a6+127]
7e42a43b: USER32!PeekMessageA [7e410000+1a340+fb]
7e4196c7: USER32!DispatchMessageA [7e410000+96b8+f]

-- End of report
 
     Top
dloneranger
Posted: Dec 18 2013, 02:02 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



That's xvid itself crashing
Try opening it's configuration dialog in virtualdub and clicking it's 'load defaults' button to reset all of it's settings

If you've updated it (or are using a saved job that's got an earlier versions config in it) you can get all sorts of weird problems

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
loin2kolpotoru
Posted: Dec 18 2013, 02:13 PM


Member


Group: Members
Posts: 21
Member No.: 29812
Joined: 1-February 11



Thank you for your help.
 
     Top
meowmeow
Posted: Dec 19 2013, 09:46 PM


Advanced Member


Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13



http://i.imgur.com/NssmCvA.png

why is "vertical flip" filter here?

or if blur don't flip, then warp resize will (file mode)
CODE
VirtualDub.audio.SetSource(1);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetEditMode(1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.EnableFilterGraph(0);
VirtualDub.video.SetInputFormat(0);
VirtualDub.video.SetOutputFormat(15);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetSmartRendering(0);
VirtualDub.video.SetPreserveEmptyFrames(0);
VirtualDub.video.SetFrameRate2(0,0,1);
VirtualDub.video.SetIVTC(0, 0, 0, 0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.BeginUpdate();
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("convert format");
VirtualDub.video.filters.instance[0].Config(8);
VirtualDub.video.filters.instance[0].SetOutputName("a");
VirtualDub.video.filters.Add("invert");
VirtualDub.video.filters.Add("flip vertically");
VirtualDub.video.filters.Add("warp sharp");
VirtualDub.video.filters.instance[3].Config(200, 2);
VirtualDub.video.filters.Add("blend layers");
VirtualDub.video.filters.instance[4].Config(15,1);
VirtualDub.video.filters.instance[4].AddInput("a");
VirtualDub.video.filters.instance[4].AddInput("$prev");
VirtualDub.video.filters.EndUpdate();
VirtualDub.audio.filters.Clear();

not as serious bug as filter is good btw, thanks smile.gif
 
     Top
phaeron
Posted: Dec 29 2013, 12:41 AM


Virtualdub Developer


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



Wow... surprised that this ever worked. There was a bug in the filter system that caused multi-source filters to sometimes get the wrong frame layouts applied, which was causing the effects of the "flip vertically" filter to be canceled out on the second input. Try 1.10.5 test-2 and see if it fixes the problem.

I adjusted the labels in the compression dialog.

jpsdr: Is your filter validating the incoming frame count for preview runs? VirtualDub can intermittently start the filter system to refresh the UI or recompute stream parameters during setup, so you may need to add code to check the preview flags.
 
    Top
jpsdr
Posted: Dec 29 2013, 09:06 AM


Advanced Member


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



QUOTE (phaeron @ Dec 29 2013, 12:41 AM)
jpsdr: Is your filter validating the incoming frame count for preview runs?


Small parts of code :

CODE

class JPSDR_RemoveFramesDialog : public VDXVideoFilterDialog
{
public:
JPSDR_RemoveFramesDialog(JPSDR_RemoveFramesData& Data, IVDXFilterPreview2 *ifp) : mData(Data), mifp(ifp)
{}

bool Show(HWND parent)
{
 return 0!=VDXVideoFilterDialog::Show(NULL,MAKEINTRESOURCE(IDD_REMOVEFRAMES),parent);
}

virtual INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam);

protected:
bool OnInit();
bool OnCommand(int cmd);
void OnDestroy();

bool SaveToData();

JPSDR_RemoveFramesData& mData;
JPSDR_RemoveFramesData moldData;
IVDXFilterPreview2 *const mifp;
};

INT_PTR JPSDR_RemoveFramesDialog::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
{
switch(msg)
{
 case WM_INITDIALOG : return !OnInit();
 case WM_DESTROY :
  OnDestroy();
  break;
 case WM_COMMAND :
  if (OnCommand(LOWORD(wParam))) return TRUE;
  break;
}
return FALSE;
}

bool JPSDR_RemoveFramesDialog::OnInit()
{
moldData=mData;

SetDlgItemInt(mhdlg,IDC_OFFSET,mData.offset_frame,FALSE);
SetDlgItemInt(mhdlg,IDC_FRAMES,mData.frames_removed,FALSE);
SetDlgItemInt(mhdlg,IDC_PERIOD,mData.frame_period,FALSE);

return false;
}


void JPSDR_RemoveFramesDialog::OnDestroy()
{
if (mifp) mifp->InitButton(NULL);
}

class JPSDR_RemoveFrames : public VDXVideoFilter
{
public:
virtual uint32 GetParams();
virtual void Start();
virtual void Run();
virtual bool Configure(VDXHWND hwnd);
virtual void GetSettingString(char *buf, int maxlen);
virtual void GetScriptString(char *buf, int maxlen);
virtual bool Prefetch2(sint64 frame, IVDXVideoPrefetcher *prefetcher);

VDXVF_DECLARE_SCRIPT_METHODS();

protected:
void ScriptConfig(IVDXScriptInterpreter *isi, const VDXScriptValue *argv, int argc);
 
JPSDR_RemoveFramesData mData;
};

uint32 JPSDR_RemoveFrames::GetParams()
{
int64_t frame_count_h,frame_count_l;

if (g_VFVAPIVersion<12) return(FILTERPARAM_NOT_SUPPORTED);

const VDXPixmapLayout& pxsrc = *fa->src.mpPixmapLayout;
VDXPixmapLayout& pxdst = *fa->dst.mpPixmapLayout;

VDFraction fr(fa->dst.mFrameRateHi, fa->dst.mFrameRateLo);

switch(pxsrc.format)
{
<...snip...>
  break;
 default : return FILTERPARAM_NOT_SUPPORTED;
}

if ((mData.frame_period>0) && ((mData.frame_period-mData.frames_removed)>0))
{
 fr *= VDFraction(mData.frame_period-mData.frames_removed,mData.frame_period);
 fa->dst.mFrameRateHi = fr.getHi();
 fa->dst.mFrameRateLo = fr.getLo();
 frame_count_h=(fa->dst.mFrameCount/mData.frame_period)*(mData.frame_period-mData.frames_removed);
 frame_count_l=fa->dst.mFrameCount%mData.frame_period;
 if ((frame_count_l-1)>=mData.offset_frame)
 {
  if (((frame_count_l-1)-mData.offset_frame)<mData.frames_removed) frame_count_l=mData.offset_frame;
  else frame_count_l-=mData.frames_removed;
 }
 fa->dst.mFrameCount=frame_count_h+frame_count_l;
}

fa->dst.depth = 0;
pxdst.pitch=pxsrc.pitch;
pxdst.pitch2=pxsrc.pitch2;
pxdst.pitch3=pxsrc.pitch3;

fa->dst.offset = fa->src.offset;

return(FILTERPARAM_SUPPORTS_ALTFORMATS);
}

// Case of IVTC (Exemple)
// Offset=0 => [0-3]=>[1-4]
// Offset=1 => [0]=>[0], [1-3]=>[2-4]
// Offset=2 => [0-1]=>[0-1], [2-3]=>[3-4]
// Offset=3 => [0-2]=>[0-2], [3]=>[4]
// Offset=4 => [0-3]=>[0-3]
bool JPSDR_RemoveFrames::Prefetch2(sint64 frame, IVDXVideoPrefetcher *prefetcher)
{
int64_t frame_low,frame_high,i;

frame_high=(frame/(mData.frame_period-mData.frames_removed))*mData.frame_period;
frame_low=frame%(mData.frame_period-mData.frames_removed);
if (frame_low>=mData.offset_frame) frame_low+=mData.frames_removed;

frame=frame_high+frame_low;
prefetcher->PrefetchFrame(0,frame,0);
for (i=mData.frames_removed; i>=1; i--)
 prefetcher->PrefetchFrame(0,frame-i,0);
for (i=1; i<=mData.frames_removed; i++)
 prefetcher->PrefetchFrame(0,frame+i,0);

return(true);
}


void JPSDR_RemoveFrames::Run()
{
}


void JPSDR_RemoveFrames::Start()
{
if (g_VFVAPIVersion<14)
{
 ff->Except("This virtualdub version doesn't support this filter !");
}

if ((mData.frame_period<=1) || ((mData.offset_frame+mData.frames_removed)>mData.frame_period) ||
 (mData.frames_removed>=mData.frame_period))
{
 ff->Except("Incorrect parameters !");
}
}


bool JPSDR_RemoveFrames::Configure(VDXHWND hwnd)
{
JPSDR_RemoveFramesDialog dlg(mData, fa->ifp2);

return dlg.Show((HWND)hwnd);
}

extern VDXFilterDefinition filterDef_JPSDR_RemoveFrames=
VDXVideoFilterDefinition<JPSDR_RemoveFrames>("JPSDR","Remove Frames v1.2.4","Filter to remove frames.");

Is there something else i must do somewhere else ?

Any idea for the error queue job issue ?
 
     Top
Altaf
Posted: Dec 29 2013, 07:35 PM


Advanced Member


Group: Members
Posts: 75
Member No.: 36396
Joined: 9-April 13



Current 1.10.5 test build:

VirtualDub-1.10.5-test2-src.7z
---------------------
At me it isn't compiled. Mistakes:
---------
9>------ Build started: Project: VirtualDub, Configuration: Release Win32 ------
9>Compiling...
9>FilterInstance.cpp
9>.\source\FilterInstance.cpp(1594) : error C2660: 'IVDFilterFrameClientRequest::Start' : function does not take 3 arguments
9>.\source\FilterInstance.cpp(1608) : error C2660: 'IVDFilterFrameClientRequest::Start' : function does not take 3 arguments
9>.\source\FilterInstance.cpp(1673) : error C2660: 'IVDFilterFrameClientRequest::Start' : function does not take 3 arguments
9>.\source\FilterInstance.cpp(1981) : error C2039: 'GetSrcIndex' : is not a member of 'IVDFilterFrameClientRequest'
9> c:\VirtualDub8\VirtualDub110502_eng\src\VirtualDub\h\FilterFrameRequest.h(46) : see declaration of 'IVDFilterFrameClientRequest'
9>FilterFrameRequest.cpp
9>.\source\FilterFrameRequest.cpp(76) : error C2511: 'void VDFilterFrameClientRequest::Start(IVDFilterFrameClient *,uint64,uint32)' : overloaded member function not found in 'VDFilterFrameClientRequest'
9> c:\VirtualDub8\VirtualDub110502_eng\src\VirtualDub\h\FilterFrameRequest.h(79) : see declaration of 'VDFilterFrameClientRequest'
9>.\source\FilterFrameRequest.cpp(121) : error C2039: 'GetSrcIndex' : is not a member of 'VDFilterFrameClientRequest'
9> c:\VirtualDub8\VirtualDub110502_eng\src\VirtualDub\h\FilterFrameRequest.h(79) : see declaration of 'VDFilterFrameClientRequest'
9>.\source\FilterFrameRequest.cpp(122) : error C2065: 'mSrcIndex' : undeclared identifier
9>Generating Code...
9>Build log was saved at "file://c:\VirtualDub8\VirtualDub110502_eng\obj\Release\VirtualDub\BuildLog.htm"
9>VirtualDub - 7 error(s), 0 warning(s)
---------------------
What it is possible to make?
 
     Top
meowmeow
Posted: Dec 30 2013, 06:08 AM


Advanced Member


Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13



QUOTE (phaeron @ Dec 29 2013, 12:41 AM)
Try 1.10.5 test-2 and see if it fixes the problem.

so far so good...

when first run, replacing 1.10.5, test-2 displayed window full of C++ code I'm not familiar with wacko.gif

@Altaf, it's new embedded protection! tongue.gif Or you didn't used that crappy modified frame rate window?
 
     Top
v0lt
Posted: Dec 30 2013, 06:57 PM


Advanced Member


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



QUOTE (phaeron @ Dec 1 2013, 11:34 PM)
  • (test-2) Adjusted labels in video compression dialog.

  • Thanks!
    But "audio compression dialog"?
     
         Top
    jpsdr
    Posted: Jan 6 2014, 06:17 PM


    Advanced Member


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



    QUOTE (phaeron @ Dec 29 2013, 12:41 AM)
    jpsdr: Is your filter validating the incoming frame count for preview runs? VirtualDub can intermittently start the filter system to refresh the UI or recompute stream parameters during setup, so you may need to add code to check the preview flags.

    I've put my filters on github.
    You have the sources here : https://github.com/jpsdr/Filtres_JPSDR
    The filter is RemoveFrames, as it does almost nothing, source code is almost empty, so it should be very quick to take a look, to tell me where something is missing. I've made this code using informations from SDK and internal IVTC filter source code, but i don't see what is missing and where... sad.gif
     
         Top
    Altaf
    Posted: Jan 8 2014, 07:28 AM


    Advanced Member


    Group: Members
    Posts: 75
    Member No.: 36396
    Joined: 9-April 13



    QUOTE (meowmeow @ Dec 30 2013, 10:08 AM)
    QUOTE (phaeron @ Dec 29 2013, 12:41 AM)
    Try 1.10.5 test-2 and see if it fixes the problem.

    so far so good...

    when first run, replacing 1.10.5, test-2 displayed window full of C++ code I'm not familiar with wacko.gif

    @Altaf, it's new embedded protection! tongue.gif Or you didn't used that crappy modified frame rate window?

    I congratulate all on come 2014!
    Meowmeow You aren't right. After all I understood and here. Exe in Russian and English.
    By the sizes as here. VirtualDub 1.10.4 и VirtualDub 1.10.5 Test 2: 1.10.4 russ, 1.10.4 eng, 1.10.5 Test 2 russ, 1.10.5 Test 2 eng.
    ============+++++++++++++========
    Поздравляю всех с наступившим 2014 годом!
    Meowmeow Вы не правы. Все таки разобрался и вот. Русские и английские ехе. По размерам как здесь. 1.10.4 русс, 1.10.4 англ, 1.10.5 русс. 2 ой тестовый и 1.10.5 англ. 2 ой тестовый.
     
         Top
    0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
    0 Members:
    68 replies since Dec 1 2013, 11:34 PM Track this topic | Email this topic | Print this topic
    Pages: (5) 1 [2] 3 4 ... Last »
    << Back to Testing / Bug Reports