Hi All
I have some progressive XviD encodes done at 29.97 fps whereas the source was 23.936/24 fps - most of these originated from 352x240 mpeg1 clips
These XviD encodes exhibit this behaviour:
The first 3 frames are good and the next 2 frames are blurry -> GGG BB GGG BB GGG BB
I tried
Telecide(1)
Decimate()
Which removes one of the blurred frames but the other blurred frame still exists - is there a way to "blend the blurry 4th and 5th frames" into one frame so there is no blurriness?
Is there anything I can do to fix this by re-encoding. What Avisynth script would I use or VDub settings?
TIA
+ Reply to Thread
Results 1 to 11 of 11
-
-
You can try the CDeBlend filter but a video that was blend deinterlaced, converted to VCD, then to Xvid may not deblend very well.
http://avisynth.org/RemovingBlendedFilmFramesOnVcds
http://avisynth.org/mediawiki/C_deblend -
FixBlend IVTC and now its successor, SRestore, was designed for that (taking a 5 frame telecined and deinterlaced sequence and restoring 4 clean frames), and does a pretty decent job. Both are found in the R_Pack:
http://forum.doom9.org/showthread.php?p=673243#post673243
But as jagabo says your source isn't exactly ideal, as it was designed for DVDs, and not XviDs that have been resized and reencoded a couple of times already -
Originally Posted by manono
The OP will also need Donald Graft's Decomb package and the Average() function:
http://neuron2.net/decomb/decombnew.html
https://forum.videohelp.com/topic330377-30.html#1710860 -
hey jagabo and manono
I checked out the forums that you linked to and downloaded these files:
restore24.rar, R_pack.zip, Average_21Oct05.dll, Average_v11.zip, RemoveGrain-1.0.rar, TIVTCv105.zip, masktools-v2.0a35.zip
One version of Average.dll is 12/16/2007, the other is 08/10/2007 [_21Oct05.dll] which one should I use?
This is intense stuff - I decided to put it off to later - what I did do was use Decimate(5) which gave me 23.976 fps and only one blurry frame out of 4 - my logic being that 1/4 [25%] is better than 2/5 [40%] - and the XviD encode that I did looked OK on my TV.
I actually had the same situation with an x264 in a MKV container that I used Lagarith codec for the Decimate(5) then XviD.
BTW I have lots of old 352x240 MPEG1 files - what is the best way to encode to XviD - presuming that they originated as 24 fps film?
And for DVDs that originated from film do I just use Decimate(5) as well?
TIA -
If I were you I'd use the FixBlendIVTC_v091a found in the "Old" folder. It's now been incorporated into SRestore, but SRestore also includes the former CDeblend and MRestore, and thus requires reading and understanding the doc in order to set it up correctly just for unblending telecined and blend deinterlaced film. FixBlendIVTC does only that and is pretty easy to set up. All the information needed is in the .avs itself.
I think I'd always use the newer version of any of the DLLs.
BTW I have lots of old 352x240 MPEG1 files - what is the best way to encode to XviD - presuming that they originated as 24 fps film?
And for DVDs that originated from film do I just use Decimate(5) as well? -
Thanks manono
Looks a lot easier to use this FiXBlendIVTC . . .
BTW, I thought a 352x240 MPEG1 can never be interlaced - am I missing something here?
Also, if I have a DVD that originated from 24 fps film and want to encode to MPEG4 or X264, then I would use the "D2V using Honor Pulldown Flags in DGIndex and apply a full IVTC (The old Telecide().Decimate(5) one-two punch)." ?
TIA -
NTSC VCD isn't interlaced. A film source will either have every 5th frame a duplicate (1, 2, 3, 4, 4, 5, 6, 7, 8, 8...) or you will see blend deinterlaced frames in 2 of every 5 frames like your earlier sample. The former can simply be decimated to 24 fps. The later needs FixBlendIVTC.
As manono said, if a DVD source encoded progressive with 3:2 pulldown flags (these tell the DVD player how to produce 59.94 fields from the 24 fps frames) you can use DgIndex with Force Film to retain those progressive 24 fps frames. If it has hard pulldown you need to IVTC. -
NTSC VCD isn't interlaced.
-
Hi jagabo and manono
Thanks again for your help.
I did try the FixBlendIVTC version: v0.9b - 20.12.2006 [not _v091a]
It worked! my fps encoding speed was cut in 1/2 but no big deal - also, I didn't run LimitedSharpen() [didn't have it] but I did try LimitedSharpenFaster() but I did not like the result - so I removed it - and I also used Deblock() 'cause of the blockiness I noticed on the clip
I just compared the two clips on my TV, the one with FixBlendIVTC is definitely better looking than the one with just Decimate(5)
Thanks again.
Similar Threads
-
streaming of h.264 encoded file
By asifjanjua88 in forum ProgrammingReplies: 4Last Post: 10th Mar 2012, 03:41 -
ConvertXToDVD Subtitle encoded file?
By theamilien in forum SubtitleReplies: 0Last Post: 16th Aug 2010, 04:07 -
How to fix MPEG encoded with wrong aspect ratio?
By Talayero in forum Video ConversionReplies: 2Last Post: 21st Oct 2008, 09:29 -
x264 encoded mkv/mp4 transcode to xvid encoded avi
By graysky in forum Video ConversionReplies: 4Last Post: 9th Aug 2008, 18:55 -
How to fix this strangely encoded video?
By PTRACER in forum Video ConversionReplies: 19Last Post: 25th Sep 2007, 20:51