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 30th September 2010, 17:10   #1  |  Link
AlekseiV
Registered User
 
Join Date: Jan 2010
Posts: 92
Hybrid source with interlaced credits -- how to work with?

I have obviously done something wrong with my scripts.

I have a hybrid film/video DVD ("A Colbert Christmas"). I used two scripts based off AnimeIVTC to do the deinterlacing/detelecining for VFR output, but it fails on the credits section; it can't decide if they are interlaced or film, so on some frames it deinterlaces them and on others it detelecines them. Badly, since the credits are 30i.

Here are the two scripts I've used:

PHP Code:
#Pass 1
SetMemoryMax(800)
DGDecode_mpeg2source("W:\Ripping\A_COLBERT_CHRISTMAS\VIDEO_TS\Colbert.d2v"info=3)
input i.ColorMatrix(hints=trueinterlaced=truethreads=0)

edeint input.nnedi2(-2)
emask input.tmm(1)

tovfr input.TFM(slow=2output="tfm.txt",clip2=input.TDeint(2,edeint=edeint,emask=emask))
pass1 tovfr.TDecimate(4output="stats.txt")
return 
pass1 
PHP Code:
#Pass 2
SetMemoryMax(800)
SetMTMode(2,5)

input AviSource("Colbert_pass1.avi").Crop(10,18,-6,-18)
SetMTMode(2)
decimated input.TDecimate(5,hybrid=2,tfmin="tfm.txt",input="stats.txt",mkvout="timecodes.txt"batch=true)
return 
decimated 
I don't want to use the full AnimeIVTC script since it is huge and complicated and has hanged on me.
How do I tell Avisynth to just do a straight deinterlace on frames 77060 to 79652 during the first pass? Or is my script terrible and I need to change something?

Thanks.
AlekseiV is offline   Reply With Quote
Old 1st October 2010, 04:36   #2  |  Link
Vitaliy Gorbatenko
viterra
 
Join Date: Feb 2003
Location: St. Peterburg, Russia
Posts: 142
Split video to parts and deinterlace it separately.
or use a QTGMC with desire frame rate...
QTGMC().srestore(frate=23.976)

Last edited by Vitaliy Gorbatenko; 1st October 2010 at 04:40.
Vitaliy Gorbatenko is offline   Reply With Quote
Old 2nd October 2010, 05:55   #3  |  Link
AlekseiV
Registered User
 
Join Date: Jan 2010
Posts: 92
Quote:
Originally Posted by Vitaliy Gorbatenko View Post
Split video to parts and deinterlace it separately.
or use a QTGMC with desire frame rate...
QTGMC().srestore(frate=23.976)
Wouldn't this make my output be CFR?
AlekseiV is offline   Reply With Quote
Old 2nd October 2010, 15:30   #4  |  Link
Motenai Yoda
Registered User
 
Motenai Yoda's Avatar
 
Join Date: Jan 2010
Posts: 709
u can trim and deinterlace them before tdecimate
ie

PHP Code:
SetMemoryMax(800
pointX=55546#the last frame of video before credits

DGDecode_mpeg2source("W:\Ripping\A_COLBERT_CHRISTMAS\VIDEO_TS\Colbert.d2v"info=3
input i.ColorMatrix(hints=trueinterlaced=truethreads=0

edeint input.nnedi2(-2
emask input.tmm(1

tovfr input.TFM(slow=2output="tfm.txt",clip2=input.TDeint(2,edeint=edeint,emask=emask)) 
credits input.qtgmc().srestore(frate=30.0/1.001)
deinterlaced trim(tovfr0pointX)+trim(creditspointX+10)
pass1 deinterlaced.TDecimate(4output="stats.txt"
return 
pass1 
Motenai Yoda is offline   Reply With Quote
Old 2nd October 2010, 18:00   #5  |  Link
stpdrgstr
Registered User
 
Join Date: Oct 2008
Posts: 37
Quote:
Originally Posted by AlekseiV View Post
Wouldn't this make my output be CFR?
Remove srestore, put selectodd/even and manually create/edit timecodes, set the credits range at 30000/1001 fps.

Last edited by stpdrgstr; 2nd October 2010 at 18:03.
stpdrgstr is offline   Reply With Quote
Old 19th October 2010, 20:54   #6  |  Link
McArty
Registered User
 
Join Date: Oct 2009
Posts: 7
Sorry for asking in this thread, is related to the question.

What if i have a hybrid clip mainly interlaced but with 2 defined parts telecined in the middle.

Thanks.
McArty is offline   Reply With Quote
Reply

Tags
colbert, credits, hybrid, interlaced

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 09:00.


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