Answers.Body: <p>It appears that HandBrake is unable to make backward matches, at least currently. The <a href="https://handbrake.fr/docs/en/latest/cli/command-line-reference.html" rel="nofollow noreferrer">documentation</a> for version 1.8.0 defines the following command line options:</p>
  <pre><code>   -9, --detelecine[=string]
                             Detelecine (ivtc) video with pullup filter
                             Note: this filter drops duplicate frames to
                             restore the pre-telecine framerate, unless you
                             specify a constant framerate
                             (--rate 29.97 --cfr)
                             Custom Format:
                                 skip-left=s:skip-right=s:skip-top=s:
                                 skip-bottom=s:strict-breaks=s:plane=p:parity=p:
                                 disable=d
                             Default:
                                 skip-left=1:skip-right=1:skip-top=4:
                                 skip-bottom=4:plane=0
     --no-detelecine         Disable preset detelecine filter
  </code></pre>
  <p>Avidemux has an almost appropriate <a href="https://github.com/mean00/avidemux2/blob/master/avidemux_plugins/ADM_videoFilters6/telecide/Telecide.cpp" rel="nofollow noreferrer">plugin</a>, but, as the description says,</p>
  <blockquote>
  <p>Donald Graft Telecide. Replace ivtc pattern by progressive frames. Video stays at 30 fps.</p>
  </blockquote>
  <p>Which means the plugin leaves you with the task to remove duplicate frames from the video. This would be every 5th frame, but the starting index can potentially be different after each scene change.</p>
  <p>So, Avisynth seems to be the only viable option currently.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-23T01:48:21.100Z
Answers.LastActivityDate: 2024-11-23T01:48:21.100Z
Answers.UserDisplayName: Dmitry Grigoryev
Body: <p>I'm using HandBrake to recode a DVD which appears to have a <a href="https://en.wikipedia.org/wiki/Three-two_pull_down" rel="nofollow noreferrer">3:2 pulldown</a>: the framerate is 29.97 fps and two frames out of five have combing artifacts. The result with &quot;Detelecine=Default&quot; looks OK, except for some scene changes, where the ghost horizontal lines from the previous frame remain.</p>
  <p>However, according to <a href="https://www.rationalqm.us/decomb/DecombFAQ.html" rel="nofollow noreferrer">Avisynth docs</a> there is a solution:</p>
  <blockquote>
  <p>Why am I getting combed frames after some scene changes?</p>
  </blockquote>
  <blockquote>
  <p>These scene changes require a third (backward) match. Decomb will test the third match only if &quot;post&quot; is set to any value other than 0.</p>
  </blockquote>
  <p>How can I enable a backward match in HandBrake, or any other easy-to-use video converter. I get it that I can make it work with Avisynth, but I'd prefer a ready-made solution to what appears to be a well-known problem, without involving scripting.</p>
  
Tags: <handbrake>
Title: How to properly detelecidine a video?
UserDisplayName: Dmitry Grigoryev
ThreadText: # How to properly detelecidine a video?
  
  (Asked by: username_0 on 2024-11-17)
  
  I'm using HandBrake to recode a DVD which appears to have a [3:2 pulldown](https://en.wikipedia.org/wiki/Three-two_pull_down): the framerate is 29.97 fps and two frames out of five have combing artifacts. The result with "Detelecine=Default" looks OK, except for some scene changes, where the ghost horizontal lines from the previous frame remain.
  
  However, according to [Avisynth docs](https://www.rationalqm.us/decomb/DecombFAQ.html) there is a solution:
  
  > Why am I getting combed frames after some scene changes?
  
  > These scene changes require a third (backward) match. Decomb will test the third match only if "post" is set to any value other than 0.
  
  How can I enable a backward match in HandBrake, or any other easy-to-use video converter. I get it that I can make it work with Avisynth, but I'd prefer a ready-made solution to what appears to be a well-known problem, without involving scripting.
  
  **Tags:** handbrake
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2024-11-23. Score: 0
  
  It appears that HandBrake is unable to make backward matches, at least currently. The [documentation](https://handbrake.fr/docs/en/latest/cli/command-line-reference.html) for version 1.8.0 defines the following command line options:
  
  ```
     -9, --detelecine[=string]
                             Detelecine (ivtc) video with pullup filter
                             Note: this filter drops duplicate frames to
                             restore the pre-telecine framerate, unless you
                             specify a constant framerate
                             (--rate 29.97 --cfr)
                             Custom Format:
                                 skip-left=s:skip-right=s:skip-top=s:
                                 skip-bottom=s:strict-breaks=s:plane=p:parity=p:
                                 disable=d
                             Default:
                                 skip-left=1:skip-right=1:skip-top=4:
                                 skip-bottom=4:plane=0
     --no-detelecine         Disable preset detelecine filter
  
  ```
  
  Avidemux has an almost appropriate [plugin](https://github.com/mean00/avidemux2/blob/master/avidemux_plugins/ADM_videoFilters6/telecide/Telecide.cpp), but, as the description says,
  
  > Donald Graft Telecide. Replace ivtc pattern by progressive frames. Video stays at 30 fps.
  
  Which means the plugin leaves you with the task to remove duplicate frames from the video. This would be every 5th frame, but the starting index can potentially be different after each scene change.
  
  So, Avisynth seems to be the only viable option currently.
  
  
  ---
  
  