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

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd January 2015, 14:33   #1  |  Link
kenshin1991
Registered User
 
Join Date: Jun 2014
Posts: 8
30i Credits on top of 24p(IVTC)

Hey everyone,

I was just wondering how I can handle scrolling 30fps credits on a 24fps (film) background?

Credits from episode (10sec | 13MB):
http://www.mediafire.com/watch/gfh2c...terCredits.m2v

The majority of the episode is film (portion linked below) except for the 30i scrolling credits on a 23.976 film background (linked above).

Film portion from episode (50sec | 50MB):
http://www.mediafire.com/watch/12utb...MonsterEP1.m2v

Is there a simple function where I can turn the credits into progressive film (or perhaps create a hybrid source) with minimal motion blur or judder?
I found this thread which seems to have a solution although I'm not sure how to use it: http://forum.doom9.org/showthread.php?t=158680

My current script is:

Code:
MPEG2Source("Ep01_1.d2v", cpu=0)
ivtc = tfm(pp=0).tdecimate(mode=1)
deint = qtgmc().selectevery(5,0,2)
deintCredits = QTGMC( Preset="faster", FPSDivisor=2, ShutterBlur=3, ShutterAngleSrc=180, ShutterAngleOut=360 ).convertfps("NTSC_Film")
       

rfs(ivtc,deint,"[263 293]")
rfs(deintCredits,"[32268 33986]")

Last edited by kenshin1991; 3rd January 2015 at 14:36.
kenshin1991 is offline   Reply With Quote
Old 3rd January 2015, 21:31   #2  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,493
To fix the credits, assuming they stay the same way throughout (scrolling credits on left, artwork on the right) I did this:

Code:
mpeg2source("monstercredits.d2v")

left=crop(0,0,340,0)
right=crop(340,0,0,0)

left=interleave(left,left.pointresize(left.width,left.height,0,1)) # 60fps
left=interleave(left,left.spline16resize(left.width,left.height,0,0.5)) # 120fps
left=left.selectevery(5,0) # down to 24fps

# ITVC the "right" side of the clip (placeholder):
right=right.separatefields.selectevery(5,0,1,2,3).weave

stackhorizontal(left,right)
It upsamples the credits half of the picture to 120fps by interleaving shifted copies of each frame, then selects down to 24fps.

David
__________________
My AviSynth filters / I'm the Doctor

Last edited by wonkey_monkey; 3rd January 2015 at 21:35.
wonkey_monkey is offline   Reply With Quote
Old 4th January 2015, 13:52   #3  |  Link
colours
Registered User
 
colours's Avatar
 
Join Date: Mar 2014
Posts: 308
I was going to suggest ivtc_txt30mc (like I did in the previous thread), but having actually looked at the source, using any sort of deinterlacing is simply not viable. (Anyway, ivtc_txt60mc is not the right filter even if it did "work", because that's for handling 60 fps text overlays.)

David's post provides one solution; a slightly more general solution is to use MFlowFPS instead of manually shifting when interpolating to 120 fps.
__________________
Say no to AviSynth 2.5.8 and DirectShowSource!
colours is offline   Reply With Quote
Old 5th January 2015, 19:02   #4  |  Link
bxyhxyh
Registered User
 
Join Date: Dec 2011
Posts: 354
I didn't download your film part sample. But I assume it is just common one.
Code:
DGDecode_mpeg2source("yourclip.d2v", info=3)
# lfofp stands for last frame of film part
# lfofp should be 4 (mod 5) for exact audio sync.
part_main   = Trim(0,lfofp).TFM().TDecimate(mode=1)
part_ending = Trim(lfofp+1, song_end)
picture     = part_ending.crop(358,0,0,0).TFM()
credits     = part_ending.crop(0,0,-362,0)
part_ending = StackHorizontal(b,a)
part_main++part_ending.AssumeFPS(part_main)
And do the VFR clip.

Last edited by bxyhxyh; 5th January 2015 at 19:22.
bxyhxyh is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 22:24.


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