Help with deinterlacing on a budget?

mpgxsvcd

Veteran
Ok I have been trying and trying to get a clean deinterlace from the 1080i footage without buying expensive software. No matter what I have tried I have not been able to successfully get an interpolated 1080p @ 60 FPS video out of the 1080i AVC_HD files.

I have tried AVS video editor, Sony’s Video Vegas, VirtualDub, Womble, Windows Movie maker 7, descaler, ffdshow, DIVX converter, and a few other programs that I don’t even know the names of. The best I could do was to get a properly deinterlaced 1080p @ 30 FPS video out of Sony’s Video Vegas and that program doesn’t really qualify as inexpensive.

So what has everyone else used out there? I only can take suggestions for the PC. I know this can be done on a MAC but I am not a Mac guy.

I know ffdshow is capable of encoding However, I found that most programs that can utilize it for encoding cannot open the AVC-HD files. Is there a simple way to get any program to open the AVC-HD files? Can you post instructions on how to do that? I tried unsuccessfully to get VirtualDub to open the AVC-HD files.

I have some more baseball pitching videos that I am trying to do some inexpensive but very cool slow motion with. I was able to process the 1080p @ 24 FPS, 1080p @ 30 FPS, and 720p @ 60 FPS files easily. I have spent the better part of a week on the 1080i files and I haven’t really gotten anywhere.



--
GH2, GF1, & ZS3 Sample movies
http://www.youtube.com/user/mpgxsvcd#play/uploads
http://vimeo.com/user442745
GF1 Pictures
http://www.dpreview.com/galleries/4222674355/albums
 
learning curve is a bit steep, and the processing is slow, but you can't get a better bob-deinterlacer than avisynth's QTGMC

you can open avchd files with avisynth scripts as well in vdub

avisynth also has motion interpolation functions like mflowfps to generate intermedate frames (like twixtor, AE's pixel motion) , so instead of bob deinterlacing to 1080p60, this generates intermediate "inbetween" frames so you get 1080p120 . Of course there are side effects (like edge dragging, but all the motion interpolation programs have this issue, because they aren't "real" frames from the camera)

you can frameserve avisynth scripts into other programs, using avisynth virtual file system (AVFS) , and some programs have avisynth importers (e.g. older versions of premiere pro, CS5 avs importer is buggy right now)
 
I have been playing with avisynth for the past week. I have the slow motion interpolation working well. However, I haven't been able to get it to open an AVC-HD file. Is there a good video tutorial or perhaps some detailed instructions? If I can just open the file in VirtualDub I will be able to get what I want out of it. Thanks for your help.
 
1) install avisynth, haali media splitter , and ffdshow . If you are using Win7 , you need win7dsfiltertweaker to enable ffdshow (to override the default microsoft decoders)

2) Write a script in notepad in the same directory as your files (if it's in a different directory, you have to specify full pathnames), and save it, then rename extension to .avs from .txt

e.g.

DirectShowSource("0001.mts")


That's a basic script to open a video

Using Vdub filters will necessitate an RGB conversion, and unless you stay in RGB, Y'CbCr<->RGB conversions cause uncessary quality loss. If you stay in Y'CbCr (ie. do all your filtering in the script) , then you avoid that
 
1) install avisynth, haali media splitter , and ffdshow . If you are using Win7 , you need win7dsfiltertweaker to enable ffdshow (to override the default microsoft decoders)

