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
+ Reply to Thread
Results 1 to 30 of 44
-
-
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 -
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?
-
"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 -
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 -
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? -
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.
-
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.
-
-
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
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
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 . . .
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
-
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.
-
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. -
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.
-
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 Discs • Best TBCs • Best VCRs for capture • Restore VHS -
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
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
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
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 -
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 -
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 -
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
-
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
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
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
-
Same thing, it says the problem is with line 3 anyway, which is the first one, but I was wondering about that.
Similar Threads
-
What is the best deinterlacing method in vlc qualitywise?
By vincy in forum Video Streaming DownloadingReplies: 8Last Post: 15th Mar 2014, 17:35 -
Deinterlacing
By u222683 in forum EditingReplies: 35Last Post: 10th Aug 2013, 14:42 -
Deinterlacing
By mmbwdpnz in forum Newbie / General discussionsReplies: 7Last Post: 2nd Nov 2012, 17:52 -
deinterlacing
By encodingmonkey in forum Newbie / General discussionsReplies: 2Last Post: 24th Jul 2012, 19:14 -
What is going on with Deinterlacing?!?!
By jieve in forum DVD RippingReplies: 30Last Post: 9th Aug 2009, 15:23