I have a hauppauge PVR 1212 that I've been using to capture HD content and using MeGUI to reencode..have been playing around with different deinterlacing filters lately just trying to get and sharpest picture possible. I know I'll never get 1080p/BR quality but I've been getting some pretty clean results thus far. Was curious if anyone might have suggestions for me as I'm by no means a pro when it comes to avisynth filters but I've done a little bit of homework...here's some deinterlace filters and scripts I've been using lately...
I've been using AvsP to preview the scripts prior to encoding with MeGUI and these are the two deinterlacing filters I like the best so far...
*I know that the content I'm capturing will determine which deinterlacing filter to use...primarily I capture MMA fights: UFC, Bellator, WEC. So I'll always be at the mercy of the quality available from the ringside cameras...
Deinterlace filter: MCBob
Script: (much thanks to C.T.!!)
...this is a script I modified from this one...loadplugin("B:\MeGUI_0.3.5_x86_WithoutInstaller_Of flinePackage\tools\avisynth_plugin\RepairSSE2.dll\ ")
loadplugin("B:\MeGUI_0.3.5_x86_WithoutInstaller_Of flinePackage\tools\avisynth_plugin\mvtools.dll\")
loadplugin("B:\MeGUI_0.3.5_x86_WithoutInstaller_Of flinePackage\tools\avisynth_plugin\medianblur.dll\ ")
loadplugin("B:\MeGUI_0.3.5_x86_WithoutInstaller_Of flinePackage\tools\avisynth_plugin\nnedi.dll\")
loadplugin("B:\MeGUI_0.3.5_x86_WithoutInstaller_Of flinePackage\tools\avisynth_plugin\mt_masktools-25.dll\")
import("B:\MeGUI_0.3.5_x86_WithoutInstaller_Offlin ePackage\tools\avisynth_plugin\mcbob.avs\")
DirectShowSource("F:\Recorded HDTV\UFC on Versus2\UFC on Versus2.mkv\")
ConvertToYV12(interlaced=true)
AssumeTFF()
LSFMod(Strength=310 , Smode=4)
crop( 6, 6, -6, -6)
LanczosResize(1280,720) # Lanczos (Sharp)
Trim(16440,20398)
#denoise
...I kept getting an error on Line 11 - the "MCBob().SelectEven()" command in AvsP. I found that if I just removed the line I still got good results. Prolly a noob move to do but it workedloadplugin("C:\Program Files\AviSynth 2.5\plugins\RepairSSE2.dll")
loadplugin("C:\Program Files\AviSynth 2.5\plugins\mvtools.dll")
loadplugin("C:\Program Files\AviSynth 2.5\plugins\medianblur.dll")
loadplugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainSSE2.dll")
loadplugin("C:\Program Files\AviSynth 2.5\plugins\nnedi.dll")
loadplugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools-25.dll")
import("C:\Program Files\AviSynth 2.5\plugins\mcbob.avs")
AviSource("C:\Documents and Settings\Me\Desktop\capture.avi")
ConvertToYV12(interlaced=true)
AssumeTFF()
MCBob().SelectEven()plus just removing the "MCBob()" and leaving "SelectEven()" command sped up the encode alot (LOL!!) while leaving "SelectEven()" in the script made no difference as far as I could tell. Also got an error with the "RemoveGrain" filter, so I removed that too and since the filter still worked
Deinterlace filter: Decomb
Script: (much thanks to reepa!!)
...at the suggestion of a forum (this is how much I suck, I have to steal scripts from other people lol) post I gave this filter a try while reducing the framesize by half both ways (height + width). This is the cleanest I've been able to get my captures, not sure if that's due to the filter itself or cuz I'm droping down to a smaller framesize (1920x1080 -> 960x540 vs 1280x720), and I didn't see all that much of a different between a LSFMod strength of 310 and 400. I couldn't tell any different between "AssumeTFF().Field Deinterlace()" and simply "FieldDeinterlace()" so that's why it's in there...was playing around with both versions in AvsP. I also tried a new resize filter in this one...I'll also run a script soon combining Decomb + Lanczos.DirectShowSource("F:\Recorded HDTV\UFC on Versus2\UFC on Versus2.mkv")
LoadPlugin("B:\MeGUI_0.3.5_x86_WithoutInstaller_Of flinePackage\tools\avisynth_plugin\Decomb.dll")
#AssumeTFF().FieldDeinterlace()
FieldDeinterlace()
crop( 6, 6, -6, -6)
Spline64Resize(960,540) # Spline64 (Sharp)
#denoise
LSFMod(Strength=400 , Smode=4)
Trim(176027,199944)
I read on a website (now outdated) on the different techniques deinterlacing filters employ (100fps.com). From what was explained there, it looks like Bob+Weave would be a good deinterlacing method to use...I've tried Bob by itself and felt it kind of softened the picture up. I tried looking for a Bob+Weave filter but wasn't able to locate one. Unless there are some options in the Bob filter I should have been using and wasn't...anyone care to point me in the right direction? Thanks in advance!!
Now...I once tried a script that would take an interlaced DVD source (VOB) and create a 60fps h264 vid...albeit "false 60fps" but it did clean up the motion
Script:Of course the "Crop" command would have to be modified. Just to say I tried it on my 1080i captures I ran an encode with this script and it didn't work...does anyone know of a script that would work on 1080i/29.970fps content in this fashion? The reason I bring this up is cuz this script in this thread is it doesn't require a deinterlacing filter to give me a progressive videofile. This would be sweet as I'd be able to keep my 1920x1080 framesize if I so desired and retain quality...or, as much quality as I can get with component cablesMPEG2Source("encode.d2v",cpu=0)
AssumeTFF()
yadifmod(mode=1, edeint=nnedi2(field=-2))
Crop(0,0,-0,-0)![]()
+ Reply to Thread
Results 1 to 4 of 4
-
Last edited by FTW; 20th Aug 2010 at 12:51. Reason: addition of info
-
to say I tried it on my 1080i captures I ran an encode with this script and it didn't work
If you want to learn a procedure to determining if it's progressive, or telecined, or interlaced (these are the basic formats you will encounter) look here:
http://neuron2.net/faq.html#analysis
...I kept getting an error on Line 11 - the "MCBob().SelectEven()" command in AvsP. I found that if I just removed the line I still got good results.
MCBob() is an external function , you need to download the .avsi and put it in your avisynth\plugins folder for it to autoload. It also requires pre-requisite filters
http://forum.doom9.org/showthread.php?t=124676
TempGaussMC_Beta2 is another good deinterlacer. Note the high quality deinterlacers are very slow to process (trade off between speed and quality)
http://avisynth.org/mediawiki/TempGaussMC
MPEG2Source("encode.d2v",cpu=0) -
true. I understand that I could have either a fully interlaced, partially interlaced, etc. But at least for the captures that I've been doing with the Hauppauge it seems pretty consistant to get the mouse teeth during all motion in the captures when when I view the source file with MediaInfo it will state the video was interlaced. So I'm not actually interlacing...am I just getting rid of the bottom field with the "AssumeTFF()" in the script and "simulating" deinterlacing? I recently ran an encode with the first script I mentioned and the resulting video was progressive...
the same would be acheived if I simply ran the command "SeparateFields().SelectEven()" and then just resized the frame in half from 1920x1080 -> 960x540, right?
MCBob() is an external function , you need to download the .avsi and put it in your avisynth\plugins folder for it to autoload. It also requires pre-requisite filters
http://forum.doom9.org/showthread.php?t=124676
TempGaussMC_Beta2 is another good deinterlacer. Note the high quality deinterlacers are very slow to process (trade off between speed and quality)
http://avisynth.org/mediawiki/TempGaussMC
MPEG2Source("encode.d2v",cpu=0)
Now that I think about it, when I said it didn't work I didn't specify how...it's not that I wasn't able to load the script of I got an error while encoding...it didn't work in the sense that I didn't get a video file that seemed to run at 60fps. Mediainfo states a 59.940 framerate and MPCHC lists the framerate at 60 while playing but in KMPlayer the video seems to run at half speed and with MPCHC the video appears to run at normal speed...the smoothness with which the video runs when working with a DVD source just isn't there. but no worries, I don't really care if this 60fps script doesn't work... -
Film sources recorded with the HD PVR can be restored to 23.976 fps progressive frames with:
WhateverSource()
TFM()
TDecimate()
About the only things that arn't film sources are news and sports.Last edited by jagabo; 20th Aug 2010 at 20:02.
Similar Threads
-
1080i hdtv transcoding issues
By topsyturvy in forum Video ConversionReplies: 9Last Post: 1st May 2011, 05:49 -
What are the best filters for VHS captures?
By mpwr5 in forum Video ConversionReplies: 12Last Post: 2nd Oct 2010, 01:52 -
Convert HDTV 1080i to DVD5
By marvell in forum DVB / IPTVReplies: 6Last Post: 24th Mar 2010, 06:19 -
Avisynth Deinterlace Help
By pureimpure in forum Video ConversionReplies: 12Last Post: 6th Sep 2009, 08:23 -
HDTV: 1080i or 1088i, which is it ??? .. (SOLVED)
By vhelp in forum DVB / IPTVReplies: 12Last Post: 3rd Feb 2008, 21:53