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.

 
Ivtc Can Almost Drop Every 5th Frame, Similar to the "Ivtc Can't Do It" topic
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Bill_G
Posted: Nov 19 2009, 01:21 PM


Newbie


Group: Members
Posts: 4
Member No.: 26484
Joined: 19-November 09



Hi everyone.

I have Virtualdub 1.9.7 and have a similar problem as TCmullet has with the IVTC-filter.

Every 5th frame in the source-file is a duplicate to it's previous frame.
I just want to delete those duplicate frames and if I click "Reduce frame rate" in the IVTC-filter it actually does what I want but the remaining frame of the two identical ones is interlaced.

Isn't there a simple way of just turning of the recombining of the 2 frames that is intended I suppose for source-files that are interlaced from start.

Also it would be great to be able to do this with "direct stream copy" if possible since it's allready correcting the framrate leaves the audio-stream unchanged. I mean if you delete frames that are in fact identical, it should'nt cause any artefacts even if there are no keyframes nearby.

As it is now I can see a perfect result in the input (left) pane when I move forward through the video with right-arrow but in the output (right) pane I see every 4th frame interlaced.

And it's a bit irritating to see exactly what you want in the input pane and not being able to get it to the output sad.gif

Otherwise I love Virtualdub and have been using it for years smile.gif

Thanks for any tip.
/ Bill
 
     Top
Bill_G
Posted: Nov 19 2009, 02:10 PM


Newbie


Group: Members
Posts: 4
Member No.: 26484
Joined: 19-November 09



Here are some clips that I tested with for those who are interrested.

http://www.billshemsida.com/ivtc/

/ Bill
 
     Top
phaeron
Posted: Nov 20 2009, 05:06 AM


Virtualdub Developer


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



The IVTC filter currently doesn't support this form of telecine pattern, I'm afraid.
 
    Top
jpsdr
Posted: Nov 20 2009, 08:42 AM


Advanced Member


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



Hello.

Try my IVTC filter, you can get my filters here : http://dl.free.fr/u0adFigzO
You have to use in this order :
IVTC filter v4.4.0 (leave parameters by default)
Remove frame v1.0.0 (leave parameters by default)

If IVTC realy doesn't seem to work, try checking 'Invert polarity'.
Also, if you can provide my a sample of around 50-100 frames, with very good
telecine effect visible, i can also test it.

Edit : Didn't see the link, i've take a look.
Ok, very simple : just use my remove frame filter, change only the offset to 4.
 
     Top
Bill_G
Posted: Nov 20 2009, 02:42 PM


Newbie


Group: Members
Posts: 4
Member No.: 26484
Joined: 19-November 09



Thanks jpsdr

Thats exactly what I needed.
And then just set the frame rate to 23.976 fps.
Problem solved.

cheers
/ Bill
 
     Top
jpsdr
Posted: Nov 20 2009, 05:04 PM


Advanced Member


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



There is something strange...
In your video, the last frame is duplicated by pack of 5.
Wich mean, in the sequence, you have (4,5) (9,0) identical.
Theoricaly, with an IVTC manual set to an offset of 4, this should work...
The filter should re-construct frame using frames 4 and 5,
constructing new frame using top from 4 and bottom from 5 (or
B4 T5...). But it didn't... That's very odd !!
Phaeron : Is it normal ?? Or is there something that i've not understood ?

Ok, I think there is a problem with IVTC filter !
I've just tested the file on an old VDub version (1.5.4), set ivtc to manual
offset of 4, invert polarity not checked : Result was fine (as expected).
Tested with 1.9.7, both TFF or BFF, neither worked.
Are-you sure in manual IVTC you've not swapped T/B field,
as between old filter where pointer was on the bottom off the
frame, now with new API pointer is at the top of the frame ?
Or, maybe it's something else...

Note :
My filter is better beacause faster, it didn't process anything on video, only drop frame.
 
     Top
phaeron
Posted: Nov 21 2009, 05:11 AM


Virtualdub Developer


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



It's not so much a problem with the IVTC filter as that it's being used for something that it isn't intended for. The built-in IVTC filter is intended for a regular 3:2:3:2 pattern; there are multiple ways to do reconstruction due to the duplicated fields and it just happens that the way it currently chooses isn't valid for a repeated frame pattern.
 
    Top
Bill_G
Posted: Nov 21 2009, 11:02 AM


Newbie


Group: Members
Posts: 4
Member No.: 26484
Joined: 19-November 09



Let me see if I got this right:

1 2 3 4=5 6 7 - Input-file with frame 4 and 5 duplicated

1 2 3 4 5+6 6 - This is output after IVTC with reduce frame rate (I checked this)

1 2 3 4+5 5 6 - This is how jpsdr thinks it should be, and how the old version did.

Am I right?

It appears to me that jpsdr is right but then again as phaeron says it's intended for another kind of input-file that I don't now much of.

Anyhow I just asked because it seemed to be an easy thing to fix since the IVTC filter is allready removing one of the duplicate but in addition to that is making a combined reconstruction. Perhaps to skip the reconstruction part by unchecking the "field order" section.

But now I'm happy anyway.

Thanks again jpsdr.
/ Bill
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
7 replies since Nov 19 2009, 01:21 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Filters and Filter Development