VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. Hello friends.
    Recently I started to get interested in filters because I started to play old anime DVDs. However, I ran into a problem that I can not solve. The lines of an "anime" I'm working on are very bugged, from what I read on the internet the blame is for the wrong conversion from DVD to BD. When they de-interlaced the lines did not do correctly. Now I am trying to soften the problem using avisynth, I tried to use QTGMC, AA, AnimeIVTC and I even looked in Chinese forums for the TAAmbk filter that solved in an image, but in the video it turned out bad.

    Can anyone think of a solution?

    Thank you very much.

    Ps:

    follows a video cut of a few seconds with the problem: Dropbox

    Mediainfo:


    General
    ID : 0 (0x0)
    Complete name : F:\BDMV\STREAM\00000.m2ts
    Format : BDAV
    Format/Info : Blu-ray Video
    File size : 7.28 GiB
    Duration : 29 min 54 s
    Overall bit rate mode : Variable
    Overall bit rate : 34.9 Mb/s
    Maximum Overall bit rate : 48.0 Mb/s

    Video
    ID : 4113 (0x1011)
    Menu ID : 1 (0x1)
    Format : MPEG Video
    Format version : Version 2
    Format profile : Main@High
    Format settings, BVOP : Yes
    Format settings, Matrix : Default
    Format settings, GOP : M=3, N=12
    Codec ID : 2
    Duration : 29 min 54 s
    Bit rate mode : Variable
    Bit rate : 30.4 Mb/s
    Maximum bit rate : 35.0 Mb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 23.976 (24000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.611
    Time code of first frame : 00:00:00:00
    Time code source : Group of pictures header
    GOP, Open/Closed : Closed
    Stream size : 6.35 GiB (87%)

    Audio #1
    ID : 4352 (0x1100)
    Menu ID : 1 (0x1)
    Format : PCM
    Format settings, Endianness : Big
    Format settings, Sign : Signed
    Muxing mode : Blu-ray
    Codec ID : 128
    Duration : 29 min 54 s
    Bit rate mode : Constant
    Bit rate : 1 536 kb/s
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 kHz
    Bit depth : 16 bits
    Stream size : 328 MiB (4%)

    Audio #2
    ID : 4353 (0x1101)
    Menu ID : 1 (0x1)
    Format : PCM
    Format settings, Endianness : Big
    Format settings, Sign : Signed
    Muxing mode : Blu-ray
    Codec ID : 128
    Duration : 29 min 54 s
    Bit rate mode : Constant
    Bit rate : 1 536 kb/s
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 kHz
    Bit depth : 16 bits
    Stream size : 328 MiB (4%)

    Text #1
    ID : 4608 (0x1200)
    Menu ID : 1 (0x1)
    Format : PGS
    Codec ID : 144

    Text #2
    ID : 4609 (0x1201)
    Menu ID : 1 (0x1)
    Format : PGS
    Codec ID : 144

    ps:
    Sorry for the strange English.
    It is not my primary language.
    Last edited by Kuronoe; 17th Jul 2018 at 09:26.
    Quote Quote  
  2. Since it's a SD upscale, I would scale it down, fix the aliasing using dup and some antialiasing and qtgmc in progressive mode. The reason for dup is to eliminate frames that are supposed to be duplicates - this source was deinterlaced before upscaling so you have a shifting aliasing pattern on supposedly duplicate frames. That will screw up qtgmc's effectiveness. You might have to adjust some of the dup thresholds, so that's the reason for the stackhorizontal commented out. You have to check other scenes to make sure it's not dropping frames it shouldn't be

    If you want you can scale it back up with a better scaling method. Such as waifu2x or nnedi3_rpow2 whatever method of you choosing . If you choose to use waifu2x, don't use the avs version, it's very very very slow. I would use vapoursynth's caffe version which can be accelerated by GPU

    Code:
    MPEG2Source("copy.d2v")
    BilinearResize(720,480)
    a=last
    
    a
    dup()
    awarpsharp2(depth=2)
    aaa()
    assumeframebased().qtgmc(inputtype=2, sharpness=0.5, preset="placebo")
    dup()
    b=last
    
    #stackhorizontal(a,b) #compare
    b
    Image Attached Files
    Quote Quote  
  3. Something like this:

    Code:
    LWLibavVideoSource("pv 01.mkv") 
    src=last
    BilinearResize(720,480)
    Dup(threshold=4, blend=true, show=false)
    aaa()
    TNLMeans(ax=2, ay=2, az=0)
    FastLineDarkenMod()
    nnedi3_rpow2(4, cshift="Spline36Resize", fwidth=src.width, fheight=src.height)
    aWarpSharp(depth=10)
    Sharpen(0.3)
    
    #Interleave(src,last)
    Obviously, tune to your liking.
    Image Attached Files
    Quote Quote  
  4. Thanks a lot for the help.

    I had some problems to make these filters work, but the result was very good. Appreciate.

    I was really having issues with this eps.
    I have the DVD (uncensored), but it has many jumps in scenes that move, I believe it is "pulldown", I could not solve with the filters I learned to use. So I was trying on this blu-ray.
    Using QTGMC in the dvds was fine, but the "jumps" did not help.

    @edit:
    I have been testing the: "Dither Avisynth tools" with "nnedi3_resize16". I will look at your suggestions carefully, very gratefully.

    Thanks Poisondeathray and Sneaker for help.
    Last edited by Kuronoe; 17th Mar 2018 at 19:45.
    Quote Quote  
  5. Hello jagabo.

    you guys are very good with that.
    I really need to practice a lot.

    I'll test it too, thank you very much.
    Quote Quote  
  6. Originally Posted by Kuronoe View Post
    I was really having issues with this eps.
    I have the DVD (uncensored), but it has many jumps in scenes that move, I believe it is "pulldown", I could not solve with the filters I learned to use. So I was trying on this blu-ray.
    Using QTGMC in the dvds was fine, but the "jumps" did not help.
    But there might be a chance that the DVD version is actually "better" , since the BD is just an upscale. It might just be an issue of removing the pulldown on the DVD. If you can find a "PG" (non adult) scene with motion and post a sample, someone will have a look at it
    Quote Quote  
  7. Hi, Poisondeathray.

    These are scenes from the DVD (interlaced) with the same problems in the lines and with the "jumps". I got two pv, one horizontal and one vertical, did not know if it would make a difference.
    The problem of the lines I managed to soften with AnimeIVTC and QTGMC ("EEDI3 + NNEDI3"), are the filters that I have been stirring in the last days.

    Thanks again for your time.


    Dropbox - Horiz and Dropbox - Vert

    mediainfo:
    01.mkv
    Format : Matroska
    Format version : Version 2
    File size : 1.66 GiB
    Duration : 29 min 54 s
    Overall bit rate : 7 965 kb/s
    Encoded date : UTC 2018-03-16 15:24:47
    Writing application : libmatroska built on Dec 23 2014 15:33:29
    Writing library : libebml v1.2.0 + libmatroska v1.1.0

    Video
    ID : 1
    Format : MPEG Video
    Format version : Version 2
    Format profile : Main@Main
    Format settings, BVOP : Yes
    Format settings, Matrix : Default
    Format settings, GOP : M=3, N=15
    Format settings, picture st : Frame
    Codec ID : V_MPEG2
    Codec ID/Info : MPEG 1 or 2 Video
    Duration : 29 min 54 s
    Bit rate mode : Constant
    Bit rate : 7 294 kb/s
    Maximum bit rate : 7 438 kb/s
    Width : 720 pixels
    Height : 480 pixels
    Display aspect ratio : 16:9
    Original display aspect rat : 16:9
    Frame rate mode : Constant
    Frame rate : 30.000 FPS
    Original frame rate : 29.970 (30000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan order : Bottom Field First
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.704
    Time code of first frame : 00:00:00;00
    Time code source : Group of pictures header
    GOP, Open/Closed : Closed
    Stream size : 1.52 GiB (92%)
    Language : English
    Default : Yes
    Forced : No

    Audio #1
    ID : 2
    Format : AC-3
    Format/Info : Audio Coding 3
    Format settings, Endianness : Big
    Codec ID : A_AC3
    Duration : 29 min 54 s
    Bit rate mode : Constant
    Bit rate : 256 kb/s
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 kHz
    Frame rate : 31.250 FPS (1536 SPF)
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 54.8 MiB (3%)
    Language : Japanese
    Service kind : Complete Main
    Default : Yes
    Forced : No

    Audio #2
    ID : 3
    Format : AC-3
    Format/Info : Audio Coding 3
    Format settings, Endianness : Big
    Codec ID : A_AC3
    Duration : 29 min 54 s
    Bit rate mode : Constant
    Bit rate : 256 kb/s
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 kHz
    Frame rate : 31.250 FPS (1536 SPF)
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 54.8 MiB (3%)
    Language : English
    Service kind : Complete Main
    Default : Yes
    Forced : No

    Text #1
    ID : 4
    Format : VobSub
    Codec ID : S_VOBSUB
    Codec ID/Info : Picture based subtitle format used on DVDs
    Language : English
    Default : Yes
    Forced : No

    Text #2
    ID : 5
    Format : VobSub
    Codec ID : S_VOBSUB
    Codec ID/Info : Picture based subtitle format used on DVDs
    Language : English
    Default : Yes
    Forced : No

    Menu
    00:00:00.000 : en:Chapter1
    00:06:18.500 : en:Chapter2
    00:14:25.001 : en:Chapter3

    remux with pavtube.
    Quote Quote  
  8. Those DVD clips will be harder to fix since they are missing frames, have duplicate frames, were once interlaced but badly deinterlaced and then telecined again. What a mess.
    Last edited by jagabo; 17th Mar 2018 at 21:49.
    Quote Quote  
  9. Hi, Jagabo.

    Originally Posted by jagabo View Post
    Those DVD clips will be harder to fix since they are missing frames, have duplicate frames, were once interlaced but badly deinterlaced and then telecined again. What a mess.
    Yeah, I noticed that. I received DVDs JP, BDs US, BDs JP (movie and episode) but all have some problem. The Japanese have less because they are interlaced, but are censored

    I'm trying to lighten up the "jumps" of the DVD for now. But the help with the blu-ray will be very useful now, I intend to work with the BDs, until discover something with the DVDs and thus leave all the versions of this complete anime.

    Anyway, I'm very grateful for your attention to help me.

    Thanks for all the tips.
    I will try to study these filters for future projects.

    You guys are cool
    Quote Quote  
  10. Hello,
    Sorry to resume the post.
    Anyway, I went on vacation from the service and I'm messing with the filters again. I took the courage to encode the episode yesterday, because it took 20 hours (I do not have a very powerful computer). I was glad that I could finally get this "blu-ray" after spending it.

    The problem:
    Most of the scenes went great with both the script, but apparently I lost frames, the video jumped in some parts as if it were grabbing. Another point was that he left some "ghosts" in the mouth of some characters, in the PV below it is visible that using the scripts mentioned above..

    I tried to pack in different ways, but I came to a dead end.
    I hope you can give me an idea how to solve it.

    Thank you and sorry for anything.

    Google Drive PV - Safe NOT +18
    Quote Quote  
  11. Dup with too high a threshold can result in small frame to frame changes being skipped. The blend option can cause ghosting when there are only small changes from frame to frame. Ie, lower the threshold value. If you set blend to false dup will use the last frame of a near identical sequence rather than a blend of all of them.

    QTGMC() sometimes creates blending artifacts too.

    Your source has some blending artifacts to start with. These filters aren't going to remove those.
    Last edited by jagabo; 18th Jul 2018 at 17:51.
    Quote Quote  
  12. Originally Posted by jagabo View Post
    Dup with too high a threshold can result in small frame to frame changes being skipped. The blend option can cause ghosting when there are only small changes from frame to frame. Ie, lower the threshold value. If you set blend to false dup will use the last frame of a near identical sequence rather than a blend of all of them.

    QTGMC() sometimes creates blending artifacts too.

    Your source has some blending artifacts to start with. These filters aren't going to remove those.
    Thank you for your help, Jagabo.

    I tried to find his manual, but in the avisynth wiki there is not and I ended up finding one on the Russian wiki.

    I'm trying a few things here, but to no avail, the best idea I had was to use trim on the most problematic scenes and skip the scenes where the scenery runs to avoid jumping.

    But I could not avoid the ghosts.
    I suspect there's no way to save this blu-ray.
    Quote Quote  



Similar Threads

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