VideoHelp Forum




+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 44
  1. I'm trying to decide which is the best way for me to deinterlace the file below. I've seen three avisnth plugins which were recommended. They were yadif, QTGMC, and TempGaussMC. In regard to QTGMC and TempGaussMC, is TempGaussMC worth the quality for the time it will take?

    General
    Complete name : D:\video.mpg
    Format : MPEG-PS
    File size : 460 MiB
    Duration : 21mn 29s
    Overall bit rate mode : Variable
    Overall bit rate : 2 994 Kbps
    Writing library : (c) 1998-2010 Womble Multimedia, Inc. / MPEG Video Wizard DVD 5.0.0.114 (01/2010) / Jan 5 2011

    Video
    ID : 224 (0xE0)
    Format : MPEG Video
    Format version : Version 2
    Format profile : Main@Main
    Format settings, BVOP : Yes
    Format settings, Matrix : Custom
    Format settings, GOP : Variable
    Duration : 21mn 29s
    Bit rate mode : Variable
    Bit rate : 2 742 Kbps
    Maximum bit rate : 2 904 Kbps
    Width : 704 pixels
    Height : 480 pixels
    Display aspect ratio : 4:3
    Frame rate : 29.970 fps
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan order : Top Field First
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.271
    Time code of first frame : 00:00:00;00
    Time code source : Group of pictures header
    Stream size : 422 MiB (92%)
    Writing library : (c) 1998-2010 Womble Multimedia, Inc. / MPEG Video Wizard DVD 5.0.0.114 (01/2010) / Jan 5 2011

    Audio
    ID : 189 (0xBD)-128 (0x80)
    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Format settings, Endianness : Big
    Muxing mode : DVD-Video
    Duration : 21mn 29s
    Bit rate mode : Constant
    Bit rate : 192 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 29.5 MiB (6%)

    Text
    ID : 224 (0xE0)-CC1
    Format : EIA-608
    Muxing mode : A/53 / DTVCC Transport
    Muxing mode, more info : Muxed in Video #1
    Bit rate mode : Constant
    Stream size : 0.00 Byte (0%)

    Menu
    Quote Quote  
  2. Usually it's worth the time for most sources IMO

    If speed is a concern, you can use faster settings for QTGMC e.g. preset="faster" , and get 95-98% of the quality, but it will be several times faster than the default setting of "slower"

    For some sources and situations you might want to adjust the settings or use different deinterlacer , because it applies some other processing like smoothing, denoising
    Quote Quote  
  3. BTW, mediainfo is useless for this type of thing

    For example, are you sure it needs to be deinterlaced? or might it be telecined / 3:2 hard pulldown ? If you apply the wrong processing it makes the quality much worse
    Quote Quote  
  4. Time isn't really a concern. They are from a game show, so there's not a lot of fast movement/action. These are tv rips so I'm fairly certain that they are interlaced, is there a way to be sure?
    Quote Quote  
  5. Originally Posted by ROBO731 View Post
    Time isn't really a concern. These are tv rips so I'm fairly certain that they are interlaced, is there a way to be sure?

    "tv rips" as in an episodic series, like dramas ? Shot on film or digital film equivalents ? Then 99.99999999999999% chance it's not interlaced content, unless it's a daytime soap opera (in that case I'm gonna laugh )

    The only way to be 100% sure is to use your eyes, examining the fields and/or looking at the cadence patterns. Deinterlacing progressive content is a NO-NO . It's avoidable quality loss . If it's telecined, you reverse it (inverse telecine)

    If you're not sure, you can upload a small sample with steady movement
    Quote Quote  
  6. It's not a drama XD. When i opened them with vlc, and turned on deinterlacing, they looked much better than when it was off.
    Last edited by ROBO731; 25th Jul 2013 at 20:59.
    Quote Quote  
  7. You must have made a ninja edit before my reply, The quote above is missing the "game show" part.

    Not sure about that show. IIRC, There is an older series with Drew Carey and I think a newer version of series (2013?). Maybe someone else knows offhand. Or upload a sample
    Quote Quote  
  8. Originally Posted by ROBO731 View Post
    It's Whose Line, not a drama XD. When i opened them with vlc, and turned on deinterlacing, they looked much better than when it was off.
    Since you don't know what you're doing, it might be better for you to post a sample. Open a VOB in DGIndex, use the [ and ] buttons to isolate a small 10-second piece, one with steady movement so we can tell, and then File->Save Project and Demux Video. It probably is interlaced, but that's not really the way to definitively tell.

    They were yadif, QTGMC, and TempGaussMC. In regard to QTGMC and TempGaussMC, is TempGaussMC worth the quality for the time it will take?
    QTGMC is pretty much a newer and much improved version of TempGaussMC. Cross TempGaussMC off your list. Yadif is decent and fast. QTGMC is much better and can be much slower (depending on the settings you use).
    Quote Quote  
  9. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    The MediaInfo text posted does reveal that it's very low bitrate (3000 or less), probably 3-hour or 4-hour mode. For a fast-action" video encoded along those lines, don't expect miracles. By "TV rip" I take it that these are taken from a commercial DVD of a TV series, which will have higher quality at low bitrates than a home-made recording.
    Last edited by sanlyn; 25th Mar 2014 at 10:00.
    Quote Quote  
  10. Ok, here's a sample. Also, thanks for the input, I'll use QTGMC or yadif if it's taking too long.
    Last edited by ROBO731; 25th Jul 2013 at 21:00.
    Quote Quote  
  11. Will these deinterlacers work? They don't say that they support YUV.
    Quote Quote  
  12. Originally Posted by manono View Post
    ...isolate a small 10-second piece, one with steady movement ...
    A guy flapping his jaws doesn't qualify as steady movement. Anyway, it is interlaced and both deinterlacers will work. YV12 (which all DVDs are) is a subset of YUV.
    Quote Quote  
  13. So, I'm currently testing out yadif, but I'm getting an error. I'm not sure what I'm doing incorrectly though.

    Avisynth Script:

    Code:
    Load_Stdcall_plugin("D:\Desktop\yadif17\yadif.dll")
    DirectShowSource("D:\Desktop\test\video.mpg", audio=false)
    mode=1
    Batch file:

    Code:
    "D:\Desktop\x264\x264 32 8bit.exe" --crf 18 --preset veryslow --level 3.1 -o "8-bit out mode 1.h264" "D:\Desktop\test\De-interclace.avs"
    @pause
    x264 Error:

    D:\Desktop\test>"D:\Desktop\x264\x264 32
    8bit.exe" --crf 18 --preset veryslow --level 3.1 -o "8-bit out mode 1.h264" "D:
    \Desktop\test\De-interclace.avs"
    avs [error]: `D:\Desktop\test\De-interclace.avs' didn't return a vi
    deo clip
    x264 [error]: could not open input file `D:\Desktop\test\De-intercl
    ace.avs'
    Press any key to continue . . .
    When changing the avs so that it uses just the demuxed video track with no audio:

    D:\Desktop\test>"D:\Desktop\x264\x264 32
    8bit.exe" --crf 18 --preset veryslow --level 3.1 -o "8-bit out mode 1.h264" "D:
    \Desktop\test\De-interclace.avs"
    avs [error]: `D:\Desktop\test\De-interclace.avs' didn't return a vi
    deo clip
    x264 [error]: could not open input file `D:\Desktop\test\De-intercl
    ace.avs'
    Press any key to continue . . .
    Last edited by ROBO731; 25th Jul 2013 at 21:35. Reason: Added information
    Quote Quote  
  14. How about this:

    Load_Stdcall_plugin("D:\Desktop\yadif17\yadif.dll" )
    DirectShowSource("D:\Desktop\test\video.mpg", audio=false)
    Yadif(mode=1)

    Also, in my opinion, you'd be better off making a D2V project file using DGindex and loading the DGDecode.dll so you can use MPEG2Source instead of DirectShowSource. Before encoding, test your scripts in VDub so you'll get a more precise error message if something's wrong with them.
    Quote Quote  
  15. I agree DirectShowSource normally is the last choice. DGDecode, FFmpegSource, LWLibavVideoSource, AviSource, DSS2 should all come before using DirectShowSource. Why? Simply because DirectShow-Filters are ment for playback so the are allowed to drop frames lower quality&co and d non accurate jumps to meat a certain speed.
    -> Using DirectShowSource can be problematic on complex scripts and filters which use multi-threading and/or non-linear frame access.

    Cu Selur

    Ps.: TDeint also is a nice Deinterlacer, which I often prefer over Yadif.
    Quote Quote  
  16. Thanks for the suggestions, I'm using mpegsource with the d2v file and it's encoding now. I'm just testing out different deinterlacers right now. I'll give TDeint a try after this. Then I'm going to test QTGMC.
    Quote Quote  
  17. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    QTGMC isn't really that slow in the age of quad-cores and dual-cores.
    And it really is the best.
    Want my help? Ask here! (not via PM!)
    FAQs: Best Blank DiscsBest TBCsBest VCRs for captureRestore VHS
    Quote Quote  
  18. Originally Posted by lordsmurf View Post
    QTGMC isn't really that slow in the age of quad-cores and dual-cores.
    If you're not running a multithreaded build of AviSynth QTGMC will be running single threaded -- no matter how many cores you have.
    Quote Quote  
  19. Yeah, I'll run it multithreaded. I'm about to try it out now
    Quote Quote  
  20. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    Originally Posted by jagabo View Post
    Originally Posted by lordsmurf View Post
    QTGMC isn't really that slow in the age of quad-cores and dual-cores.
    If you're not running a multithreaded build of AviSynth QTGMC will be running single threaded -- no matter how many cores you have.
    Well, yeah, that's obviously required.

    Even without it, the single-core implementation works well on modern hardware.
    I remember when DVD Shrink took hours. Now it's done in minutes. (Example.)
    Want my help? Ask here! (not via PM!)
    FAQs: Best Blank DiscsBest TBCsBest VCRs for captureRestore VHS
    Quote Quote  
  21. I'm encoding now, using the below parameters and files, but x264 is crashing, leaving me with an incomplete file/encode. At the beginning, it very briefly said that I was missing a dll file, but began the encode anyway. The message went away to quickly for me to have read. I'm going to run it again and quickly screenshot so I can see what plugin it says I'm missing. I'll get the plugin and then run it again, but is there anything anyone can see that might be the source of the problem?

    AVS:

    Code:
    LoadPlugin("D:\Desktop\dgmpgdec158\DGDecode.dll")
    #SetMemoryMax(M)  # Optional line. Leave it out at first. See below for value M
    SetMTMode(5, 3)  # See below for value X
    MPEG2Source("D:\Desktop\test\video.d2v")  # DGDecode_mpeg2source, FFVideoSource, AviSource, whatever your source requires
    SetMTMode(2)
    QTGMC( Preset="Very Slow", EdiThreads=2 ) # Choose preset based on overall speed/quality you want. See below for value Y
    Distributor()    # This line may or may not be necessary, try removing it and see if you get more speed
    bat:

    Code:
    "D:\Desktop\x264\x264 32 8bit.exe" --crf 18 --preset veryslow  --level 3.1 -o "QTGMC-Deinterlace.h264"  "D:\Desktop\test\QTGMC-Deinterlace.avs"
    @pause
    Error:

    D:\Desktop\test>"D:\Desktop\x264\x264 32
    8bit.exe" --crf 18 --preset veryslow --level 3.1 -o "QTGMC-Deinterlace.h264" "D
    :\Desktop\test\QTGMC-Deinterlace.avs"
    avs [info]: 704x480p 0:0 @ 60000/1001 fps (cfr)
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    x264 [info]: profile High, level 3.1
    Press any key to continue . . . 7 fps, 1831.48 kb/s, eta 0:09:52
    Quote Quote  
  22. 1) Can you preview the script in vdub? Scrub to the middle and end, any error messages ?

    2) Sometimes MT can cause crashes ; the only stable version is SET's avisynth 2.6 MT - is that the version you are using ?

    3) If you still can't figure it out, try single thread , non MT



    Not related to the crash, but you should probably include --sar 10:11 if you want the AR correct
    Quote Quote  
  23. Not related to the crash, but your sample is TFF

    If you don't specify a field order, avisynth assumes BFF by default. If you assume the wrong field order, you will get jerky fwd/back results

    So for QTGMC you need to add AssumeTFF() to the script before the QTGMC call

    For yadif you can use (mode=1, order=1) if you are bobbing [order =0 would be bff]




    If you're going to ask: "how do I determine field order?", start with this mini guide
    http://neuron2.net/faq.html#analysis
    Quote Quote  
  24. Multithreaded AviSynth does occasionally have problems. Try 1 or 2 threads.

    Originally Posted by poisondeathray View Post
    So for QTGMC you need to add AssumeTFF() to the script before the QTGMC call
    Or use the Info=3 argument in Mpeg2Source().
    Quote Quote  
  25. Ok, thanks. I'll give these suggestions a try and let you know how it goes.
    Quote Quote  
  26. Edit:

    Woops, ignore this post, I figured out what I was asking in it.
    Last edited by ROBO731; 26th Jul 2013 at 21:49. Reason: I figured it out
    Quote Quote  
  27. So the dll which it reports to be missing is msvcr71.dll, I fixed this error. Also, this time it didn't run the encode despite this error. It reported a new error message, I don't know why it's has a problem with SetMTMode even though it ran it fine before:

    avs:

    Code:
    LoadPlugin("D:Desktop\dgmpgdec158\DGDecode.dll")
    #SetMemoryMax(M)  # Optional line. Leave it out at first. See below for value M
    SetMTMode(5, 3)  # See below for value X
    MPEG2Source("D:\Desktop\test\video.d2v")  # DGDecode_mpeg2source, FFVideoSource, AviSource, whatever your source requires
    AssumeTFF()
    SetMTMode(2)
    QTGMC(Preset="Very Slow", EdiThreads=2, FPSDivisor=2) # Choose preset based on overall speed/quality you want. See below for value Y
    Distributor()    # This line may or may not be necessary, try removing it and see if you get more speed
    bat:

    Code:
    "D:\Desktop\x264\x264 32 8bit.exe" --crf 18 --preset veryslow --level 3.1 --sar 10:11 -o "QTGMC-Deinterlace2.h264" "D:\Desktop\test\QTGMC-Deinterlace.avs"
    @pause
    x264:

    D:\Desktop\test>"D:\Users\Robert\Desktop\x264\x264 32
    8bit.exe" --crf 18 --preset veryslow --level 3.1 --sar 10:11 -o "QTGMC-Deinterl
    ace2.h264" "D:\Desktop\test\QTGMC-Deinterlace.avs"
    avs [error]: Script error: there is no function named "SetMTMode"
    (D:\Desktop\test\QTGMC-Deinterlace.avs, line 3)
    x264 [error]: could not open input file `D:\Desktop\test\QTGMC-Dein
    terlace.avs'
    Press any key to continue . . .
    Last edited by ROBO731; 26th Jul 2013 at 22:18. Reason: Added Information
    Quote Quote  
  28. Take out all the SetMtMode() lines. What happens?
    Quote Quote  
  29. Same thing, it says the problem is with line 3 anyway, which is the first one, but I was wondering about that.
    Quote Quote  



Similar Threads

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