View Full Version : IVTC in avisynth
trochim
6th December 2005, 19:26
I've got a serious problem:
Main movie is in NTSC FILM frame format. Subtitles are encoded in NTSC (no telecine!!). How to write avisynth script in order to:
1. IVTC the main movie
2. In subtitles - discard every sixth frame (to maintain AV sync)
3. Keep the video in NTSC FILM
Randall
6th December 2005, 19:33
So your source is 29.97 FPS FILM or 23.976 FPS FILM?
If it's teleclined then just use the decomb filter
# INVERSE TELECLINE OPTIONS
Telecide(order=1,guide=1).Decimate()
trochim
6th December 2005, 20:56
Source is 29.97 fps NTSC FILM, but the other part of the movie is not telecined (29.97 fps NTSC)
foxyshadis
6th December 2005, 21:17
Search for hybrid ivtc, and check out tritical's tivtc package (which can create hybrid output).
Oh, and you might read the AVIsynth.org page (http://www.avisynth.org/VariableFrameRateVideo) about it, even though it's somewhat outdated (lost all of my changes in a move).
Randall
6th December 2005, 21:54
Source is 29.97 fps NTSC FILM, but the other part of the movie is not telecined (29.97 fps NTSC)
Well if it's only the subtitles that are not teleclined, then couldn't you just go ahead and do the reverse telecline anyway? It's not like you will be getting jerky motion scenes which shouldn't be INVTed, or anything like that. Maybe I don't fully understand the severity of the situation.
If you're talking about a hybrid situation that is mostly film, then maybe try this:
Telecide(order=1)
Decimate(cycle=5, mode=3, threshold=1.0)
If that gets you nowhere fast, then you could try Blendbob() along with Tdeint to deinterlace it. I've set full=false so that Tdeint will hopefully ignore progressive scenes, and only mess with the interlaced ones.
TDeint(mode=1,order=1,full=false)
BlendBob()
Finally, to deinterlace AND telecide the footage, which you might be interrested in, you can do:TDeint(mode=1,order=1,full=false)
BlendBob()
Decimate(cycle=5,mode=3,threshold=1.0)
Wilbert
6th December 2005, 23:20
Oh, and you might read the AVIsynth.org page about it, even though it's somewhat outdated (lost all of my changes in a move).
What stuff is missing? What changes did i remove, which shouldn't be removed?
foxyshadis
7th December 2005, 03:21
I had rewritten the mkv section and a few other pieces, but when avisynth.org came back up it was all reset. I just didn't have time to change again and forgot. I think I'll get a refresher on new developments and then modify the page again.
Edit: I was wrong, I just didn't recognize a few segments because some of the changes were reverted or something. I'll PM you about a few further changes I'd like to make.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.