VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. I could really use some advice with a couple of encodes I'm struggling with at the moment.

    The first one is an episode of a TV show. There are 5 seasons of this show and all episodes have been PAL progressive except one. The odd one out is interlaced with BFF which seems unusual as PAL is normally TFF in my experience.

    I've tried deinterlacing with BFF, TFF, Bob with 50fps and decomb but nothing seems quite right. There is a slight judder no matter which way I encode, it's visible in the source but always looks worse when encoded.
    I use RipBot264, MeGUI and sometimes Handbrake. I assume that I need to use MeGUI with an additional AVI Synth plugin but I'm really not sure what to use or how to set up the script.

    I'm not very experienced with field blended sources which is what I assume is going on here. I guess it's been badly converted from NTSC?

    The other two problem sources are PAL movies that exhibit a similar judder but I would like to solve this ne first and hopefully I can learn enough to sort the other two by myself.

    I've attached a 10 second sample - would someone be kind enough to take a look and offer me some advice?
    Image Attached Files
    Quote Quote  
  2. This:
    Code:
    Mpeg2Source("Sample.d2v")
    Yadif(mode=1) # or QTGMC()
    SRestore()
    Will restore the original 23.976 fps film frames.
    Image Attached Files
    Quote Quote  
  3. Thanks jagabo

    A couple of questions:
    Is it possible to resolve the stutter and keep the encode as PAL?
    Will the audio still in in sync or do I need to slow it down?
    Would this method also work on the my other source which is progressive?

    Edit:
    I downloaded SRestore.avs but MeGUI gives an error when I put it in the plugins folder. Do I have to do anything else to get it working?
    Last edited by duffbeer; 15th Nov 2015 at 10:10.
    Quote Quote  
  4. Originally Posted by duffbeer View Post
    Is it possible to resolve the stutter and keep the encode as PAL?
    Yes, add AssumeFPS(25) to the end of that script.

    Originally Posted by duffbeer View Post
    Will the audio still in in sync or do I need to slow it down?
    If you add AssumeFPS(25) you'll need to speed up the audio by a factor of 25*1001/24000.

    Originally Posted by duffbeer View Post
    Would this method also work on the my other source which is progressive?
    It would be a waste of time for videos that are already progressive. And deinterlacing progressive frames can only reduce their quality (ie, the deinterlacer may mistake true detail for interlacing and screw it up).

    Originally Posted by duffbeer View Post
    I downloaded SRestore.avs but MeGUI gives an error when I put it in the plugins folder. Do I have to do anything else to get it working?
    See the SRestore docs for the other required filters.

    http://avisynth.nl/index.php/Srestore

    Required Plugins

    Latest version of the following plugins are recommended unless stated otherwise.

    MaskTools2

    Optional plugins:
    TIVTC - (only for cache>0, not default)
    RemoveGrain v1.0b - (only for double-blend-removal, not default)
    Average - (only for double-blend-removal, not default)
    GRunT (only for Srestore v2.7f or greater)
    Quote Quote  
  5. Sorry I should have been clearer.
    Will it work without deinterlacing if the source is a movie that is progressive and 25fps?

    Thanks for the link to the SRestore wiki page. That was where I downloaded the SRestore.avsi plugin. I also downloaded MaskTools2 at the same time.
    I put them both in the MeGUI_2507_x86\tools\avisynth_plugin folder but I still get an error message saying "There is no function called SRestore".

    Information seems vary rare about how to set up SRestore. Can you tell me what I did wrong?

    Also, should the SRestore file be an avsi? I thought the plugins were all dll's?
    Quote Quote  
  6. MeGUI doesn't use the normal AviSynth setup. With a normal AviSynth setup AVSI scripts are loaded automatically if they are in AviSynth's plugins folder. With MeGUI you many need to load it manually with Import("x:\path\to\SRestore.avsi").
    Quote Quote  
  7. Originally Posted by duffbeer View Post
    Sorry I should have been clearer.
    Will it work without deinterlacing if the source is a movie that is progressive and 25fps?

    Thanks for the link to the SRestore wiki page. That was where I downloaded the SRestore.avsi plugin. I also downloaded MaskTools2 at the same time.
    I put them both in the MeGUI_2507_x86\tools\avisynth_plugin folder but I still get an error message saying "There is no function called SRestore".

    Information seems vary rare about how to set up SRestore. Can you tell me what I did wrong?

    Also, should the SRestore file be an avsi? I thought the plugins were all dll's?
    Regarding SRestore and progressive sources -- it's generally not appropriate. SRestore is specifically for removing blended frames.
    Quote Quote  
  8. OK I've got it working - thanks for your help.

    My other two problem encodes are both progressive but they have the same judder. If I can't use SRestore on a progressive source then what else can I use?
    They're both PAL DVDs - one is a documentary and one is a movie. As I said earlier I guess they were converted badly from an NTSC source but I'm not sure.

    The judder is visible when viewed on my TV with a DVD player so it's definitely a bad source disc. I would like to encode these to remove the judder but they are both progressive.
    Quote Quote  
  9. I'd have to see a sample to say for sure.

    If the judder comes from duplicate frames you can use TDecimat() to remove the dupilcates. For example, if 24 fps was made into 25 fps by duplicating one frame every 24 frames you would see one jerk every second. That could be fixed with TDecimate(Cycle=25, CycleR=1).

    If 29.97i was blend deinterlaced then decimated to 25 fps you're probably out of luck.
    Quote Quote  
  10. Good news first. The SRestore filter worked perfectly! Thanks for all your advice.

    Now to solve the progressive source problem...I tried TDecimate(Cycle=25, CycleR=1) but it still has a slight judder. I've attached a sample for you to see what I mean.
    Is there anything else I can try to fix this encode.
    Image Attached Files
    Quote Quote  
  11. That's a strange case. It's missing about every 23rd or 24th frame. You might expect that from a PAL source that's been decimated to NTSC (25 fps to 24 fps by dropping every 25 frame). But this is a PAL video. Maybe it was originally PAL, converted to NTSC via decimation, then sped up to make it PAL again.

    You can use InsertFramesMC() to replace those missing frames with motion interpolation. But it will take a long time to locate all the missing frames:

    Code:
    import("C:\Program Files (x86)\AviSynth\plugins\ReplaceFramesMC.avs") 
    Mpeg2Source("Sample2.demuxed.d2v", CPU2="ooooxx", Info=3) 
    InsertFramesMC(7, 1)
    InsertFramesMC(32, 1) # 25
    InsertFramesMC(56, 1) # 24
    InsertFramesMC(80, 1) # 24
    I don't know any way to automate it.
    Image Attached Files
    Last edited by jagabo; 17th Nov 2015 at 07:04.
    Quote Quote  



Similar Threads