VideoHelp Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Hello guys. I am trying to rip my newly bought collection of the Avatar The Last Airbender series which is in some weird form of 25 fps to 23.976 fps.

    It looks both like interlaced and telecined in some way. I do not know, what settings to use or how to find that out. The original series was developed for 23.976 fps which clearly shows on the 25 fps version. Also, ripping without fixed framerate results in a very weird framerate. Why that?

    If you need any more information, please let me know.
    Quote Quote  
  2. Handbrake will not work well for that. In all likelihood you have an NTSC to PAL conversion with blended fields. To get a good 24p result from that you will have to use AviSynth. You'll need to provide a non-re-encoded sample. Use a program like AviDemux to extract a sample (Open a VOB file, set Video and Audio to Copy, Output Format to Mpeg PS Muxer, mark-in, mark-out, File -> Save) and upload it here. Be sure to include some panning shots and character animation from the main video, not just the intro (because the intro is often very different than the main body of the episode).
    Quote Quote  
  3. Hello, please excuse the huge delay, until now I did not actually have opportunity to extract the video material. I have just done that now. I extracted 1 minute incl. Audio with a direct copy and it plays correctly in VLC in AVIDemux. To see the issue, you have to disable deinterlace. But who am I explaining this, you know the of course, likely better than me. Strangely enough, on my Linux laptop, the VLC deinterlacing looks basically unchanged and on windows with GTX1070 it looks almost, like it never was interlaced in the first place. Strange...

    Well, I attached the video. Please check it out and let me know, what you think regarding the reqork required. Thank you for your time.
    Image Attached Files
    Quote Quote  
  4. I would suggest looking for a better source. Removing blending and bringing telecined-NTSC -> PAL conversion seems like a waste of time and it won't look as good as the original release. I mean, if it was some rare anime it would've made sense but this is one of the most popular animated TV shows if I'm being correct
    Quote Quote  
  5. Yes, finding a native NTSC source would be best. But the usual AviSynth conversion works fairly well:

    Code:
    Mpeg2Source("snippetVTS_05_6.d2v", CPU2="xxxxxx", Info=3) 
    QTGMC()
    SRestore()
    Image Attached Files
    Quote Quote  
  6. Actually I am struggling a bit to get the code working. I tried multiple things and always got different errors.

    On the doom9 forum i found a QTGMC deinterlacing package, since without I got errors, that the filters are not found. I tried AviSynth 2.6 64 bit to use the plugins, but it did not load at all. Than I installed AviSynth+ with the latest version from this forum, also no success. Next 2.55 and than 2.6 32 bit. I got closer, where the Mpeg2Source("snippetVTS_05_6.d2v", CPU2="xxxxxx", Info=3) did not error out anymore, but only, with CPU2 removed (it appears, that they removed it in later versions, whatever)

    But QTGMC still errored out. I read, I needed to use regsrv32 on the 2 dlls syswow64 folder from the plugin pack. Both registered but had no entry point. Whatever.

    Later I found on doom9 an updated package with the description: "Here is a package of plugins for QTGMC using the latest Avisynth 2.6 interface. They may provide better multi-threading stability:
    QTGMC 32-bit Plugins [Vit-2.6]"

    Now I get the error:

    Code:
    Avisynth open failure:
    Avisynth: access violation at 0x0001F0CC in C:\Program Files (x86)\AviSynth\plugins\mt_masktools-26.dll,
    attempting to read from 0x565B695D
    GTGMC-3.32.avsi, line 776
    GTGMC-3.32.avsi, line 386
    (Path to my avs script)
    The content of the avs is currently:

    Code:
    LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\DGDecode.dll")
    MPEG2Source("H:\Users\User\Videos\Avatar\bk3vl4eu.d2v") 
    QTGMC()
    SRestore()
    Is there any setup guid, to get this working on Windows 10 64 bit?
    I do not care about performance at all, if it is slow as heck, what gives. Can run for months actually. So if there is only an old version for 32bit Windows, which actually works, it would be fine.

    Almost forgot it, but avsmeter shows:

    Code:
    C:\WINDOWS\system32>"C:\Program Files (x86)\AviSynth\AVSMeter.exe" -avsinfo
    
    AVSMeter 3.0.9.0 (x86), (c) Groucho2004, 2012-2021
    
    VersionString:              AviSynth 2.60, build:Feb 20 2015 [03:16:45]
    VersionNumber:              2.60
    File / Product version:     2.6.0.5 / 2.6.0.5
    Interface Version:          6
    Multi-threading support:    Yes
    Avisynth.dll location:      C:\WINDOWS\SysWOW64\avisynth.dll
    Avisynth.dll time stamp:    2015-02-20, 00:18:42 (UTC)
    PluginDir2_5 (HKLM, x86):   C:\Program Files (x86)\AviSynth\plugins
    
    
    [C 2.5 Plugins (32 Bit)]  [Version, Time stamp]
    C:\Program Files (x86)\AviSynth\plugins\yadif.dll  [1.7.0.0, 2009-10-08]
    
    [C++ 2.5 Plugins (32 Bit)]  [Version, Time stamp]
    C:\Program Files (x86)\AviSynth\plugins\EEDI2.dll  [0.9.2.0, 2006-06-07]
    C:\Program Files (x86)\AviSynth\plugins\nnedi.dll  [1.3.0.0, 2007-09-20]
    C:\Program Files (x86)\AviSynth\plugins\nnedi2.dll  [1.6.0.0, 2010-07-23]
    C:\Program Files (x86)\AviSynth\plugins\SSE2Tools.dll  [n/a, 2005-04-11]
    
    [C++ 2.6 Plugins (32 Bit)]  [Version, Time stamp]
    C:\Program Files (x86)\AviSynth\plugins\AddGrainC.dll  [1.5.2.0, 2012-04-01]
    C:\Program Files (x86)\AviSynth\plugins\dfttest.dll  [1.8.0.0, 2012-04-01]
    C:\Program Files (x86)\AviSynth\plugins\DGDecode.dll  [2.0.0.7, 2022-05-02]
    C:\Program Files (x86)\AviSynth\plugins\DirectShowSource.dll  [2.6.0.3, 2015-04-19]
    C:\Program Files (x86)\AviSynth\plugins\eedi3.dll  [0.9.1.0, 2012-04-02]
    C:\Program Files (x86)\AviSynth\plugins\FFT3DFilter.dll  [2.1.1.0, 2012-04-02]
    C:\Program Files (x86)\AviSynth\plugins\mt_masktools-26.dll  [2.0.48.0, 2012-04-01]
    C:\Program Files (x86)\AviSynth\plugins\mvtools2.dll  [2.5.11.2, 2012-04-01]
    C:\Program Files (x86)\AviSynth\plugins\nnedi3.dll  [0.9.4.0, 2012-04-01]
    C:\Program Files (x86)\AviSynth\plugins\RemoveGrainSSE2.dll  [n/a, 2012-04-01]
    C:\Program Files (x86)\AviSynth\plugins\RepairSSE2.dll  [n/a, 2012-04-01]
    C:\Program Files (x86)\AviSynth\plugins\TCPDeliver.dll  [2.6.0.7, 2015-04-19]
    C:\Program Files (x86)\AviSynth\plugins\TDeint.dll  [1.1.0.0, 2012-04-01]
    C:\Program Files (x86)\AviSynth\plugins\VerticalCleanerSSE2.dll  [n/a, 2012-04-02]
    
    [Scripts (AVSI)]  [Time stamp]
    C:\Program Files (x86)\AviSynth\plugins\colors_rgb.avsi  [2015-03-30]
    C:\Program Files (x86)\AviSynth\plugins\QTGMC-3.32.avsi  [2011-06-07]
    
    
    
    [Plugin errors/warnings]
    _______________________________________________________________________________________________________________________________
    
    Function duplicates:
    
    "DirectShowSource" : "[InternalFunction]"
    "DirectShowSource" : "[PluginFunction]"
    "TCPServer" : "[InternalFunction]"
    "TCPServer" : "[PluginFunction]"
    "TCPSource" : "[InternalFunction]"
    "TCPSource" : "[PluginFunction]"
    
    _______________________________________________________________________________________________________________________________
    
    Plugin C:\Program Files (x86)\AviSynth\plugins\yadif.dll is not an AviSynth 2.6 or 2.5 plugin.
    
    Note: C-Plugins must be loaded explicitly with "LoadCPlugin()"
    _______________________________________________________________________________________________________________________________
    
    LoadPlugin: unable to load "C:\Program Files (x86)\AviSynth\plugins\SSE2Tools.dll", Module not found.  Install missing library?
    
    Dependencies that could not be loaded:
      MSVCR71.dll
    _______________________________________________________________________________________________________________________________
    MSVCR71.dll actually was downloaded, but the error still shows. Don't know why.

    Other than that, is there actually a way, to achieve the same results with standard ffmpeg filters?
    Last edited by avatarfan1; 30th Jul 2022 at 04:23. Reason: Added code tag to make it nicer.
    Quote Quote  
  7. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Install the latest Avisynth Plus instead the one you have

    The missing dll is contained in one of the MS VC redist packages.
    Download and install these two and see if the problem goes away
    https://www.majorgeeks.com/files/details/microsoft_visual_c_2010_redistributable_package.html
    Last edited by davexnet; 30th Jul 2022 at 04:38.
    Quote Quote  
  8. Unfortunately this did not change anything. At least, now the installation is respecting some of the plugin changes.

    I actually removed all plugins and added the QTGMC 3.32 avsi Script and also the dll package back. I also added msvcr71.dll and DGDecode.dll, too.

    I than also installed Visual C++ Runtime 2005, since AVSMeter told me, that it thinks I did not install it.

    Now I get this:

    Code:
    C:\WINDOWS\system32>"C:\Program Files (x86)\AviSynth\AVSMeter.exe" -avsinfo
    
    AVSMeter 3.0.9.0 (x86), (c) Groucho2004, 2012-2021
    
    VersionString:              AviSynth+ 3.7.2 (r3661, 3.7, i386)
    VersionNumber:              2.60
    File / Product version:     3.7.2.0 / 3.7.2.0
    Interface Version:          9
    Multi-threading support:    Yes
    Avisynth.dll location:      C:\WINDOWS\SysWOW64\avisynth.dll
    Avisynth.dll time stamp:    2022-03-17, 20:27:42 (UTC)
    PluginDir2_5 (HKLM, x86):   C:\Program Files (x86)\AviSynth+\plugins
    PluginDir+   (HKLM, x86):   C:\Program Files (x86)\AviSynth+\plugins+
    
    
    [C 2.5 Plugins (32 Bit)]  [Version, Time stamp]
    C:\Program Files (x86)\AviSynth+\plugins\yadif.dll  [1.7.0.0, 2009-10-08]
    
    [C++ 2.5 Plugins (32 Bit)]  [Version, Time stamp]
    C:\Program Files (x86)\AviSynth+\plugins\AddGrainC.dll  [1.5.0.0, 2010-05-13]
    C:\Program Files (x86)\AviSynth+\plugins\dfttest.dll  [1.8.0.0, 2010-06-22]
    C:\Program Files (x86)\AviSynth+\plugins\EEDI2.dll  [0.9.2.0, 2006-06-07]
    C:\Program Files (x86)\AviSynth+\plugins\eedi3.dll  [0.9.1.0, 2010-07-23]
    C:\Program Files (x86)\AviSynth+\plugins\FFT3DFilter.dll  [2.1.1.0, 2007-02-20]
    C:\Program Files (x86)\AviSynth+\plugins\mt_masktools-26.dll  [2.0.48.0, 2010-12-31]
    C:\Program Files (x86)\AviSynth+\plugins\mvtools2.dll  [2.5.11.2, 2011-03-20]
    C:\Program Files (x86)\AviSynth+\plugins\nnedi.dll  [1.3.0.0, 2007-09-20]
    C:\Program Files (x86)\AviSynth+\plugins\nnedi2.dll  [1.6.0.0, 2010-07-23]
    C:\Program Files (x86)\AviSynth+\plugins\nnedi3.dll  [0.9.4.0, 2011-06-10]
    C:\Program Files (x86)\AviSynth+\plugins\RemoveGrainSSE2.dll  [n/a, 2005-08-01]
    C:\Program Files (x86)\AviSynth+\plugins\RepairSSE2.dll  [n/a, 2005-08-01]
    C:\Program Files (x86)\AviSynth+\plugins\SSE2Tools.dll  [n/a, 2005-04-11]
    C:\Program Files (x86)\AviSynth+\plugins\TDeint.dll  [1.1.0.0, 2007-01-22]
    C:\Program Files (x86)\AviSynth+\plugins\VerticalCleanerSSE2.dll  [n/a, 2008-02-28]
    
    [C++ 2.6 Plugins (32 Bit)]  [Version, Time stamp]
    C:\Program Files (x86)\AviSynth+\plugins+\ConvertStacked.dll  [n/a, 2022-03-17]
    C:\Program Files (x86)\AviSynth+\plugins+\DirectShowSource.dll  [n/a, 2022-03-17]
    C:\Program Files (x86)\AviSynth+\plugins+\ImageSeq.dll  [n/a, 2022-03-17]
    C:\Program Files (x86)\AviSynth+\plugins+\Shibatch.dll  [n/a, 2022-03-17]
    C:\Program Files (x86)\AviSynth+\plugins+\TimeStretch.dll  [n/a, 2022-03-17]
    C:\Program Files (x86)\AviSynth+\plugins+\VDubFilter.dll  [n/a, 2022-03-17]
    C:\Program Files (x86)\AviSynth+\plugins\DGDecode.dll  [2.0.0.7, 2022-05-02]
    
    [Scripts (AVSI)]  [Time stamp]
    C:\Program Files (x86)\AviSynth+\plugins+\colors_rgb.avsi  [2021-01-11]
    C:\Program Files (x86)\AviSynth+\plugins\QTGMC-3.32.avsi  [2011-06-07]
    
    [Uncategorized DLLs (32 Bit)]  [Version, Time stamp]
    C:\Program Files (x86)\AviSynth+\plugins\msvcr71.dll  [8.0.21213.0, 2022-07-28]
    
    [Uncategorized files]  [Time stamp]
    C:\Program Files (x86)\AviSynth+\plugins+\colors_rgb.txt  [2021-01-11]
    But when trying to run the following code:

    Code:
     
    MPEG2Source("H:\Users\User\Videos\Avatar\bk3vl4eu.d2v") 
    QTGMC()
    SRestore()
    I still get errors. And now I am stuck, finding absolutely no usable documentation regarding the issue:

    Code:
    C:\WINDOWS\system32>"C:\Program Files (x86)\AviSynth\AVSMeter.exe" H:\Users\User\Videos\Avatar\scripttest.avs
    
    AVSMeter 3.0.9.0 (x86), (c) Groucho2004, 2012-2021
    AviSynth+ 3.7.2 (r3661, 3.7, i386) (3.7.2.0)
    
    Device unmatch: mt_makediff[] does not support [CPU] frame
    (C:/Program Files (x86)/AviSynth+/plugins/QTGMC-3.32.avsi, line 776)
    (C:/Program Files (x86)/AviSynth+/plugins/QTGMC-3.32.avsi, line 386)
    (H:\Users\User\Videos\Avatar\scripttest.avs, line 3)
    The strange thing is, that it resembles the same lines of the script as before with the access violation.

    I looked at the contents and found this:

    Line 386:
    Code:
    	repair0 = (IsClip(srchClip) || Rep0 == 0) ? binomial0 : binomial0.QTGMC_KeepOnlyBobShimmerFixes( bobbed, Rep0, (RepChroma && ChromaMotion) )
    And Line 776:
    Code:
    	diff = mt_makediff( Ref, Input, U=3,V=3 )
    Honestly, I am absolutely out of any ideas, what could be causing this. Sure, mt_makediff might be the issue. But it was part of the package, so why would it even fail?

    I honestly would love, if you have any ideas.

    One thing also:

    When only using the command "MPEG2Source("H:\Users\User\Videos\Avatar\bk3vl4eu .d2v")" for Virtualdub, I see some really weird issues. Every few seconds I see big blocks, where some of the fields look like from the previous frame and some from the next frame. And non of the Virtualdub included deinterlacers change anything, except making these blocks look clean and square. They all have the same size. At this Point I am also wondering, if DGindex correctly reads the DVD files or not. It warned me about some blended fields or something and created a "bk3vl4eu.d2v.bad" file. Might this be related? The .bad file however has he same issue. During the credits it looks, like it is jumping back and forth. Testing different scenes I did not notice this behavior only on this section. This also happens in VLC.

    I think, this might be related to the fact, that this DVD intentionally has bad blocks and the backup is now 46GB large. When opening the whole folder as a media, this does not happen at all. I only selected VTS_05_0 to VTS_05_07, since it appeared to have the whole contents. But the copy protection due to bad sectors is working at this scene. What to do about that?
    Quote Quote  
  9. C:\Program Files (x86)\AviSynth+\plugins\mt_masktools-26.dll [2.0.48.0, 2010-12-31]
    That is one of the problems. old .dll from 2010. Delete it

    Replace with
    https://github.com/pinterf/masktools/releases
    Quote Quote  
  10. Originally Posted by avatarfan1 View Post



    Honestly, I am absolutely out of any ideas, what could be causing this. Sure, mt_makediff might be the issue. But it was part of the package, so why would it even fail?
    You're mixing and matching versions. Old packages and .dll's with new avisynth+

    That's one of the problems when people put together "packages". They work ok for the time period they were intended for.



    When only using the command "MPEG2Source("H:\Users\User\Videos\Avatar\bk3vl4eu .d2v")" for Virtualdub, I see some really weird issues. Every few seconds I see big blocks, where some of the fields look like from the previous frame and some from the next frame. And non of the Virtualdub included deinterlacers change anything, except making these blocks look clean and square. They all have the same size. At this Point I am also wondering, if DGindex correctly reads the DVD files or not. It warned me about some blended fields or something and created a "bk3vl4eu.d2v.bad" file. Might this be related? The .bad file however has he same issue. During the credits it looks, like it is jumping back and forth. Testing different scenes I did not notice this behavior only on this section. This also happens in VLC.

    I think, this might be related to the fact, that this DVD intentionally has bad blocks and the backup is now 46GB large. When opening the whole folder as a media, this does not happen at all. I only selected VTS_05_0 to VTS_05_07, since it appeared to have the whole contents. But the copy protection due to bad sectors is working at this scene. What to do about that?
    If there is a .bad, usually that is from a field order transition detected by dgindex. Since VLC also exhibits the behavior, unlikely a dgdecode problem

    That usually does not manifest in "big blocks" . Big block artifacts are usually from other issues, like corruption, decoding errors. Possibly a bad disc or bad decryption. Try another decryption method
    Quote Quote  
  11. I actually just cloned https://github.com/realfinder/AVS-Stuff at some point and put all 2.5 and than 2.6 scripts in my folder and now my issue is gone. Some warning regarding double functions, but it works and I did not have to rewrite parts of the scripts for making it work, now.

    The artifacts are caused by the encryption issue and the d2v.bad file is worse (happens ALL the time instead of the few seconds). I will somehow need to read the DVD Folder with another tools likely. To get the files.

    Does this look promising in theory?

    Code:
    MPEG2Source("H:\Users\User\Videos\Avatar\bk3vl4eu.d2v") 
    QTGMC()
    SRestore(frate=23.976,speed=1)
    There are still some tiny artifacts in still shots and some rare blended frames as if nothing changed. No Idea, how to get rid of that. Is there anything, I could do more with SRestore?

    Will try on 5th August and drive on holiday now. Thanks in the meantime.
    Quote Quote  
  12. The most effective method that 'works' for me in Handbrake is EEDI2 bobbing then setting the frame rate at 23.976fps, however, I'm not sure how that'd work with anime. Anime is apparently blended in a different way
    Quote Quote  



Similar Threads

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