Frame doubling interpolation for 1080p x264 mkv's for superfluid 48 fps

Discussion in 'The HTPC, HDTV & Ultra High Definition section' started by nzweers, Feb 15, 2009.

  1. gelo29

    gelo29 Guest

    Messages:
    3
    Likes Received:
    0
    GPU:
    Gigabyte GTX460 OC2
    Hello,
    I have problems with MPC-Classic and avisynth script. I am currently using:

    SetMemoryMax(1280)
    SetMTMode(5,8)
    ffdShow_source()
    SetMTMode(2)
    super=MSuper(pel=2, hpad=8, vpad=4)
    backward_1=MAnalyse(super, chroma=false, isb=true, blksize=32, blksizev=16, searchparam=2, plevel=0, search=3, badrange=(-24))
    forward_1=MAnalyse(super, chroma=false, isb=false, blksize=32, blksizev=16, searchparam=2, plevel=0, search=3, badrange=(-24))
    backward_2 = MRecalculate(super, chroma=false, backward_1, blksize=16, blksizev=8, searchparam=0, search=3)
    forward_2 = MRecalculate(super, chroma=false, forward_1, blksize=16, blksizev=8, searchparam=0, search=3)
    MBlockFps(super, backward_2, forward_2, num=60, den=1, mode=2)
    SetMTMode(1)
    GetMTMode(false) > 0 ? distributor() : last

    While picture is perfectly smooth, the audio track is like out of sync...
    At the start of every film (h.264 mkv), everything seems to be ok, but after some time, audio track is loosing synchronization with video.
    Does anyone got idea what could be the reason?
    Thanks,
    Greg
    P.S. I have done every steps form that guide, many times reinstalled too:
    http://www.tested.com/news/how-to-enable-motion-interpolation-on-your-movie-files/329/
    and nothing seems to help, even with changing the scripts from aor forum...
     
  2. Mufflore

    Mufflore Ancient Guru

    Messages:
    14,730
    Likes Received:
    2,701
    GPU:
    Aorus 3090 Xtreme
    Reclock may help, it did me.
    Some videos are messed up anyway, check them without the script running.
     
  3. gelo29

    gelo29 Guest

    Messages:
    3
    Likes Received:
    0
    GPU:
    Gigabyte GTX460 OC2
    => Mufflore:
    All videos without the script are working perfectly (I mean audio&video synchronized), but there is no excellent motion quality without the avisynth script...
    And what about Reclock? Could You give me Your settings, because I am not familiar with this program.
    Thanks
     
  4. Mufflore

    Mufflore Ancient Guru

    Messages:
    14,730
    Likes Received:
    2,701
    GPU:
    Aorus 3090 Xtreme
    Reclock works independently of scripts.
    It is used to smooth timing problems for audio and video.

    On a new install of Win7 64, my audio video sync was way out when using frame doubling scripts on MPC HC.
    After installing Reclock, it was immediately solved, I didnt need to tell MPC HC to use Reclock as the audio renderer.
    Been running like this for over a month now without issue.
     

  5. gelo29

    gelo29 Guest

    Messages:
    3
    Likes Received:
    0
    GPU:
    Gigabyte GTX460 OC2
    Does not work in my case...
    I have tried different settins in ReClock and using it with MPC, too.
    But without significant improvement.
    Maybe anyone knows how to configure ReClock?
    Or how to resolve my problem?
    Thanks
     
  6. Clawedge

    Clawedge Guest

    Messages:
    2,599
    Likes Received:
    928
    GPU:
    Radeon 570
    DAMN! this thread is still going

    havent had a look at this thread for i think a year. great to see poeple are still interested

    Just a note, i did post stuff early on in this thread, like a pdf guide, etc, BUT all the scripts and the idea itself is not mine. I just repacked it for an easier presentation
     
  7. [ZoNk]Kostas007

    [ZoNk]Kostas007 Master Guru

    Messages:
    234
    Likes Received:
    2
    GPU:
    7850 1GB
    anyone knows if it this is possible to work under windows7 and media player classic home cinema?
     
  8. Mufflore

    Mufflore Ancient Guru

    Messages:
    14,730
    Likes Received:
    2,701
    GPU:
    Aorus 3090 Xtreme
    Yes, thats what it works with.
     
  9. Sever

    Sever Ancient Guru

    Messages:
    4,825
    Likes Received:
    0
    GPU:
    Galaxy 3GB 660TI
    random question, can your i5 handle interpolating 1080p videos to 60fps?

    my i7 at 4.4ghz seems to struggle with that for some unknown reason. its strange considering my old 1090t at 4ghz could do it easily.
     
  10. Mufflore

    Mufflore Ancient Guru

    Messages:
    14,730
    Likes Received:
    2,701
    GPU:
    Aorus 3090 Xtreme
    It works great.
    With the script below, a quick check showed it ordinarily uses between 20 and 40% CPU playing a 1080p mkv, and 30 to 50% CPU playing an M2TS (Blu Ray).
    There are undoubtedly times more CPU is required, but at least you have a sort of baseline.

    I dont know the difference in performance per clock between our CPUs but its less than 20% call it 15%, my CPU is nearly 7% faster clock speed.
    So your playback will need approx 1.15 x 1.07 x100% more CPU.
    = 23%.
    Therefore:
    A 1080p MKV will need 25% to 49% CPU
    A 1080p M2TS will need 37% to 61% CPU
    approx, during normal viewing.

    The only artifacts I get are when there is an on screen TV logo and there is fast panning.
    The logo momentarily half appears in its old position after being drawn in its new position sometimes.
    I havent verified if its a CPU limitation or a problem with the filter because basically I'm not bothered enough.


     

  11. Sever

    Sever Ancient Guru

    Messages:
    4,825
    Likes Received:
    0
    GPU:
    Galaxy 3GB 660TI
    hmm, dunno, it behaves strangely on mine. it doesnt want to max out the CPU.

    like with the script im using, which is,


    SetMemoryMax(8192)
    SetMTMode(6,8)
    ffdShow_source()
    SetMTMode(6)
    super=MSuper(pel=1, hpad=8, vpad=4)
    backward_1=MAnalyse(super, chroma=false, isb=true, blksize=16, blksizev=16, searchparam=0, plevel=2, search=3, badrange=(-24))
    forward_1=MAnalyse(super, chroma=false, isb=false, blksize=16, blksizev=16, searchparam=0, plevel=2, search=3, badrange=(-24))
    backward_2 = MRecalculate(super, chroma=false, backward_1, blksize=16, blksizev=8, searchparam=0, search=3)
    forward_2 = MRecalculate(super, chroma=false, forward_1, blksize=16, blksizev=8, searchparam=0, search=3)
    backward_3 = MRecalculate(super, chroma=false, backward_2, blksize=16, blksizev=8, searchparam=0, search=3)
    forward_3 = MRecalculate(super, chroma=false, forward_2, blksize=16, blksizev=8, searchparam=0, search=3)
    MBlockFps(super, backward_3, forward_3, num=60, den=1, mode=2)
    SetMTMode(6)
    GetMTMode(false) > 0 ? distributor() : last

    it will run at 42fps instead of 60fps at 1080p, but the thing is, my cpu cores dont go over 30% usage. not sure if im forgetting a setting or a codec or something. ive got coreavc running alongside it to reduce the cpu usage, but it doesnt seem to help.

    720p videos run at 60fps effortlessly with only 20% cpu load. its wierd.
     
    Last edited: Jun 4, 2011
  12. Mufflore

    Mufflore Ancient Guru

    Messages:
    14,730
    Likes Received:
    2,701
    GPU:
    Aorus 3090 Xtreme
    I'd scrub the whole setup and start again if you cant trace the problem.

    My setup has turned out to be very resilient, it even works alongside a mod to play Blu Ray hi def audio tracks through a non PAP compliant soundcard.
    ie it plays out of analogue from my Prelude, no HDMI audio required.
    Movie nirvana finally arrived for my sound card :D
     
  13. Sever

    Sever Ancient Guru

    Messages:
    4,825
    Likes Received:
    0
    GPU:
    Galaxy 3GB 660TI
    with both our scripts, if i set the fps to 48, 1080p videos will run fine and effortlessly. but when i set the fps to 60, it seems to hover around 20-30% cpu usage at 50fps, and then the audio and video go out of sync. can you try my script and see if it works for you?
     
  14. SaberJ2X

    SaberJ2X Ancient Guru

    Messages:
    2,546
    Likes Received:
    52
    GPU:
    Zotac 3070
    splashpro...?
     
  15. Mufflore

    Mufflore Ancient Guru

    Messages:
    14,730
    Likes Received:
    2,701
    GPU:
    Aorus 3090 Xtreme
    I think your problem is the MTMode setting.
    Check here
    http://avisynth.org/mediawiki/MT_support_page

    You are using a slightly faster version of mode 5 - the slowest.
    Unless you have a reason to use mode 5, its better to use a faster mode.
     

  16. Sever

    Sever Ancient Guru

    Messages:
    4,825
    Likes Received:
    0
    GPU:
    Galaxy 3GB 660TI
    modes were one of the first things i tried. theres barely any real difference between the modes on our CPUs. hmm, i might try pushing my overclock a bit more just to see if it will help.
     
  17. paddy246

    paddy246 Guest

    Messages:
    1
    Likes Received:
    0
    GPU:
    MSI
    Works for me and my old core2duo, on SD video, at least

    I dont know if this been asked before, but I got this error message with mpchc and ffdshow
    googled them, and found this from 2007:
    http://forum.doom9.org/showpost.php?p=1035220&postcount=1832
    Any thought for how to fix this? Do I need to reinstall avisynth and not overwriting the original .dll on syswow64? Will this script still works, then?
    thanks.
     
  18. batista11b5

    batista11b5 Guest

    Messages:
    6
    Likes Received:
    0
    GPU:
    Asus GTX 580
    How can I set "SetMtmode" for my system ?

    core i7 920 stock
    GTX 580
    Ram DDR3 1066 12GB
    Windows 7 ultimate x64
    24" monitor LED 120HZ
    software :MPC + Klite codec pack

    1) I have set SetMtmode at (2,8) and back/ahead on 0/24 is it correct ? I have ran the same setting like the topic's owner said and it run perfectly at 1080p.mkv movies , but I still wanna know that what is the best setting for my system ?

    2) How can I run coreAVC + FFdshow together ?

    Thanks
     
  19. Sever

    Sever Ancient Guru

    Messages:
    4,825
    Likes Received:
    0
    GPU:
    Galaxy 3GB 660TI
    for coreavc, add it into the external filters thing for mpc and set it to prefer. then in ffdshow video settings, under codecs, disable h264/avc, then scroll all the way down (in codecs still) and set raw video to all supported. that should switch it to coreavc.

    alternatively, use the combined community codec pack instead, and while installing, just tick coreavc.
     
  20. vurt

    vurt Guest

    Messages:
    266
    Likes Received:
    4
    GPU:
    RTX 3090
    For Win7 x64 should i use MPCHC x64 and FFDShow x64, or just go with x86 versions of everything?

    Also, is FFDshow Video Encoder the external filter i should enable and set to prefer in MPC? Which should i disable (external) and which audio filter is best for spdif from my soundcard to a 7.1 setup (if there is one that is more preferable)?

    Thanks.
     

Share This Page