Hey guys,
I am trying to encode my anime DVDs to x264 but when I'm done and I play my encoded file, I see way too many frames that look like this:
It's very annoying on the eyes. Is there a way to correct this sort of thing?
Here is a sample clip of my source VOB from the DVD so you experts can analyze it
http://www.mediafire.com/?scs2mgccdw9
I really don't know where to begin but I'm assuming maybe this can be fixed through AviSynth or something?
Thanks if you can help![]()
+ Reply to Thread
Results 1 to 14 of 14
-
-
You can't fix it once you've done it.
DVDs are usually progressive for anime. Was this a recording from TV?Recommends: Kiva.org - Loans that change lives.
http://www.kiva.org/about -
Originally Posted by edDV
Originally Posted by edDV
It's the real retail DVD, not recorded from TV. -
Yes your source is interlaced. You can use mediainfo, and it says top field first
Video #0
Codec : MPEG-2 Video
Codec/Family : MPEG-V
Codec profile : Main@Main
Codec settings, Matrix : Standard
PlayTime : 34s 960ms
Bit rate mode : CBR
Bit rate : 4914 Kbps
Nominal bit rate : 8500 Kbps
Width : 720 pixels
Height : 576 pixels
Display Aspect ratio : 4/3
Frame rate : 25.000 fps
Standard : PAL
Chroma : 4:2:0
Interlacement : Top Field First
Bits/(Pixel*Frame) : 0.820
Audio #0
Codec : AC3
PlayTime : 35s 8ms
Bit rate mode : CBR
Bit rate : 224 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
There's probably more than one way to fix it. I'm not an expert, but this is the script I used (I used dgindex to index the .vob and demux the .ac3 first). It was auto-generated/auto-detected by megui. I await for some of the experts to suggest the proper way to do it and/or the technical explanation
DGDecode_mpeg2source("C:\path\source.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
tfm(order=1).tdecimate(hybrid=3)
I used about 1/3 bitrate, x.264, AAC
http://www.megaupload.com/?d=Q2POGSE7 -
Hey poisondeathray, thanks a lot for taking a swing at it
Although, your encode came out exactly the same as mine. Here is that same frame from your encode:
You can see it still has that same problem during the movements
I don't know why this happens...
I think these bad frames need to be removed somehow.
btw, thanks for showing me mediainfo... I've actually been looking for a program like that these passed few days -
it's going to be hard to get rid of, as it's in your source that way. badly done transfer to PAL format would be my guess.
--
"a lot of people are better dead" - prisoner KSC2-303 -
Originally Posted by aedipuss
So how hard is it exactly? Is it even possible at all? Maybe somebody out there knows something... -
i should have said not possible, as it's hard encoded that way into that single frame. sorry
--
"a lot of people are better dead" - prisoner KSC2-303 -
Originally Posted by aedipuss
Well, thanks to all you guys for your replies and help -
Wow sorry, I should have checked my video first
Anyway you can play with the filters and display them side by side using avidemux, and make adjustments observing the changes "on the fly"
I used decomb telecide with post processing on best match. You can probably fiddle with it and get better results.
Here is the sample
http://www.megaupload.com/?d=OLLKAJYQ
I'm still waiting for some of the village elders to explain the technical explanation and the "correct" way to undo the interlacing...but aedipuss is probably right, that is encoded into the orginal .vob
-
WOW thanks for not giving up on me poisondeathray!
That sample you uploaded appears to be problem-free!
Maybe I didn't waste my money after all? Perhaps there is hope! -
OK so I took all that info you gave me poisondeathray and I've done some research with it for this past hour.
I found this article:
http://www.doom9.org/ivtc-tut.htm#PALTheGoodTheBadAndTheUgly
which seems to describe my exact problem:
THE UGLY: DVDS CONVERTED FROM NTSC TO PAL. These are very common among cheap DVDs. Usually they are created by blending two nearby frames into one new, in a manner that removes 1 frame in 6 (30->25fps). These look really bad and they are a PITA to work with. My solution is usually to let Telecide(guide=2,post=true, blend=false) remain in the script. This will actually remove some of the worst ghosting. Then I add some form of SPATIAL smoothing. Temporal will only add to the ghosting and should be avoided at all costs with this kind of rip. If you think it looks too blurry, then try some sharpening, but be aware that this might enhance the edges of the ghost images, while at the same time remove the rest of the ghost, and you might not like the result.
And it seems that this IS a problem that can be fixed.
I also found this OLD post (http://forum.doom9.org/showthread.php?s=&threadid=30709) at doom9 by some strange unregistered guy that seems to never have gotten noticed. He gets all technical (too technical for me to understand) but I think he gives a way to overcome my exact problem. He mentioned something about Decomb which I see is what you (poisondeathray) used to get rid of the ghosting so I think you are on the right track!
I'm going to do some more research and try some more things, but I just thought I'd throw this out there as it might be meaningful. And I also think it should be possible to fix this ghosting problem by adding something to my avisynth script. -
Thx for the info. I'm slowly learning about this stuff too. I actually have that page bookmarked for future reading & reference (http://www.doom9.org/ivtc-tut.htm)
There are a few guys around here that know this stuff inside out (Jagabo, Manono, a few others...) I was hoping they would chime in.
I just lucked out playing with some filters. It's still not perfect, you can see small horizontal artifacts on the encode I did...so I'm still waiting for one of the "village elders" to school us. -
Originally Posted by poisondeathray
But in the meantime, I have done some more research.
I downloaded Decomb.dll from: http://neuron2.net/decomb/decombnew.html
And then after learning about it and some trial and error I came up with this code for my avisynthscript:
Telecide(order=1,guide=2,post=2,vthresh=25,blend=f alse)
and that created this:
http://www.mediafire.com/?2xdsw9vnhzh
It looks a little better already. I think I'm on the right track but I'm still not 100% sure about everything that I'm doing. I hope one of the experts can provide some input. All I really know is that this has something to do with IVTC/Decomb/Ghosting on PAL Source DVDs. So if you know about this stuff please help
Similar Threads
-
What's best profile for HD-DVD to MKV(x264)
By moh3en in forum Blu-ray RippingReplies: 7Last Post: 3rd Sep 2013, 10:57 -
SYNC PROBLEM: X264 AC3/DTS MKV --->>> Xvid with VBR mp3?
By Randm in forum Video ConversionReplies: 6Last Post: 30th Jul 2013, 17:57 -
problem playing mkv x264 1080p
By ioio in forum Software PlayingReplies: 24Last Post: 10th Oct 2009, 20:33 -
DVD To Something Like x264.mkv
By dhyane in forum Newbie / General discussionsReplies: 3Last Post: 5th Feb 2009, 03:32 -
MeGui HDTV TS to x264 mkv filesize problem
By thunder2008 in forum Video ConversionReplies: 0Last Post: 15th Jan 2009, 02:53