I've googled around and tried a few guides... can someone recommend a *good* guide that shows the correct method to deinterlace an mpeg-2 stream (capped w/ my pvr-250) when encoding to xvid?
+ Reply to Thread
Results 1 to 10 of 10
-
http://encoding.n3.net <-- for all your DVD and CD backup needs!
-
AutoGK does a pretty good job and will encode for you.
The following is from a basic script provided elsewhere by Manono
LoadPlugin("C:\Path\To\DGDecode.dll")
LoadPlugin("C:\Path\To\LeakKernelDeint.dll")
MPEG2Source("C:\Path\To\Video.d2v") #or AVISource if an AVI
AssumeTFF()#if TFF, Assume BFF() if BFF
LeakKernelBob(Order=1)#if TFF, Order=0 if BFF
I am not saying this is the best method, however it is certainly worth a try.Read my blog here.
-
Interesting, do you have a link to the original source? Also, how does one account for the differences 30 fps --> 24 fps imparts on the audio stream? I would think this would produce A/V sync errors?
http://encoding.n3.net <-- for all your DVD and CD backup needs! -
Originally Posted by graysky
Take a stack of 30 playing cards. Flip them over at 30 cards per second. It takes exactly 1 second to flip them all over. Now throw away 6 cards, you have only 24 cards left. Flip them over at 24 cards per second. Once again it takes exactly 1 second to flip them all. -
Cool... thank makes sense. Problem is with the method. It simply doesn't work
The resulting video looks horribly scrambled.
The source video is an mpeg-2 stream captured via an PVR-250 from an analog cable NTSC feed. The goal is to encode to an xvid avi file. My understanding is that I need to either inverse telecine or deinterlace prior to encoding. ...so am I interested in inverse telecine or deinterlacing? Also, can you point me to a good guide to do so?
Thanks.http://encoding.n3.net <-- for all your DVD and CD backup needs! -
Why don't you upload a small (10-15 seconds with motion/movement) section of this video for us to have a look. Then one or another of us can tell you what you have, and how to treat it. Or take guns1inger's advice from the first response and let AutoGK handle it.
The best guide on how to tell what your source is like and how to IVTC and/or deinterlace, is one I was involved in writing several years ago. The methods/software/filters have changed considerably since then, but the basics are still sound:
http://www.doom9.org/ivtc-tut.htm -
It appears that the framerate option in vdmod works when set to:
Source rate adjustment: No Change
Inverse telecine (3:2 pulldown removal): Reconstruct from fields - adaptive
That at least gives me an avi that's ~24 fps. If you believe the math for Qf, encoding fewer fps allows you to use less bitrate for a given Qf.
Qf = bitrate/(v. res x h. res x fps) x 1000
Therefore, the lower that fps term is at a given bitrate, the greater Qf will be... thoughts?http://encoding.n3.net <-- for all your DVD and CD backup needs! -
Think of it like this: If you display a JPG picture for one hour you have a one frame per hour video. If your JPEG file is ~150 KBytes (reasonable for a 720x480 image) that's about 1 Mbit per hour. That works out to about 0.28 Kbits per second.
By the way, VirtualDub's automatic IVTC isn't very good. Better than nothing but you can do much better with AVISynth filters. -
Originally Posted by graysky
The reason you are reducing frame rate to 24fps (23.976 to be more precise) is for transmission efficiency. It is the job of the hardware or software player to process 24fps for display. A DVD player will re-telecine to 29.97 fps or if in progressive mode, repeat frames in 3 then 2 order to get 59.94 fps playback.
Computer software players will convert 24 fps to your display card's refresh rate. -
MeGUI is the answer to my problems.. thanks to all who replied.
http://encoding.n3.net <-- for all your DVD and CD backup needs!
Similar Threads
-
need hq xvid ffmpeg preset for kdenlive, with deinterlacing
By codemaster in forum LinuxReplies: 0Last Post: 3rd Jul 2011, 00:56 -
Deinterlacing when going from MPEG-2 to WMV
By courtneye in forum Video ConversionReplies: 1Last Post: 9th Jul 2010, 09:24 -
Deinterlacing problems with MPEG Streamclip
By evolker in forum MacReplies: 5Last Post: 1st Aug 2009, 05:52 -
How to avoid PC deinterlacing when doing interlaced mpeg playback to TV?
By erik1958 in forum Newbie / General discussionsReplies: 3Last Post: 19th May 2008, 09:56 -
The definitive guide to the total nube!
By stevezygote in forum Newbie / General discussionsReplies: 2Last Post: 9th Nov 2007, 16:02