2) Write a script in notepad in the same directory as your files (if it's in a different directory, you have to specify full pathnames), and save it, then rename extension to .avs from .txt

e.g.

DirectShowSource("0001.mts")


That's a basic script to open a video

Using Vdub filters will necessitate an RGB conversion, and unless you stay in RGB, Y'CbCr<->RGB conversions cause uncessary quality loss. If you stay in Y'CbCr (ie. do all your filtering in the script) , then you avoid that

THANK YOU. That worked perfectly!
 
Look at Post #52 of
http://www.dvxuser.com/V6/showthrea...l-amp-transcoding-workflow-via-AviSynth/page6
I have great success using this workflow and fddshow to compress the 24fps videos... Al


Hi - removing pulldown (inverse telecine) and deinterlacing are 2 different concepts

IVTC returns the native progressive 24p content that has been "stored" in a 60i format

Deinterlacing converts interlaced material to progressive e.g. 60i to 60p , or 60i to 30p for single rate deinterlacing
 
Look at Post #52 of
http://www.dvxuser.com/V6/showthrea...l-amp-transcoding-workflow-via-AviSynth/page6
I have great success using this workflow and fddshow to compress the 24fps videos... Al

I am working with the GH2's 1080i @ 60 Fields per second video as opposed to the GH1's 1080i @ 24 FPS.

What I want to do is find the best way to do slow motion without purchasing any programs. Right now I am encoding my 720p and 1080i files to Huffy and then using the AVS script below to get to 240 FPS. Is there a better Free way than this to get good interpolated slow motion?

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mvtools.dll")
source = AVISource("G:\My Documents\FileName.avi",false)
oSource=source
source=ConvertToYV12(source)
source=AssumeFPS(source,60)
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1)
# we use explicit idx for more fast processing
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1)
cropped = source.crop(4,4,-4,-4) # by half of block size 8
backward_vec2 = cropped.MVAnalyse(isb = true, truemotion=true, pel=2, idx=2)
forward_vec2 = cropped.MVAnalyse(isb = false, truemotion=true, pel=2, idx=2)
fSource=source.MVFlowFps2(backward_vec,forward_vec,backward_vec2,forward_vec2,num=240,idx=1,idx2=2)
fSource=AssumeFPS(fSource,60)
return fSource
 
Is there a better Free way than this to get good interpolated slow motion?

Besides the variations on MVTools (there are different variations of that script you are using you could try, but they all produce some side effects of some sort, just like twixtor pro) , there are no other decent free implementations of motion interpolation that I am aware of

I use nuke, AE and twixtor , and I've compared them extensively - they actually produce similar results to mflowfps but are actually slower to process. The "benefit" of using something like twixtor pro is that you can use mattes to reduce the edge dragging and improve the motion interpolation.

I'm assuming your "filename.avi" has been bob-deinterlaced correctly? (i.e 1080p60)

Another technique of improving the interpolation is pre processing with stabilization (smoother footage in the first place will yield better results, as there is less magnitude "jumps" between frames to interploate, reducing interpolation error)
 
I reshot some clips of me throwing a baseball at my GH2 on a tripod(That just sounds bad when you read it back). However, this time I shot with a fixed focus point and it was zoomed in a little further. I was concentrating on trying to slow the motion of the pitcher down instead of the ball. I wanted to see if this method of filming could be used to break down pitching motion of kids. To help them improve their technique.

Here is the original video where I was trying to show focus speed of the camera. The new video uses face detection to always keep the pitcher in focus instead of the ball.

http://www.youtube.com/watch?v=BEJ-otHLOhw


This video was shot in 1080p @ 24 FPS and some shots in 720p @ 60 FPS. I just simply slowed down the frame rate in post processing without any interpolation. That is why the motion is so poor in this video.


I shot in every AVC-HD format the GH2 offers so I can compare them all. Thanks to everyone’s help I finally have been able to properly deinterlace the 1080i footage without any quality loss.

Now the 1080i file actually looks good when I play it normal speed. It is definitely on par with the 720p file though. However, once I start slowing the motion down both the 720p and 1080i files showing the ghosting trails. I am messing around with the 1080p @ 30 FPS slow motion footage to see if it holds up any better because of its higher(24 mbps) bit rate.

I should have quite a nice little slow motion video when I am done. I can also share with you all which method and formats work best.
 
I just got some excellent results using AVIsynth and the 1080p @ 30 FPS mode. It had very smooth and detailed motion for the pitcher's arm but it falls apart for the baseball because it is moving so fast.
 
That's where using some of the paid options can help with the edge dragging

By using foreground and background mattes, you can limit the artifacts around the baseball (or any moving object)

The higher the fps interpolation (more "inbetween" frames generated) , the more problems with artifacts
 
Back
Top