VideoHelp Forum
+ Reply to Thread
Results 1 to 21 of 21
Thread
  1. Hi,
    Pardon, I'm here again with another frustrating DVD.
    This one has the first 5min alternating progressive and interlaced parts.
    How do I fix only those interlaced parts, without have to split it in multiple parts, that it's anyway hard to do?

    https://www.dropbox.com/s/u2iar5b0dl5ohxt/B1_t00%20-%20sample.mkv?dl=0

    Thanks.
    Last edited by maudit; 1st Dec 2023 at 11:46.
    Quote Quote  
  2. You could try how 'bad' the result is with using TFM+Vinverse or you could extract the m2v stream open it with dgdecode/Mpeg2Source with info=3 (to leave hints) and use TDeint which should then only deinterlaced the frames/fields that are hinted as interlaced.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. Originally Posted by Selur View Post
    You could try how 'bad' the result is with using TFM+Vinverse or you could extract the m2v stream open it with dgdecode/Mpeg2Source with info=3 (to leave hints) and use TDeint which should then only deinterlaced the frames/fields that are hinted as interlaced.
    ok wait.
    I need help for this.
    Let's do the Mpeg2Source thing.

    I've demuxed the VOBs with DGIndex GUI tool embedded in MeGUI
    and I've obtained the VTS_01_1.demuxed.m2v file plus another 900k file named VTS_01_1.d2v.
    I've dl the file dgmpgdec2009.zip from here http://avisynth.nl/index.php/DGDecode
    Then I extracted the file DGDecode.dll and I put it into the 32Bit avisynth plugin+ folder.
    At this point in avspmod I wrote:

    Code:
    MPEG2Source("C:\PATH\DGIndex\VTS_01_1.demuxed.m2v")
    But I receive this error
    There is no function named 'MPEG2Source'
    Please help.
    Quote Quote  
  4. a. DGIndex should be used to create a .d2v file (no need for demux) and that should be fed to MPEG2Source (through the info inside the d2v file the source file will be accessed)
    b. Assuming you are using 32bit and not 64bit (no clue why) Avisynth+ and 32bit Avspmod this should work assuming the autoloading does work as intended.
    If autoloading does not work properly you could load the dll manually:
    Code:
    LoadPlugin("PATH TO DGDecode.dll")
    and then call:
    Code:
    MPEG2Source(d2v="PATH TO THE .d2v FILE",info=3)

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  5. Same error as when I dont use
    Code:
    LoadPlugin("PATH TO DGDecode.dll")
    .

    Cannot load a 32 bit DLL in 64 bit Avisynth
    Quote Quote  
  6. Okay, so you are using 64bit Avisynth, but your DGDecode.dll is for 32bit.
    -> download the proper 64bit dll and replace the existing dll
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  7. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    This works for 64 bit mode:
    http://avisynth.nl/index.php/MPEG2DecPlus
    Quote Quote  
  8. Originally Posted by davexnet View Post
    This works for 64 bit mode:
    http://avisynth.nl/index.php/MPEG2DecPlus
    thank you, I was going to copy D2VSource.dll into the plugins64+
    but windows asked me if I wanted to overwrite it.
    So I checked and found a symlink type shortcut pointing at the D2VSource.dll
    but in the folder "plugs".
    I've no idea why it does not already work. Anyway I didn't do the installation of avisynth at first,
    an admin of the forum I come from did it, I remember he did some symlink stuff but
    I don't know why and how to do it or how to fix it if necessary.

    I alwyas update all the plugins by installing AviSynthPlus-Plugins-Scripts-master.zip
    taken from here: https://gitlab.com/uvz/AviSynthPlus-Plugins-Scripts

    Can you please help me to understand why almost all of files into the plugins64+ are symlink shortcuts?
    And if I have to fix them, how to do it?
    Quote Quote  
  9. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Speak to the peson who set it up that way
    Quote Quote  
  10. Originally Posted by davexnet View Post
    Speak to the peson who set it up that way
    I've opened a thread, meanwhile I disinstalled all, deleted all the folder an files.
    Re-installed avisynth and its plugins, anyway those symlinks are still there,
    i have no idea why of that. is it the normal behavior to have symlinks?

    how do I remove them, or have I to keep them?

    anyway MPEG2Source still does not work.
    pls help
    Quote Quote  
  11. anyway MPEG2Source still does not work.
    What is the error message? What does the script look like?
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  12. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Selur View Post
    anyway MPEG2Source still does not work.
    What is the error message? What does the script look like?
    mpeg2source is 32 bit only. THat's why I suggested an alternative above (D2vsource)
    Quote Quote  
  13. ok, now i got it,
    D2vsource("PATH\VTS_01_1.d2v") loads.
    what now? I have to try to fix those interlaced parts.
    Quote Quote  
  14. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by maudit View Post
    ok, now i got it,
    D2vsource("PATH\VTS_01_1.d2v") loads.
    what now? I have to try to fix those interlaced parts.
    d2vsource(...)
    tfm().tdecimate()
    Quote Quote  
  15. mpeg2source is 32 bit only.
    at least the dgmpgdec2009.zip from https://www.rationalqm.us/dgmpgdec/dgmpgdec.html includes a x64 folder with a 64-bit dll.
    Works fine here.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  16. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Selur View Post
    mpeg2source is 32 bit only.
    at least the dgmpgdec2009.zip from https://www.rationalqm.us/dgmpgdec/dgmpgdec.html includes a x64 folder with a 64-bit dll.
    Works fine here.
    Thanks selur, didn't know about that version, I'm still using 32-bit 1.5.8 dgindex/dgdecode.
    Interestingly enough when I downloaded dgmpgdec2009.zip, Windwos defender flagged is as trojan
    Image Attached Thumbnails Click image for larger version

Name:	troj.jpg
Views:	12
Size:	39.1 KB
ID:	75306  

    Quote Quote  
  17. That is strange, it didn't flag it here when I downloaded it.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  18. Originally Posted by davexnet View Post
    Originally Posted by maudit View Post
    ok, now i got it,
    D2vsource("PATH\VTS_01_1.d2v") loads.
    what now? I have to try to fix those interlaced parts.
    d2vsource(...)
    tfm().tdecimate()
    ok thx, now I'm using DGDecode.dll 64bits and both

    D2vsource and MPEG2Source are working.

    anyway, the command
    tfm().tdecimate()
    cuts 38891 frames. it's not the way I need.
    many frames disappear.
    look at the yellow dressed teacher scene starting at frame 3367, frames are missing.
    before and after that point, the frames are a sort of bad deinterlaced alternating with correct ones.
    anyway this behavior occurs for the first 5min only of the whole movie.
    Quote Quote  
  19. what happens if you use
    Code:
    MPEG2Source(d2v="PATH TO THE .d2v FILE",info=3)
    TFM().Vinverse()
    like I suggested?
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  20. Originally Posted by Selur View Post
    what happens if you use
    Code:
    MPEG2Source(d2v="PATH TO THE .d2v FILE",info=3)
    TFM().Vinverse()
    like I suggested?
    oh! ok, it looks fine now.
    I think I can try to sync it now. Thanks!

    Just a question: what "info=3" does?
    I read "- 3: Output hints in the video (as defined in utilities.cpp/utilities.h)", what this means in few words?
    What are output hints?
    I see no differences with or without it. Have I really to use it?
    Quote Quote  
  21. This leaves hints about the frame type for TFM to work with.
    If you are sure, you can leave it out, but I don't see why you would want to.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  



Similar Threads

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