Page 1 of 1

[RESOLVED] Method/filter to remove hard-coded repeat frames

Posted: Thu Mar 17, 2011 8:14 am
by SeeMoreDigital
Hi all,

I've probably missed something obvious but is there a method or filter that will enable me to remove "hard coded" repeat/duplicate frames from 50fps sources. Such as can be found in this sample: http://www.mediafire.com/?69xxlsttb36759g


Cheers

Re: Method or filter to remove hard-coded repeat frames

Posted: Thu Mar 17, 2011 8:21 am
by admin
The obvious thing is Decimate(2) or SelectEven() in Avisynth.

Are you looking for a VirtalDub filter for that?

Re: Method or filter to remove hard-coded repeat frames

Posted: Thu Mar 17, 2011 10:42 am
by SeeMoreDigital
neuron2 wrote:Are you looking for a VirtalDub filter for that?
Ideally yes...

EDIT: Something that offers simplified options along the same lines as the IVTC plug-in would be handy.

Re: Method or filter to remove hard-coded repeat frames

Posted: Thu Mar 17, 2011 1:07 pm
by admin
Use this:

Video/Frame rate.../Frame rate conversion/Process every other frame (decimate by 2)

The latest filter SDK supports dropping frames so it would be possible now to make an adaptive Decimate filter, but the above built-in function should be fine for this application.

Re: Method or filter to remove hard-coded repeat frames

Posted: Thu Mar 17, 2011 2:18 pm
by SeeMoreDigital
I actually tried the "Process every other frame (decimate by 2)" option but it does not seem to work with v1.10.0 (Build 33848). Are you able to make it work?

Re: Method or filter to remove hard-coded repeat frames

Posted: Thu Mar 17, 2011 4:44 pm
by admin
No I haven't tried 1.10.0, which is still "experimental". I suggest that you followup at the VirtualDub forum if you have found something broken in 1.10.0.

Re: Method or filter to remove hard-coded repeat frames

Posted: Fri Mar 18, 2011 10:21 am
by SeeMoreDigital
Bummer...

I've just tried VirtualDub versions 1.9.9, 1.9.10 and 1.9.11 and their decimate options don't seem to work with the sample I provided either!

Re: Method or filter to remove hard-coded repeat frames

Posted: Fri Mar 18, 2011 1:05 pm
by admin
How are you loading that sample into VirtualDub?

Re: Method or filter to remove hard-coded repeat frames

Posted: Fri Mar 18, 2011 2:06 pm
by SeeMoreDigital
I'm dragging and dropping the elementary .M2V file directly into VirtualDub.

The .M2V file opens okay and VirtualDub correctly recognises the files properties. I'm at a loss!

Re: Method or filter to remove hard-coded repeat frames

Posted: Fri Mar 18, 2011 2:15 pm
by admin
You must be using fccHandler's MPEG2 plugin.

I loaded it in 1.9.11 and set decimate by 2. I did Save as AVI and reloaded the resulting AVI. It was properly decimated.

The decimation does not take effect on preview, only on Save as AVI.

Re: Method or filter to remove hard-coded repeat frames

Posted: Fri Mar 18, 2011 3:02 pm
by SeeMoreDigital
neuron2 wrote:the decimation does not take effect on preview, only on Save as AVI.
I see... I was not expecting the decimate option to function like that.

I am however happy to confirm that the repeat/duplicate frames have been dropped on the "save.AVI" output.


Thanks for your help

Re: Method or filter to remove hard-coded repeat frames

Posted: Fri Mar 18, 2011 3:28 pm
by admin
You're welcome. Marking resolved.