VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. 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
    Quote Quote  
  2. Member edDV's Avatar
    Join Date
    Mar 2004
    Location
    Northern California, USA
    Search Comp PM
    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
    Quote Quote  
  3. Originally Posted by edDV
    You can't fix it once you've done it.
    Yep, this I know. I will have to encode it all over again. I just don't know how to do it the right way so I wont have this problem.

    Originally Posted by edDV
    DVDs are usually progressive for anime. Was this a recording from TV?
    The source is DVD, I even uploaded the sample VOB file (the link is in my post above). Can you take a look at it please? I don't think it's progressive.

    It's the real retail DVD, not recorded from TV.
    Quote Quote  
  4. 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
    Quote Quote  
  5. 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
    Quote Quote  
  6. aBigMeanie aedipuss's Avatar
    Join Date
    Oct 2005
    Location
    666th portal
    Search Comp PM
    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
    Quote Quote  
  7. Originally Posted by aedipuss
    ...badly done transfer to PAL format would be my guess.
    Yeah that's what I was thinking... uggghh I can't believe I wasted my money on this crap

    So how hard is it exactly? Is it even possible at all? Maybe somebody out there knows something...
    Quote Quote  
  8. aBigMeanie aedipuss's Avatar
    Join Date
    Oct 2005
    Location
    666th portal
    Search Comp PM
    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
    Quote Quote  
  9. Originally Posted by aedipuss
    i should have said not possible, as it's hard encoded that way into that single frame. sorry
    Guess that's just my luck...

    Well, thanks to all you guys for your replies and help
    Quote Quote  
  10. 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



    Quote Quote  
  11. 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!
    Quote Quote  
  12. 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.
    OK now we know what it's called (ghosting)

    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.
    Quote Quote  
  13. 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.
    Quote Quote  
  14. Originally Posted by poisondeathray
    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.
    Yeah hopefully one of those experts can end this madness for me

    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
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!