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. |
![]() |
#1 | Link |
Registered User
Join Date: Feb 2009
Posts: 11
|
Tdecimate vs Subtitles
Hey All. I have an avisynth question that I hope you can all answer.
I have a piece of video that is 1920x1080, with subtitles. the video is 3-2 telecine. A standard IVT works fine. TFM() However, the telecine cadence of the video, is different from the subtitles. At some points in the video, we have two frames that repeat, however only one of the frames has the subtitle on it. Thus tdecimate fails to correctly decimate. My fix is to crop off the subtitles, run tdecimate(output="temp.txt"), then rerun the script normally with tdecimate(input="temp.txt"). Is there any way to do this with only one pass, or to do it more intelligently? |
![]() |
![]() |
![]() |
#2 | Link | ||
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,408
|
There are a couple of ways to do this in a single pass. One is to remove the bottom however many pixels only for the purposes of the field matching. From the TFM readme:
Quote:
Quote:
Code:
Clip2=AVISource("E:\Path\To\Video.avi") PClip=Clip2.Crop(0,0,0,-60)#Adjust for the height of the subs TFM(PClip) TDecimate(Clip2) |
||
![]() |
![]() |
![]() |
Tags |
1080, avisynth, decimate, subtitle, tdecimate |
Thread Tools | Search this Thread |
Display Modes | |
|
|