VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    Sep 2002
    Location
    Sweden
    Search Comp PM
    Hello
    This is a sample of a commercial dvd, I dont know what is wrong with it.
    I copied bits and pieces of it 1 min total, I did not reencode just straight copy.

    NEW LINK: http://files.videohelp.com/u/27595/sample.mpg

    https://minfil.org/05tfieb7be/sample.mpg
    mirror
    http://speedy.sh/Exbz4/sample.mpg
    mirror
    http://www.megafileupload.com/X0f/sample.mpg

    Its annoying to add software de-interlace filters each time i want to see it., so i have plans to reencode it.
    Does anyone know a good deinterlace script or something for this file?
    Last edited by leffe; 18th Apr 2015 at 16:08.
    Quote Quote  
  2. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    A little tip.

    Rather than use slow download sites, just post your clip straight as an attachment in your post. Much quicker to download then.

    The clip is interlaced(TFF) but you need to provide more info of the initial source - tv, film etc. Personally, I do not have issue with it and quite easy to de-interlace when playing back if it bothers you. Media Player de-interlaced automatically. With VLC you have to set de-interlace on and select method.

    Do not de-interlace/re-encode. You lose a lot of quality.
    Quote Quote  
  3. Geez, three download places and they all suck. 20 minutes for 29MB?

    Yep, just your average ordinary poor quality interlaced video.
    Quote Quote  
  4. Member
    Join Date
    Sep 2002
    Location
    Sweden
    Search Comp PM
    Ok i thought attachment was for smaller files only.

    My dvdplayer cannot do more than progressive/interlaced mode.
    And I remember even when I bought the dvdbox in 2004.
    before flatscreentvs that i had trouble with the interlacing,
    then i had another dvdplayer.
    So i have tried the dvds on 2 dvdplayers and 2 tvs.

    Maby its my tvs that is on the lower end really cheap
    and that why im seeing interlacing,ON THIS DVD 99% of my dvdcollectin plays fine.

    xbmc make it kind of better, but notas properly deinterlaced.

    Lets say I still wanted to reencode the dvds, what would you suggest?


    The dvds is storebought pal 25fps. (and pal doesnt do pulldown or so?)

    I have tried in avisynth but still lines.

    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\LeakKernelDeint.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
    MPEG2Source("C:\encodetest\sample.d2v")

    LeakKernelDeint(Order=0,threshold=1,sharp=true)
    Quote Quote  
  5. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    I do not use avisynth but have read a lot about it on here.

    To properly de-interlace, if you really insist on doing it, you must separate the fields. Then filter. I have not seen that particular deint filter before. And then join the fields.
    Quote Quote  
  6. The video is out-of-phase PAL. The original video contained progressive frames but when it was made into an MPG file the pairs of fields were combined in to successive video frames. All you need is TFM().

    Code:
    Mpeg2Source("sample.d2v", Info=3) 
    TFM()
    That will leave what looks like comb artifacts in some shots (the jogging shot for example) because of the compression artifacts. You can reduce those with vInverse(). You can use Mpeg2Source's deblocking feature to reduce the blocking but it's a little too strong. Something like Deblock_QED() (in interlaced mode) will leave a little more detail.

    https://forum.videohelp.com/threads/361152-Correct-usage-of-Deblock_QED-for-Interlaced-...89#post2290489
    Last edited by jagabo; 18th Apr 2015 at 17:09.
    Quote Quote  
  7. Member
    Join Date
    May 2014
    Location
    Memphis TN, US
    Search PM
    [EDIT] Oops, jagabo beat me to it. True, originally duplicate frames split into top/bottom fields and interlaced. Run QTGMC or yadif on it or even bob(), you'll see each "field" twice. But there's a phase problem as jagabo sez. Things still look weird even if you play it 50fps progressive.

    TFM(mode=0) worked for me, too.

    How do they get out of phase, anyway?
    - My sister Ann's brother
    Quote Quote  
  8. Originally Posted by LMotlow View Post
    How do they get out of phase, anyway?
    Broadcast BFF, captured TFF. Or vice versa.
    Quote Quote  
  9. Oops! There are some other problems. I'll have to look deeper.

    OK, I think I have it right now. Yes, the MPG file has out-of-phase fields. But it looks like this was originally interlaced video and it was converted to progressive frames by discarding one field and copying the remaining field. That left a lot of aliasing artifacts. So I separated the fields and used nnedi3 to convert fields back to frames with less aliasing. That worked but the odd frames (after discarding one orphan frame at the start) were shifted down by one scan line. Since pairs of frames both originated from the same field of the original video you could just discard the even or odd frames. But I thought I would merge pairs together to reduce compression artifacts. Here's what I ended up with:

    Code:
    Mpeg2Source("sample.d2v", CPU=6, Info=3)
    SeparateFields()
    nnedi3(dh=true) # double height with less aliasing
    Trim(1,0) # get rid of an orphan field at the start
    ConvertToYUY2() # so we can crop one scan line off the top of the odd frames
    Merge(SelectEven(),SelectOdd().Crop(0,1,0,0).AddBorders(0,0,0,1))
    ConvertToYV12()
    Last edited by jagabo; 18th Apr 2015 at 18:17.
    Quote Quote  
  10. Damn, I didn't even get as far as separating the fields because it just had this interlaced 'look' about it.

    Here's my contribution - QTGMC to bob it, QTGMC's InputType=1 to lessen the aliasing and low bitrate artifacts, and BlendBob to turn the 50fps bobbed fields back to 25fps frames.

    MPEG2Source("test.d2v")
    QTGMC(Preset="Fast")
    QTGMC( Preset="Fast", InputType=1 )
    BlendBob()
    Image Attached Files
    Last edited by manono; 18th Apr 2015 at 19:29.
    Quote Quote  
  11. Member
    Join Date
    Sep 2002
    Location
    Sweden
    Search Comp PM
    WOW
    Thanks!
    Finally it looks good.

    I tried both methods in MeGUI_2525_x86
    and at 3 seconds the guy in glasses get little interlaced in the face.

    But in manono sample clip i dont, so i have to tweak my settings.
    Quote Quote  



Similar Threads

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