I'm sure this is a nub question but here goes....
I have a .vob file of a music video. Looking at the video through a simple avs script in virtualdub, the video is interlaced (and I'm pretty sure bottom field first.)
I'm trying to convert this to any FPS....doesn't really matter to me at all what the FPS ends up at....my goal is to properly deinterlace the video. I tried loading the dgindex d2v file into MeGUI and using the analyze video, and using the created script. The resulting video file seems to have a jitter every one or so seconds. I used the following script from another webpage I found about converting :
xxxSource(“25i.xxx”)
AssumeTFF() # or AssumeBFF()
LeakKernelBob(order=1) # or order=0
ChangeFPS(23.976)
LanczosResize(width, height)
Obviously I modified it to load my music video and set it for BFF. That video file has the same jitter. The interlacing is gone but the jitter is bad. Every second or so. If I step through the frames in virtualdub, it looks like some of the things on the screen are ghosting. Like it takes the next (or sometimes the previous) frame, and adds it to the current frame but slightly translucent. What can I do to fix this? Now I'm not sure of the "ghosting" issue is what's causing the jitter effect or not. I just need advice on a correct avs script to process this file to deinterlace it and fix the jitter that I get after the deinterlace.
EDIT 1 : Here a sample clip : http://www.mediafire.com/file/dzie2d2kki3/KardinalOffishall-Dangerous-Sample.m2v
EDIT 2 : More information on this issue. When I play the original interlaced 25 FPS vob through zoom player, zoom player deinterlaces the video on the fly and the video plays back smooth as butter. When I play the deinterlaced video converted with MeGUI, the video stutters. Better description of what I'm calling jitter is this : about every second or so, the video seems to speed up for a split second and then slow down back to normal speed....does that about every second.
+ Reply to Thread
Results 1 to 18 of 18
-
-
If the source was 25i , why changefps(23.976) ?
changefps will add/delete frames, so you are bound to get choppiness (maybe what you described as jitter?)
it might help to post an unprocessed source sample, the ghosting might be blending frames or something else - hard to say without seeing it. At least try taking changefps(23.976) out of the script, then preview the .avs in mpc before encoding it
I'm not familiar with leakkernalbob() , I assume it's a bob-deinterlacer? -
I only added the changefps based on another post. I did not add that changefps to the avs script created by MeGUI's avi script creator, and I had the same jitter. How do I edit my vob to only 10 or so seconds so I can upload the sample?
EDIT : I have VideoReDo...maybe I can cut the vob with that...
And here's the avs script generated by MeGUI that had the same jitter issue :
DGDecode_mpeg2source("C:\Documents and Settings\alcOre\My Documents\Downloads\Kardinal Offishall - Dangerous\Kardinal Offishall - Dangerous.d2v", info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
Load_Stdcall_Plugin("C:\Program Files\megui\tools\yadif\yadif.dll")
Yadif(order=0)
crop( 8, 4, -8, -6)
Spline36Resize(436,320) # Spline36 (Neutral)
Undot() # Minimal Noise -
Ok I'll make a sample and post it...not sure where to upload it to. I think I have webspace from my isp...
-
If its <5mb, you can upload it here. Or use a free site like mediafire.com or megaupload.com
-
-
I could be wrong, but it really looks field blended to me. Many people use SRestore() to fix blended fields
I renamed the file 1.m2v
Load_Stdcall_Plugin("PATH\yadif.dll")
LoadPlugin("PATH\DGDecode.dll")
MPEG2Source("1.d2v")
Yadif(order=0, mode=1) #BFF
SRestore(FRate=25)
http://avisynth.org/mediawiki/Srestore
Download the srestore.avsi from the wiki, and put it into the avisynth/plugins folder . You also need the 4 required filters listed on that page as pre-requsites -
I'm a nub so no idea what field blended is (or srestore) but I'll give that a shot and see how it looks to me...
What exactly does SRestore(FRate=25) do? -
Interlaced (as opposed to progressive) content consists of fields or half-frames. So 25i is really 50 fields per second. If the video is field blended, some of the fields are mixed up causing the blurring
The process I went thru to determine it was field blended , and the field order (ie. bff or tff) is outlined here
http://neuron2.net/faq.html#analysis
Srestore() is the newer revision avisynth function for mrestore(), which both work to fix/unblend the fields; you can read more about it here if you want http://forum.doom9.org/showthread.php?p=1186623#post1186623
Also I didn't do the crop/resizing, so you can add that back into the script as you see fit -
You need to place the .dll files in the avisynth/plugins directory.
This might be a dumb way of doing it, but I place the original folder & contents in the avisynth/plugins folder, and copy the .dll separately to the avisynth/plugins - this way it's organized so I know exactly what version I have when a new version comes out, and which .dll to replace. It gets very messy when you accumulate many filters... -
a little better but still stuttering. not as bad though. I have another source for the video that is 29.97i that I can use...I just wanted to use the 25p source cause it was higher quality, but that stuttering is gonna drive me nuts.
poison...would you mind posting that sample clip I posted earlier after you transcoded it to h264? I just want to compare yours to mine to see if I'm doing something wrong. -
The video was converted to PAL from a 24fps film source. The basic script would go:
Yadif(Mode=1,Order=0)#or your favorite bobber - the sample was BFF
SRestore(Frate=24)
Here's an MP4 (x264, 3MB in size) of the sample:
http://www.mediafire.com/?2wur2nmndjn -
sweet....thanks both of you for your help....i really appreciate it. ps...how would one go about figuring out it was converted from 24 fps? Also, since it was originally 24 fps, would it be a good idea to use ChangeFPS(24) in the script or should I just leave it at 25fps?
EDIT to that last question : I just did a SRestore(24) and it looks great but its now back to 24fps without adding ChangeFPS(24). But the sample you sent me is at 25fps. Why is your sample 25fps and mine is 24fps? -
I must admit that your edit threw me for a loop. I checked the MP4 in both GSpot and MediaInfo and sure enough they both said 25fps. I checked the XviD4PSP log and it said 25fps. I checked my original script in VDubMod and it said 24fps (which I knew already). So, evidently for some reason I don't quite understand (it was reading the framerate off of the D2V, maybe, or there was some setting in XviD4PSP I overlooked), it changed the framerate. It speeded it up; it didn't add any extra frames. So, I did it over again being more careful with the settings and here's the same thing at 24fps. Like I said, I used the same script both times.
http://www.mediafire.com/?ymn5mywzjit
The FRate setting sets the framerate (24fps in this case). The default SRestore is for 25fps. You shouldn't need to use ChangeFPS.
how would one go about figuring out it was converted from 24 fps? -
well...doing that to figure it out is beyond my current ability, and I'm not really currently interesting in teaching myself how to do that process. I'm more than satisfied with the results from using srestore(24)...thanks again.
Similar Threads
-
Pal 25i to Ntsc question
By spiritgumm in forum Video ConversionReplies: 17Last Post: 15th Dec 2011, 18:16 -
Pal 25i Wide to Ntsc problem
By spiritgumm in forum Video ConversionReplies: 6Last Post: 15th Jun 2011, 18:41 -
25i to 24p?
By maxeemo in forum Video ConversionReplies: 14Last Post: 19th Feb 2011, 06:29 -
Home Movie conversion help
By franksvideos in forum Newbie / General discussionsReplies: 2Last Post: 1st Apr 2010, 09:36 -
25i XviD to DVD
By FrancoAnselmo in forum Video ConversionReplies: 6Last Post: 20th Jun 2008, 23:39