VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Banned
    Join Date
    Oct 2023
    Location
    Los Angeles
    Search Comp PM
    I heard QTGMC is the best deinterlacer for videos, but it's very slow. How do I make other deinterlacers like yadif or nnedi have the same quality as QTGMC when I deinterlace videos using them?

    Also, which deinterlacer in Shutter Encoder and ffmpeg has the best quality for videos, Yadif, nnedi, or something else? Also, how do I make videos have twice the frame rate when deinterlacing them?
    Image
    [Attachment 75256 - Click to enlarge]
    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    bwdif is considered to be pretty good, probably better than yadif
    Quote Quote  
  3. Banned
    Join Date
    Oct 2023
    Location
    Los Angeles
    Search Comp PM
    Originally Posted by davexnet View Post
    bwdif is considered to be pretty good, probably better than yadif
    What about estdif, w3fdif, and detelecine?
    Quote Quote  
  4. Side note: the speed of QTGMC depends a lot of on the used settings, for most cases Preset="Faster" or Preset="Fast" is enough,..
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  5. detelecine is for reversing 3:2 telecine. That quality is the best if your source has 3:2 telecine (23.976p content in 29.97i interlaced stream)

    estdif and w3dif are not very good in general

    But it is source dependent; sometimes a specific deinterlacer will not perform well an a particular source, but good on another
    Quote Quote  
  6. Banned
    Join Date
    Oct 2023
    Location
    Los Angeles
    Search Comp PM
    Originally Posted by poisondeathray View Post
    detelecine is for reversing 3:2 telecine. That quality is the best if your source has 3:2 telecine (23.976p content in 29.97i interlaced stream)

    estdif and w3dif are not very good in general

    But it is source dependent; sometimes a specific deinterlacer will not perform well an a particular source, but good on another
    Here is one of information of one of my videos I shall deinterlace.
    Code:
    General
    Unique ID : 258353246348045939569265620988127380324 (0xC25D067C7E97E681F2DFF58C715C8364)
    Complete name : title00.mkv
    Format : Matroska
    Format version : Version 2
    File size : 5.11 GiB
    Duration : 23 min 53 s
    Overall bit rate mode : Variable
    Overall bit rate : 30.6 Mb/s
    Frame rate : 29.970 FPS
    Encoded date : 2017-12-12 05:26:37 UTC
    Writing application : MakeMKV v1.10.8 win(x64-release)
    Writing library : libmakemkv v1.10.8 (1.3.5/1.4.7) win(x64-release)
    
    Video
    ID : 1
    ID in the original source medium : 4113 (0x1011)
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings : CABAC / 4 Ref Frames
    Format settings, CABAC : Yes
    Format settings, Reference frames : 4 frames
    Format settings, picture structure : Frame
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 23 min 52 s
    Bit rate mode : Variable
    Bit rate : 28.3 Mb/s
    Maximum bit rate : 40.0 Mb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 29.970 (30000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan type, store method : Interleaved fields
    Scan order : Top Field First
    Bits/(Pixel*Frame) : 0.456
    Time code of first frame : 01:00:00:0000000000
    Stream size : 4.72 GiB (92%)
    Language : English
    Default : No
    Forced : No
    Original source medium : Blu-ray
    
    Audio
    ID : 2
    ID in the original source medium : 4352 (0x1100)
    Format : PCM
    Format settings : Little / Signed
    Codec ID : A_PCM/INT/LIT
    Duration : 23 min 53 s
    Bit rate mode : Constant
    Bit rate : 2 304 kb/s
    Channel(s) : 2 channels
    Sampling rate : 48.0 kHz
    Frame rate : 30.000 FPS (1600 SPF)
    Bit depth : 24 bits
    Stream size : 394 MiB (8%)
    Title : Stereo
    Language : Japanese
    Default : Yes
    Forced : No
    Original source medium : Blu-ray
    
    Menu
    00:00:00.000 : en:Chapter 01
    00:03:11.891 : en:Chapter 02
    00:06:54.046 : en:Chapter 03
    00:09:25.665 : en:Chapter 04
    00:12:03.956 : en:Chapter 05
    00:15:20.519 : en:Chapter 06
    00:17:06.158 : en:Chapter 07
    00:18:30.542 : en:Chapter 08
    00:19:04.009 : en:Chapter 09
    00:21:43.201 : en:Chapter 10
    00:23:51.997 : en:Chapter 11
    Which deinterlace should I use for this type of video? nnedi, estdif, bwdif, or something else?
    Quote Quote  
  7. Mediainfo is not necessarily accurate in terms of actual content - there is no way to tell until you look at it - You have to examine the fields to determine what type of content it is

    eg. Progressive "24p" content arranged in fields (encoded interlaced) is telecine.

    If you double rate deinterlace, and examine a scene with constant motion, and there is movement every frame, then that scene has interlaced content . If there are 3 duplicates, 2 duplicates, then it's "23.976p" . If there are duplicates, then it's "29.97p" . There are other types of patterns but those are the most common

    Animation is almost always progressive content, except for some effects, overlays, credits . You would rarely deinterlace anime or most types of animation, cartoons

    In general, if you deinterlace progressive content, you degrade it . In general, for progressive content that is telecined - you should field match and decimate (= inverse telecine) , instead of deinterlacing
    Quote Quote  
  8. Banned
    Join Date
    Oct 2023
    Location
    Los Angeles
    Search Comp PM
    Originally Posted by poisondeathray View Post
    Mediainfo is not necessarily accurate in terms of actual content - there is no way to tell until you look at it - You have to examine the fields to determine what type of content it is

    eg. Progressive "24p" content arranged in fields (encoded interlaced) is telecine.

    If you double rate deinterlace, and examine a scene with constant motion, and there is movement every frame, then that scene has interlaced content . If there are 3 duplicates, 2 duplicates, then it's "23.976p" . If there are duplicates, then it's "29.97p" . There are other types of patterns but those are the most common

    Animation is almost always progressive content, except for some effects, overlays, credits . You would rarely deinterlace anime or most types of animation, cartoons

    In general, if you deinterlace progressive content, you degrade it . In general, for progressive content that is telecined - you should field match and decimate (= inverse telecine) , instead of deinterlacing
    But the video is not progressive, it's interlaced, so what should I do?
    Quote Quote  
  9. If the content is interlaced, then double rate deinterlace it . This should give you 59.94p , with movement every frame . If it doesn't - then you did something wrong, or it's not actually interlaced

    QTGMC is probably the "best" overall, but there are some cases where it produces worse results

    For the other in your list, bwdif is probably the top choice overall, but sometimes the artifacts are sharper as well - it's a tradeoff

    Do some short tests on your source and see what you like better. There is no best at everything
    Quote Quote  
  10. Banned
    Join Date
    Oct 2023
    Location
    Los Angeles
    Search Comp PM
    Originally Posted by poisondeathray View Post
    If the content is interlaced, then double rate deinterlace it . This should give you 59.94p , with movement every frame . If it doesn't - then you did something wrong, or it's not actually interlaced

    QTGMC is probably the "best" overall, but there are some cases where it produces worse results

    For the other in your list, bwdif is probably the top choice overall, but sometimes the artifacts are sharper as well - it's a tradeoff

    Do some short tests on your source and see what you like better. There is no best at everything
    What are the "some cases" where QTGMC produces worse results? And what about nnedi? How do you deinterlace videos using it in ffmpeg?
    Quote Quote  
  11. Originally Posted by Jay123210599 View Post
    What are the "some cases" where QTGMC produces worse results?

    It's source dependent. QTMGC can produce "worse" results on some sources , and according to some opinions

    It's not all cut and dry either - there are apsects where QTGMC slightly better, aspects where it's slightly worse. It depends on what aspect(s) you consider more important. Don't take anyone's word for it, do some tests yourself and look. Some people hate the detail loss, some people hate that other deinterlacers flicker, some people just hate...

    ie. There are pros/cons . QTGMC is still probably the best overall for most sources, at least in terms of temporal consistency and smoothness, fewer aliasing and flicker artifacts. However , the biggest negative of QTGMC is the net effect of denoising and blurring to order achieve that temporal smoothness . You can adjust the many settings to your tastes and for the source to reduce the problems, but there is often texture and detail loss ; that's probably the most common complaint .

    Sometimes you can get temporal artifacts, ghosting. The temporal smoothing can sometimes be counterproductive for certain workflows (eg. deblending a field blended source). An non temporal deinterlacer would never get temporal artifacts, but they tend to have more flicker and temporal inconstencies - again a trade off

    Default QTGMC settings often make image look like waterpainting (overdenoised and oversharpened). You definitely should adjust settings for each source to get ideal results, and to be fair the oversharpening is mentioned in the instructions. I almost always decrease sharpness right away, unless source is blurry

    Sometimes the motion estimation is wrong and you get wobbling areas in parts of frames - it's a related problem with mvtools2 (can also affect mvtools2 based denoisers). This often affects animation scenes where there is low or no motion, hold frames - you get warping artifacts




    And what about nnedi? How do you deinterlace videos using it in ffmpeg?
    NNEDI3 is intra field only - so it tends to flicker - because there is no temporal component. It can be ok for some sources, bad for others. Again, it's source dependent , like all deinterlacers and filters

    The settings for ffmpeg nnedi are in the documentation

    https://ffmpeg.org/ffmpeg-filters.html#nnedi


    There are published comparisons between deinterlacers, but you should really test them on your source(s) and play with the settings. A lot of it can be personal taste as well.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!