Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd December 2013, 05:26   #1  |  Link
Kushami
Registered User
 
Join Date: Dec 2011
Posts: 14
Repeat /next/ frame?

Hi there.

I've been working on a very complex ivtc of a show, and I've almost redone everything and gotten it straight. This even involved breaking the ending credit picture up into three pieces and ivtcing sections of the video.

The last problem I have to solve is replacing one bad frame in the credits.

In my particular case, the bad frame is frame 43. If I use badframes(43,blend=false), it will repeat frame 42 which, unfortunately, isn't right. What I actually need to do to make everything seamless is make a duplicate of frame 44 and replace frame 43 with it.

Is there an actual way to do this? I've looked for things under duplicate frames, but most of the stuff I've found involves removing duplicates, not copying one from another place and inserting it elsewhere.

Any help would be much appreciated! I feel so dumb asking this, since I think it's probably easy...
Kushami is offline   Reply With Quote
Old 23rd December 2013, 07:54   #2  |  Link
Kushami
Registered User
 
Join Date: Dec 2011
Posts: 14
Man I'm dumb.

loop(0,43,43).loop(2,43,43)

...
Kushami is offline   Reply With Quote
Old 23rd December 2013, 10:22   #3  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Even simpler is:
FreezeFrame(43, 43, 44)
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 23rd December 2013, 21:49   #4  |  Link
johnmeyer
Registered User
 
Join Date: Feb 2002
Location: California
Posts: 2,695
Quote:
Originally Posted by Gavino View Post
Even simpler is:
FreezeFrame(43, 43, 44)
All these years of using AVISynth and I never noticed that built-in function. Very useful. Thanks!
johnmeyer is offline   Reply With Quote
Reply

Tags
avisynth, badframes


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.