VideoHelp Forum




+ Reply to Thread
Page 2 of 3
FirstFirst 1 2 3 LastLast
Results 31 to 60 of 79
  1. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    nicaudio.dll is the plugin

    The notation is nicac3source() for ac3sources, there is also NicDTSSource(), NicMPG123Source() etc, etc.. all from the same nicaudio.dll. It just loads different types of audio

    AC3Source() is an old plugin and doesn't work well IIRC

    Some people like using the LoadPlugin() for everything, as it is their way of organizing things. The more autoloading plugins and avsi scripts you have, the slower avisynth becomes for loading. You decide for yourself how you want to organize stuff

    I added a line above, to make sure you preview your scripts before encoding. This is solid advice, or you're going to be wasting a lot of time encoding
    Thanks that AvsP is pretty great if you ask me, I might make some good use of it for getting started.

    Yeah I think I prefer to load them that way, it reminds me of comments in html code to help you know where everything is. Ill decide for sure later on as I get more exp with this.

    oh I see, alright Ill keep the audio thing in mind. You sure do fill in the blanks pretty good when somethings asked.

    last question I can think of for now would be. where you put video=last could I put the same thing as the location for the mpeg2source? I dunno why you put last im guessing it means last source stated but I could be wrong.
    Quote Quote  
  2. I used vid=last , which means all the stuff before now gets assigned the variable "vid". You could have just as easily called it "myvideo=last".

    You could have done it all on 1 line as well, and used "." to separate the commands. I broke it up to make it easier to see. It helps with newbie coders like myself

    e.g.

    vid = mpeg2source().tfm().tdecimate.Crop(6,0,-4,0).LanczosResize(640,480).Deen().LSFMod(strength =50)
    Quote Quote  
  3. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by manono
    Originally Posted by jagabo
    Sure, he can reduce the DCT ringing in his source, but Xvid compression will recreate them. The sharper the source, the worse the problem will be.
    I have no intention of going down to the pixel level for this, but I have zoomed in a bit. I've enclosed 6 pics in a ZIP file, after reencoding the sample 5 times (one of the pics is of the uncompressed source). My contention is that the 2 main matrices used for XviD are designed for heavy compression - for compressing movies down to a CD or 2. But with better matrices (and a larger size), XviD can do a decent job without creating much noise around edges. Anime is a good test, because of all the hard edges it has.

    1.Uncompressed-Unencoded.png It is this script opened in VDubMod and a PNG taken, then the PNG is zoomed in. The original script:

    TFM(D2V=("E:\Test\test.d2v"),PP=0)
    TDecimate()
    Crop(6,0,-4,0)
    LanczosResize(640,480)

    The zooming script for the PNG:

    Crop(166,184,-200,-90)
    LanczosResize(640,480)

    That's the base. The original VOB sample was 34.8 MB in size.

    2. Fox-Quant3-Unfiltered.png That same script encoded for XviD, a pic taken and zoomed in. I'm using the same frame that poisondeathray used. The matrix used is sometimes called Fox Home Theater and is commonly used on DVDs. The reencoded size is 18.7 MB

    3. Fox-Quant3-LightFilter.avi Same matrix and script with the addition of some light filtering, similar to what PDR suggested:

    Deen()
    Dull=Last
    Sharp=Dull.LimitedSharpenFaster(ss_x=1.25,ss_y=1.2 5,Smode=4,strength=350,soft=30)
    Soothe(Sharp,Dull,25)

    This is, in my opinion, the best of the bunch, and better than the source as some of the noise has been removed, without the details taking much of a hit. Size is 17.5 MB.

    4. MPEG-Quant3-Unfiltered.png Everything the same as pic #2 except for using the common MPEG Matrix. Size is 8.46 MB.

    5. MPEG-Quant3-LightFilter.png Everything the same as pic #3 except for the use of the MPEG matrix. Size is 8.72 MB. Both pics 4 and 5 have a greatly increased amount of noise which stands to reason when reencoding to a lossy format using tremendous compression.

    6. Fox-Quant3-HeavytFilter.png Filtered it differently, following the script (pretty much) in the link I posted earlier:

    Deblock()
    dfttest()
    FastLineDarken()
    deen("a3d",4,8,9)
    Spline36Resize(last.width*2,last.height*2)
    aWarpSharp(depth=12,blurlevel=4,thresh=0.2,cm=1)
    FastLineDarken()
    aWarpSharp(depth=6,blurlevel=4,thresh=0.7,cm=1)
    FastLineDarken()
    DeHalo_Alpha()
    fft3dFilter(bt=3,sigma=8,sharpen=1.3)
    Spline36Resize(last.width/2,last.height/2)

    Slow as hell. It pretty much wipes out the noise, but most of the texture detail on walls and elsewhere as well. Size 13.6 MB.

    Conclusion? A Custom Quant matrix won't create the noise that the 2 common matrices will. The size increases, and rather than getting a file roughly 25% the size of the source you get one roughly 50% the size. The file size savings is still considerable. Some standalones won''t play XviDs that use Custom Quant matrices. Those with ESS chipsets won't. I believe that those with Mediatek chipsets will. It's been several years since I tested that, though. HTPCs and the similar boxes that feed into TV sets shouldn't have any problems at all. I'm not sure, jagabo, if you're saying that XviD by its very nature creates noise or if using the common settings and matrices will result in noise being created. I'm saying that less compression, but without having to go down to quant 1, can result in a video that for all intents and purposes is transparent to the source.

    zoomed.zip
    I believe 3 looks best as well. 6 looks good without all the noise but the details such as the lines on the shirt all went to hell.

    Nice job on the description and examples!!
    Quote Quote  
  4. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    I used vid=last , which means all the stuff before now gets assigned the variable "vid". You could have just as easily called it "myvideo=last".

    You could have done it all on 1 line as well, and used "." to separate the commands. I broke it up to make it easier to see. It helps with newbie coders like myself

    e.g.

    vid = mpeg2source().tfm().tdecimate.Crop(6,0,-4,0).LanczosResize(640,480).Deen().LSFMod(strength =50)
    I see... I kinda like the single line one, that saves space and having to read up and down a bit it feels like. Its nice to know it can be done that way too.

    the only thing Im tryin to figure out is why everytime I try to use Deen() it wants to say "Script error: there is no function named "deen" maybe Im missing a plugin for it or something. Because I have no deen.dll in plugins. That or I need to read the one of those 3 links you gave me earlier over again.

    EDIT: nevermind, I got it. I just needed a plugin and it works great.
    Quote Quote  
  5. Filtering and scripts is part of the equation , but encoders and settings are another part. Interesting comparisons by manono, were they done at xvid Q=2 ?

    Not to rain on the xvid parade, but if you don't need xvid for standalone player compatibiilty , x264 will give you much cleaner results at about 1/2 the size of xvid , especially on clean anime. x264 is highly configurable, and you can optimize for anime, or other sources like heavy grain or detailed blu-ray movies, etc

    This was 6.88MB, or 1.5Mb/s, less than 1/2 the size of #3. I included #3 for comparison, the zoom script png of #7 which is the x264 example, and the full frame png of x264 to show that the other details like background,etc aren't eroded that much. I used my original script. Filtering is a balancing act. If you filter too much, you will oversmooth and erode details

    7.%20257%20x264%201.5mbps%20zoom%20script.zip
    Quote Quote  
  6. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Im more interested in doing all of this to my Naruto DVD's than I am my Elemental Gelade ones. The only thing is, the Naruto source seems much harder to work with than the elemental gelade one is. So far Ive been able to make a better quality test using AVISynth than I could with VirtualDubMod with the method Ive been using. So I guess thats a plus!! But their both still crap if compared to my elemental gelade sample I had posted at first I think.

    After all the reading on Deinterlacing and Telecining and IVTC and and stuff it seems the most difficult thing for me is deciding wtf to use in my fixes and whats wrong with the source to begin with :/ Im starting to feel like an idiot. For example, to me its telecined or interlaced, to a pro, its "hard telecined" and "progressively interlaced" on top of it. How the hell they know for sure is beyond me sometimes. I wish some of the little details I take in as I read would stay in my head instead of leave when I move onto another subject sometimes lol.

    Yeah Im well aware h.264 is much better, its just I wanted to get doing this to Xvid or Divx down before I worked with h.264. The only way I know how to use h.264 is with MKV files and Handbrake.
    Quote Quote  
  7. Member
    Join Date
    Jan 2009
    Location
    United States
    Search Comp PM
    I was trying to find the guide that I had seen with this information, but was unsuccessful. The closest one that I found was this.

    At any rate, create an avs file like this:
    Code:
    loadplugin("Path\To\DGDecode.dll")
    
    MPEG2Source("video.d2v")
    AssumeTFF().SeparateFields()
    Open that file in Vdub[mod]. Move to a scene with lots of motion. Single step through the video. First look to make sure that everything progresses forward linearly (no backward jumping motion). This ensures that you have the correct field order (i.e. not BFF). Then look for the pattern of the frames.

    aabbccdd = progressive (all progressive frames)
    abcdefgh = interlaced (all interlaced frames...I think, been a while)
    aaabbcccdd = 3:2 pulldown (3 progressive, 2 interlaced, etc)

    The problem is that you are starting off with some of the most difficult material to deal with (anime) from what I have read. I am not a big anime fan, so I haven't had to deal with it. I don't know the extent of what you will see with that material when using the method I listed above.
    Quote Quote  
  8. Originally Posted by poisondeathray
    were they done at xvid Q=2 ?
    All the pics taken from the various reencodes have 'Quant3' as part of the name.

    No, I wasn't suggesting that XviD can encode as well as x264 for the same file sizes. That would be silly. I don't even encode all that much anime these days. But many, including me, use DVD/MPEG-4 players and we still have use for XviD AVIs. I expect that in the next couple of years that standalones supporting x/H.264 will become more common and then the great switch will begin. Those with HTPCs, and those other boxes like the Popcorn Hour, the Western Digital one, PS3s, X-Box 360s are already enjoying the benefits of the better compression ability of x264. And if not all the ones I just named support it, forgive me because I'm not up on what supports what.
    Quote Quote  
  9. Originally Posted by txporter
    aaabbcccdd = 3:2 pulldown (3 progressive, 2 interlaced, etc)
    If you've made the D2V project file using Honor Pulldown Flags and you see that pattern, then it's either been hard telecined (the 3:2 pulldown encoded into the video), or it's been soft telecined (encoded as progressive 23.976fps with flags set to output interlaced 29.97fps.

    The script I gave earlier treats the film parts (the soft telecined frames) as film (leaves them alone) and IVTCs the video parts (the hard telecined frames). At the very bottom of the D2V you can find out what percentage of the entire thing is film and what percentage is video. Anime gets tricky, though, because nowadays some of it is often pure 29.97fps, either interlaced or progressive or a mix of both, and it's impossible to get it down to 23.976fps without removing unique frames. Some people will do VFR encodes, keeping each part at its native framerate. Others use some of the IVTC tricks (blending frames together) to try and lessen the jerkiness when encoding for 23.976fps. The sample we were given to examine was 97% film, with a few frames of hard telecine.
    Quote Quote  
  10. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by manono
    Originally Posted by txporter
    aaabbcccdd = 3:2 pulldown (3 progressive, 2 interlaced, etc)
    If you've made the D2V project file using Honor Pulldown Flags and you see that pattern, then it's either been hard telecined (the 3:2 pulldown encoded into the video), or it's been soft telecined (encoded as progressive 23.976fps with flags set to output interlaced 29.97fps.

    The script I gave earlier treats the film parts (the soft telecined frames) as film (leaves them alone) and IVTCs the video parts (the hard telecined frames). At the very bottom of the D2V you can find out what percentage of the entire thing is film and what percentage is video. Anime gets tricky, though, because nowadays some of it is often pure 29.97fps, either interlaced or progressive or a mix of both, and it's impossible to get it down to 23.976fps without removing unique frames. Some people will do VFR encodes, keeping each part at its native framerate. Others use some of the IVTC tricks (blending frames together) to try and lessen the jerkiness when encoding for 23.976fps. The sample we were given to examine was 97% film, with a few frames of hard telecine.
    I see what your saying. Thanks for the details.

    well this is the "source" Im attempting to work with now. http://www.mediafire.com/?lzwdqzygy44 I kinda halted on my Elemental Gelade ones. Its pretty much 100% NTSC at 29.97fps according to DGIndex. I thought the only type you wanted to drag back to 23.976fps was FILM such as my previous source shown. so if its NTSC I shouldnt bother to pulldown the constant 29.97fps and instead, just keep it the same right?

    Im just asking because I see those blinds I mentioned before on it and the only thing Ive seen so far that gets rid of them is
    TFM().TDecimate()

    the only thing is, I believe its pulling it down to 23.976fps. Do I want to change the method? I notice some frames removed I think but its also the only thing I tried so far that gets rid of the blind like lines through it. What do you suggest?

    Heres a sample of the current AVI output I get from the AVISynth script if you want it. http://www.mediafire.com/?xnz3nzwjiyd
    Its pretty basic and Im just trying things out at the moment but its given me the best output so far. Its better than my previous method with my last sample using virtualdubmod without AVISynth but I still think it could be better. For some reason Im just not quite taking a liking to the current output quality.


    LoadPlugin("M:\Desktop M\My Documents\My Videos\Encoding Stuff\VOB To AVI stuff\dgmpgdec157\DGDecode.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ac3source.dll")
    MPEG2Source("C:\Documents and Settings\User\Desktop\VIDEO_TS\VTS_01_1.d2v")
    TFM().TDecimate()
    Deen()
    LSFMod(strength=50)
    Crop(8,6,-8,0)
    LanczosResize(640,480)
    video=last
    audio=AC3Source("C:\Documents and Settings\User\Desktop\VIDEO_TS\VTS_01_1 T80 2_0ch 192Kbps DELAY 0ms.ac3")
    audiodub(video,audio)
    Quote Quote  
  11. Originally Posted by darkdream4
    I thought the only type you wanted to drag back to 23.976fps was FILM such as my previous source shown. so if its NTSC I shouldnt bother to pulldown the constant 29.97fps and instead, just keep it the same right?
    I or someone else will check the sample later on. I'm at a different computer now.

    If DGIndex shows it as 100% Video (NTSC), it can be one of 3 things:

    1. Hard Telecine - It can and should be IVTC'd back to 23.976fps.
    2. Interlaced Video - Anime sometimes has interlaced 29.97fps credits, intros, and even sometimes scatters it around the episodes.
    3. Progressive 29.97fps. (DGIndex may say either Interlaced or Progressive NTSC) - The intros are particularly likely to contain some of this. I've also seen it in the episodes from time to time. Just hope you don't have any like this.
    4. There's a 4th instance, but it doesn't often apply to anime. That's when a PAL source is fieldblended for NTSC DVD. It can be unblended and also shows in DGIndex as NTSC Interlaced.

    To find out what you have, put on the script txporter suggested and follow his guidelines to figure out what has to be done.

    By the way, if making an AVI, as you seem to be doing, you don't have to mess with the audio in the script. You can just mux it in while encoding. I never do anything with audio in a script. To my way of thinking it just complicates things needlessly. Of course, not everyone agrees with me on that point. But VDub(Mod) can easily mux in audio.

    Edit: I had a look at the sample and it's standard hard telecine and can easily be IVTC'd:

    TFM()
    TDecimate()

    There's some dot crawl along the sides in some of it which should probably be cropped away.
    Quote Quote  
  12. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by manono
    Originally Posted by darkdream4
    I thought the only type you wanted to drag back to 23.976fps was FILM such as my previous source shown. so if its NTSC I shouldnt bother to pulldown the constant 29.97fps and instead, just keep it the same right?
    I or someone else will check the sample later on. I'm at a different computer now.

    If DGIndex shows it as 100% Video (NTSC), it can be one of 3 things:

    1. Hard Telecine - It can and should be IVTC'd back to 23.976fps.
    2. Interlaced Video - Anime sometimes has interlaced 29.97fps credits, intros, and even sometimes scatters it around the episodes.
    3. Progressive 29.97fps. (DGIndex may say either Interlaced or Progressive NTSC) - The intros are particularly likely to contain some of this. I've also seen it in the episodes from time to time. Just hope you don't have any like this.
    4. There's a 4th instance, but it doesn't often apply to anime. That's when a PAL source is fieldblended for NTSC DVD. It can be unblended and also shows in DGIndex as NTSC Interlaced.

    To find out what you have, put on the script txporter suggested and follow his guidelines to figure out what has to be done.

    By the way, if making an AVI, as you seem to be doing, you don't have to mess with the audio in the script. You can just mux it in while encoding. I never do anything with audio in a script. To my way of thinking it just complicates things needlessly. Of course, not everyone agrees with me on that point. But VDub(Mod) can easily mux in audio.

    Edit: I had a look at the sample and it's standard hard telecine and can easily be IVTC'd:

    TFM()
    TDecimate()

    There's some dot crawl along the sides in some of it which should probably be cropped away.
    Would using the selection Force Film in DGIndex be better than that piece of script? It also pulls it back to 23.976fps.

    Thanks for the information. And also the fps information. It helped enough to keep me from having to beg someone what type it is.

    Yeah I posted something about the audio a while back. I had an audio issue. It worked perfect when virtualdub was doing the audio part but the script was givin me the problem below. I just didnt know if I should have used AVISynth for everything or not. Apparently audio might cause less problems out of the script and muxed in with VirtualDubMod.


    Originally Posted by darkdream4
    Also Ive went ahead and gave the most basic script a try for practice and I was wondering. could you take a look at this sample and tell me why the audio is doing what it does. youll notice at the very beginning for the first 2 seconds or so it plays audio from half way through the video clip and then starts to play normally with no more problems.

    http://www.mediafire.com/file/yjzzogfmojg/dgdecodefirsttry2.avi

    heres the script I used on it.

    LoadPlugin("M:\Desktop M\My Documents\My Videos\Encoding Stuff\VOB To AVI stuff\dgmpgdec157\DGDecode.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ac3source.dll")
    MPEG2Source("C:\Documents and Settings\Aiden\Desktop\VIDEO_TS\VTS_01_1.d2v")
    AC3Source("C:\Documents and Settings\Aiden\Desktop\VIDEO_TS\VTS_01_1 T80 2_0ch 192Kbps DELAY 0ms.ac3")
    Quote Quote  
  13. I already addressed the audio issue. Use NicAC3Source instead. It works in sync. Check with only the IVTC filter, not all the denoiser, sharpeners etc... because they add cpu overhead, and you might not get realtime playback

    Code:
    MPEG2Ssource("VTS_01_1.d2v")
    Animeivtc(mode=1, aa=0)
    vid=last
    
    aud=NicAC3Source("VTS_01_1 T81 2_0ch 192Kbps DELAY 0ms.ac3")
    
    AudioDub(vid,aud)
    So play that in MPC, and you will see that it's in sync. Don't use vdub to playback, use a media player. Once sync looks ok, you can add the filters back

    This sample is Naruto again right? I had a look at it, and some of the dot crawl filters like checkmate work ok on it, there are a few frames that still have minor dot crawl artifacts. You can try other dot crawl filters, or play with checkmate settings, but most of the artifacting is eliminated. Ask on D9 if you want something better

    Code:
    MPEG2Source("VTS_01_1.d2v")
    Checkmate()
    Animeivtc(mode=1, aa=0)
    ChubbyRain2()
    Deen()
    AwarpSharp2(depth=8)
    Toon(strength=0.5)
    Tweak(sat=1.1)
    LSFMod(strength=50)
    Crop(6,2,-6,0)
    LanczosResize(640,480)
    vid=last
    
    aud=NicAC3Source("VTS_01_1 T81 2_0ch 192Kbps DELAY 0ms.ac3")
    
    Audiodub(vid,aud)
    Checkmate is a dot crawl filter, there is more info in the link on filters I posted above, including settings

    AnimeIVTC is an aggregate function, in mode=1 it is simple IVTC for hard telecine. You could have used TFM.TDecimate, but I'm learning about AnimeIVTC right now so I'm just playing with it

    Chubbyrain2 is to help with the rainbowing

    Awarpsharp2 is to help line thinning

    Toon is a line darkener

    Tweak with sat is a saturation adjuster

    Read the documentation for more info. Take out each filter 1 by one and play with the settings and values to learn what each is doing as you preview it in AvsP. That's the only way to learn. Don't just copy & paste. Use this as a starting point to learn about the filters. Remember every source is different, and you might have to adjust the values , even between episodes or even sections within an episode
    Quote Quote  
  14. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    I already addressed the audio issue. Use NicAC3Source instead. It works in sync. Check with only the IVTC filter, not all the denoiser, sharpeners etc... because they add cpu overhead, and you might not get realtime playback

    Code:
    MPEG2Ssource("VTS_01_1.d2v")
    Animeivtc(mode=1, aa=0)
    vid=last
    
    aud=NicAC3Source("VTS_01_1 T81 2_0ch 192Kbps DELAY 0ms.ac3")
    
    AudioDub(vid,aud)
    So play that in MPC, and you will see that it's in sync. Don't use vdub to playback, use a media player. Once sync looks ok, you can add the filters back

    This sample is Naruto again right? I had a look at it, and some of the dot crawl filters like checkmate work ok on it, there are a few frames that still have minor dot crawl artifacts. You can try other dot crawl filters, or play with checkmate settings, but most of the artifacting is eliminated. Ask on D9 if you want something better

    Code:
    MPEG2Source("VTS_01_1.d2v")
    Checkmate()
    Animeivtc(mode=1, aa=0)
    ChubbyRain2()
    Deen()
    AwarpSharp2(depth=8)
    Toon(strength=0.5)
    Tweak(sat=1.1)
    LSFMod(strength=50)
    Crop(6,2,-6,0)
    LanczosResize(640,480)
    vid=last
    
    aud=NicAC3Source("VTS_01_1 T81 2_0ch 192Kbps DELAY 0ms.ac3")
    
    Audiodub(vid,aud)
    Checkmate is a dot crawl filter, there is more info in the link on filters I posted above, including settings

    AnimeIVTC is an aggregate function, in mode=1 it is simple IVTC for hard telecine. You could have used TFM.TDecimate, but I'm learning about AnimeIVTC right now so I'm just playing with it

    Chubbyrain2 is to help with the rainbowing

    Awarpsharp2 is to help line thinning

    Toon is a line darkener

    Tweak with sat is a saturation adjuster

    Read the documentation for more info. Take out each filter 1 by one and play with the settings and values to learn what each is doing as you preview it in AvsP. That's the only way to learn. Don't just copy & paste. Use this as a starting point to learn about the filters. Remember every source is different, and you might have to adjust the values , even between episodes or even sections within an episode

    I already had the audio problem fixed by doing what you said before. I was just telling him about the audio issue I had thats all. Nicac3source worked for me.

    and yeah Ive been reading up on and learning anime IVTC 2.0 which apparently just came out and 1.6.01 from doom9 as well. It seems pretty handy to me. Got more filters and tools than I will need it feels like. I think I got this AVISynth down pretty much. Its all a matter of knowing what plugins and filters will work best for your source and understanding what all the possible settings for them do and your pretty much set it feels like.

    Though I will admit, I still for the life of me cannot find a script that allows me to change just the saturation. Ive seen tweak and RGBAdjust but it confuses me just a little. All I really wanted to do was change the saturation to about 120% so it had a little more color. What I was reading kinda threw me off a little. perhaps you could explain it a little better? heres where I was reading. The one about saturation in your example looks easy. The ones I was reading about (tweak) on here were confusing me a bit on how to type it properly.
    http://avisynth.org/mediawiki/Tweak
    http://avisynth.org/mediawiki/RgbAdjust

    Yup thats what I been doing to learn, exactly what you said. I been at this point fooling with em one at a time and checking the documentations. AVISynth isnt so bad when it starts to make sense lol. You begin to wonder how you ever got by without it.

    I still thank you and manono most. You guys gave me my biggest jumpstart at learning and getting started at this. Ill check out all those filters I see in the script and read up on each of em so I can make the best of em.
    Quote Quote  
  15. Don't use RGBAdjust if all you want to do is boost the saturation. That's something for which Tweak was designed:

    Tweak(Sat=1.2,Coring=False)
    Would using the selection Force Film in DGIndex be better than that piece of script? It also pulls it back to 23.976fps.
    Not if it's hard telecine. When DGIndex shows as 100% Video, make the D2V file using Honor Pulldown Flags and IVTC in the script. If you Force Film to get it to 23.976fps you'll wind up with an interlaced jerky-playing mess.
    Quote Quote  
  16. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray

    Code:
    MPEG2Source("VTS_01_1.d2v")
    Checkmate()
    Animeivtc(mode=1, aa=0)
    ChubbyRain2()
    Deen()
    AwarpSharp2(depth=8)
    Toon(strength=0.5)
    Tweak(sat=1.1)
    LSFMod(strength=50)
    Crop(6,2,-6,0)
    LanczosResize(640,480)
    vid=last
    
    aud=NicAC3Source("VTS_01_1 T81 2_0ch 192Kbps DELAY 0ms.ac3")
    
    Audiodub(vid,aud)

    Chubbyrain2 is to help with the rainbowing

    I get a Script error: there is no function named "ChubbyRain2" and I dont see any .dll for download anywhere. I musta looked on google for about 15 minutes and all I find are links to scripts with it being used in it, mostly on Doom9. How did you get this working?
    Quote Quote  
  17. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by manono
    Don't use RGBAdjust if all you want to do is boost the saturation. That's something for which Tweak was designed:

    Tweak(Sat=1.2,Coring=False)

    Not if it's hard telecine. When DGIndex shows as 100% Video, make the D2V file using Honor Pulldown Flags and IVTC in the script. If you Force Film to get it to 23.976fps you'll wind up with an interlaced jerky-playing mess.
    Yeah I understand Tweak when seeing you and poisondeathray using it. You guys showed it in use better than that site I was using. Thanks for the help with that.

    Alrighty Ill be sure to remember that about 100% NTSC sources. Thats pretty important to remember.
    Quote Quote  
  18. chubbyrain2 is an .avsi autoloading script

    http://forum.doom9.org/showthread.php?t=143438

    When you do searches in google, use "doom9 chubbyrain2"; or doom9 something something etc... google search engine is 10000x better than doom9's search engine


    chubbyrain2.avsi
    Quote Quote  
  19. oops double post
    Quote Quote  
  20. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    chubbyrain2 is an .avsi autoloading script

    http://forum.doom9.org/showthread.php?t=143438

    When you do searches in google, use "doom9 chubbyrain2"; or doom9 something something etc... google search engine is 10000x better than doom9's search engine


    chubbyrain2.avsi
    Thanks, that helpes. now its going on about bifrost error which is part of ChubbyRain2. I got bifrost.dll and now that AvsP software is telling me this. and preview refuses to show. Maybe I got an out of date one.

    Traceback (most recent call last):
    File "AvsP.pyo", line 5804, in OnMenuVideoRefresh
    File "AvsP.pyo", line 8822, in ShowVideoFrame
    File "AvsP.pyo", line 9256, in UpdateScriptAVI
    File "pyavs.pyo", line 186, in __init__
    File "avisynth.pyo", line 117, in Invoke
    WindowsError: exception: access violation reading 0x00000004
    Quote Quote  
  21. Member
    Join Date
    Jan 2009
    Location
    United States
    Search Comp PM
    Originally Posted by darkdream4
    Alrighty Ill be sure to remember that about 100% NTSC sources. Thats pretty important to remember.
    Yeah, you really only want to use Force Film when it is 100% FILM. To make it simple, you can just ignore forced film in DGIndex. Even with soft telecine material (100% film), using Honor Pulldowns and TFM().TDecimate() will result in the same output as Forced Film (without tfm.tdecimate). It will just take a bit longer.
    Quote Quote  
  22. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Im using this and it wont work

    LoadPlugin("M:\Desktop M\My Documents\My Videos\Encoding Stuff\VOB To AVI stuff\dgmpgdec157\DGDecode.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ac3source.dll")
    MPEG2Source("C:\Documents and Settings\Aiden\Desktop\VIDEO_TS\VTS_01_1.d2v", cpu=4, iPP=true, moderate_v=40)
    Checkmate()
    Animeivtc(mode=1, aa=0)
    ChubbyRain2()
    Deen()
    AwarpSharp2(depth=8)
    Toon(strength=0.5)
    Tweak(sat=1.1)
    LSFMod(strength=50)
    Crop(8,6,-8,0)
    LanczosResize(640,480)
    video=last
    audio=AC3Source("C:\Documents and Settings\Aiden\Desktop\VIDEO_TS\VTS_01_1 T80 2_0ch 192Kbps DELAY 0ms.ac3")
    audiodub(video,audio)


    I cant get the chubbyrain2 to work at all. I took it out and tried to refresh and just not use it and then toon got highlighted and it says awarpsharp isnt loaded

    it works perfectly fine for me when I take out the Toon line.
    Quote Quote  
  23. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Man that chubbyrain2 is just giving me hell. I cant even get virtualdub to open it or that AvsP.




    LoadPlugin("M:\Desktop M\My Documents\My Videos\Encoding Stuff\VOB To AVI stuff\dgmpgdec157\DGDecode.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ac3source.dll")
    MPEG2Source("C:\Documents and Settings\User\Desktop\VIDEO_TS\VTS_01_1.d2v", cpu=4, iPP=true, moderate_v=40)
    Checkmate()
    Animeivtc(mode=1, aa=0)
    Deen()
    ChubbyRain2()
    AwarpSharp2(depth=8)
    Toon(strength=0.5)
    Tweak(sat=1.1)
    LSFMod(strength=50)
    Crop(8,6,-8,0)
    LanczosResize(640,480)
    video=last
    audio=AC3Source("C:\Documents and Settings\Aiden\Desktop\VIDEO_TS\VTS_01_1 T80 2_0ch 192Kbps DELAY 0ms.ac3")
    audiodub(video,audio)



    If the toon line is in virtualdub crashes.
    Quote Quote  
  24. You need awarpsharp2 and the modified toon that matches awarpsharp2 (toon v1.1)

    Some filters rely on the old toon , and the old awarpsharp, so I would keep them in separate folders and load them manually. The way I have it organized is the old awarpsharp and old toon are autoloading in the default plugins folder, and the new versions I keep in separate subfolders folders to load manually (using loadplugin() )

    http://forum.doom9.org/showthread.php?t=147285

    You're using the wrong audio again in your script. You want nicaudio.dll , not ac3source.dll which is known to cause problems

    Make sure you play with the script values, you might want it more saturated, or more sharper, or more clean etc... i.e. adjust it to your tastes

    There's still a bit of dotcrawl around the 470-490 frame segment when he's jumping down. It really bugs me and I don't know how to get rid of it completely. I played with the checkmate values, and tried a few others like tcomb, but they were not much better. I suppose one bad way of doing it would be warpsharping lines thinner, then adding them back for that section
    Quote Quote  
  25. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    You need awarpsharp2 and the modified toon that matches awarpsharp2 (toon v1.1)

    Some filters rely on the old toon , and the old awarpsharp, so I would keep them in separate folders and load them manually. The way I have it organized is the old awarpsharp and old toon are autoloading in the default plugins folder, and the new versions I keep in separate subfolders folders to load manually (using loadplugin() )

    http://forum.doom9.org/showthread.php?t=147285

    You're using the wrong audio again in your script. You want nicaudio.dll , not ac3source.dll which is known to cause problems

    Make sure you play with the script values, you might want it more saturated, or more sharper, or more clean etc... i.e. adjust it to your tastes

    There's still a bit of dotcrawl around the 470-490 frame segment when he's jumping down. It really bugs me and I don't know how to get rid of it completely. I played with the checkmate values, and tried a few others like tcomb, but they were not much better. I suppose one bad way of doing it would be warpsharping lines thinner, then adding them back for that section
    I do have awarpsharp2 but I never seen a toon 1.1 only 1.0 so far.okay Ill try to not mix the old and new and see if I can get them anything like yours. Ill play around with them and try different orders of them and see if I can get it. as for the audio, I do use nicac3source, I dont know how the program took it back to that, musta copied from the older script. Im already well aware of the difference between the old and new one.

    also, I noticed that opening is a pain in the @$$!! the video from the actual episode looks much different and easier to do. I also noticed this. a question I posted on doom 9 a while back.

    ""Why is it that as the episode plays, the size of the black bars on the sides and top change? sometimes the top bar is around 2-3 px and then jumps to 6-8 for a little bit then about 4 and randomly between those values as the episode goes on? the jumps arent for a few second then change again, they actually do stay for several minutes before the next change sometimes.""

    The opening and the episodes have different sized black borders thats why I cropped mine the sizes I did. the largest of each of the black bars. The video doesnt seem as complicated either but then again it could just be my untrained eye.

    go ahead and have a look. Ill give a sample of a part of the episode and not the opening or closing. sadly this episode is very foggy it seems because of the mist in the episode and I cant tell if its noise or the mist. here take a look if you want. I bet you can figure this out alot easier. Id care about the episode before I would the opening or closing credits.

    http://www.mediafire.com/?ygnzyoymzuz
    Quote Quote  
  26. I'll look at it in a bit, but this is what I mentioned earlier about customizing the scripts. You might use different filters for different sections of 1 episode ; different crop & resize values in this case

    That's the way animation is. It's often even more crude. You even get different fps in sections , sometimes frames are repeated, etc. etc.. This is what manono mentioned earlier about why some people do VFR encodes

    The link to toon 1.1 is in that awarpsharp2 thread. You can use the old awarpsharp (instead of awarpsharp2) - it may or may not affect you , but lookout on some frames for green borders. There is a bug with certain frame sizes

    EDIT: this part looks completely different, even the colors/saturation are way different. There is almost none of the dotcrawling an a lot fewer rainbows, for example. I wouldn't use those filters above for this section. This section is a lot "easier" in some respects, but to colormatch it is much more difficult in that respect. So yes, you should use different filters for different sections.
    Quote Quote  
  27. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    I'll look at it in a bit, but this is what I mentioned earlier about customizing the scripts. You might use different filters for different sections of 1 episode ; different crop & resize values in this case

    That's the way animation is. It's often even more crude. You even get different fps in sections , sometimes frames are repeated, etc. etc.. This is what manono mentioned earlier about why some people do VFR encodes

    The link to toon 1.1 is in that awarpsharp2 thread. You can use the old awarpsharp (instead of awarpsharp2) - it may or may not affect you , but lookout on some frames for green borders. There is a bug with certain frame sizes

    EDIT: this part looks completely different, even the colors/saturation are way different. There is almost none of the dotcrawling an a lot fewer rainbows, for example. I wouldn't use those filters above for this section. This section is a lot "easier" in some respects, but to colormatch it is much more difficult in that respect. So yes, you should use different filters for different sections.
    Yeah, I wish I knew how to choose like certain frame numbers or times and apply a script to just those specified frames or timeframes that way I could put different filters in different parts of the episode. I dont know how Id go about doing that. maybe the trim or splice plugin would be of some use in something like that? making a script that applies to the entire episode is something I can do no problem but making it so different ones activate or are used at certain parts or timelines of the encode is somethin id need to read more about.

    yeah it does look different, I cut a part out that wasnt so foggy and all one colorish looking. its actually quite saturated and theres a descent amount of movement in the clip to show how different it is from the opening. I also only made it like 25MB this time so its a quicker download. perhaps Ill give that in a bit when I get the time to upload it. Im going to be busy tonight.

    In the meantime, yeah I went ahead and got impatient and posted an, as you would say "dumb question" on doom9 and apparently someone wrote one hell of a script for it and told me some of the things we were using are crap. I dont know if its true but you might wanna take a look at it. http://forum.doom9.org/showthread.php?t=151910


    I read about alot of those commands I see in the script but couldnt quite grasp how to put it in proper syntax. seems easier for me to understand seeing it like this. seeing completed scripts and playing around with already made ones piece by piece is one way I learn best. Im not the best at making my own from scratch untill Ive gotten into it long enough. Now I plan to read up on each command I see in his script and play around with the values in it to see how it works.

    thats how I learned HTML. a friend made me a website when I was 12 and wouldnt teach me anything over AIM. I just started reading all that crap and playing with each part one by one learning what everything did and possible ways to change the code and stuff and eventually, by the time I was 15 I had HTML down so well, not only was I making my own websites but I had work with my uncle in his business of web design for a while helping him out. It took me some time but I got it down and without a single teacher all on my own and all I did was play with it. I used to view other websites source and if I saw a piece of code I never knew about I went ahead and played with it. I didnt have things like google to use and forums back then and if I did I didnt know about them.

    I guess thats how I learn best. trial and error, along with manipulation of already done things even if it is annoying sometimes lol.
    Quote Quote  
  28. That's the beauty of it. There are many different ways of doing this, and it comes down to personal preference, but experience definitely helps. You can use the tabs in AvsP to view different scripts and switch back + forth with the number keys.

    I haven't looked at it yet, but Nightshiver is what I would consider very familar with anime and animeivtc, he helps folks a lot on those filters. I'm willing to bet it took care of those frames that I said still had issues on them. I will play around his script too to learn a few things

    The second clip needs levels adjustment, saturation adjustments, and color correction, assuming you wanted to match it to something similar to what was in the intro

    To apply filters to sections, you can use Trim() to divide up the video
    e.g.

    Vid=MPEG2Source()
    Vid.Trim(0,100).FilterA()
    Vid.Trim(101,200).FilterB()

    or use applyrange using stickboy's functions http://avisynth.org/stickboy/


    EDIT: a couple of comments I will make about nightshiver's script, and I don't want it to sound negative as I'm sure he just whipped that script up in a few seconds. These are just observations from a newbie (me):

    1) He didn't bother to denoise at all, again this is personal preference - you preserve more detail, but have more noise - it's a balancing act. I prefer slightly cleaner anime and am willing to put up with slight detail loss.

    2) He used much stronger sharpening. While on anime it's slightly safer to do than live action footage, the ringing from oversharpening poses a much greater risk than lanczos vs. spline algorithms for resizing. The amount to sharpen is personal preference as well, but when you leave bits of noise and then sharpen you are in danger of sharpening grain artifacts. You can adjust the strength to your tastes. I actually like it a bit sharper, and maybe should have bumped up the LSFMod strength in my original script

    3) He forgot to take care of the rainbows (I think?) - have a look at the (supposed to be) white credits , unless they are supposed to oscillate in color?

    4) Overwarpsharpened letters - some of the end credits are illegible/deformed

    5) Neither script takes care 100% of those problem frames I mentioned earlier with regards to the dot crawl.

    6) His crop values are correct, there was a bit of junk left over on my original crop values (2 more pixels to the right)


    Anyways, good luck and have fun experimenting with the filters & learning avisynth. I'm learning about animeivtc myself

    Cheers
    Quote Quote  
  29. Member darkdream4's Avatar
    Join Date
    Jan 2010
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    That's the beauty of it. There are many different ways of doing this, and it comes down to personal preference, but experience definitely helps. You can use the tabs in AvsP to view different scripts and switch back + forth with the number keys.

    I haven't looked at it yet, but Nightshiver is what I would consider very familar with anime and animeivtc, he helps folks a lot on those filters. I'm willing to bet it took care of those frames that I said still had issues on them. I will play around his script too to learn a few things

    The second clip needs levels adjustment, saturation adjustments, and color correction, assuming you wanted to match it to something similar to what was in the intro

    To apply filters to sections, you can use Trim() to divide up the video
    e.g.

    Vid=MPEG2Source()
    Vid.Trim(0,100).FilterA()
    Vid.Trim(101,200).FilterB()

    or use applyrange using stickboy's functions http://avisynth.org/stickboy/


    EDIT: a couple of comments I will make about nightshiver's script, and I don't want it to sound negative as I'm sure he just whipped that script up in a few seconds. These are just observations from a newbie (me):

    1) He didn't bother to denoise at all, again this is personal preference - you preserve more detail, but have more noise - it's a balancing act. I prefer slightly cleaner anime and am willing to put up with slight detail loss.

    2) He used much stronger sharpening. While on anime it's slightly safer to do than live action footage, the ringing from oversharpening poses a much greater risk than lanczos vs. spline algorithms for resizing. The amount to sharpen is personal preference as well, but when you leave bits of noise and then sharpen you are in danger of sharpening grain artifacts. You can adjust the strength to your tastes. I actually like it a bit sharper, and maybe should have bumped up the LSFMod strength in my original script

    3) He forgot to take care of the rainbows (I think?) - have a look at the (supposed to be) white credits , unless they are supposed to oscillate in color?

    4) Overwarpsharpened letters - some of the end credits are illegible/deformed

    5) Neither script takes care 100% of those problem frames I mentioned earlier with regards to the dot crawl.

    6) His crop values are correct, there was a bit of junk left over on my original crop values (2 more pixels to the right)


    Anyways, good luck and have fun experimenting with the filters & learning avisynth. I'm learning about animeivtc myself

    Cheers
    Yeah I agree on the its all personal preference.

    Id love to be able to say I could enjoy his script but, I keep getting this problem.

    I keep getting the script error: there is no function named "MVAnalyseMulti" and I havent been able to find a working version of mvtools or mvtools2. I have the mvtools2.dll but I continue to get that error.
    Quote Quote  
  30. I think you need MVTools version 1.9.X MT branch

    You can have mvtools2.dll and mvtools.dll coexist in the plugins directory

    I think the animeivtc thread has a big collection of filters in a zip file that you can download
    Quote Quote  



Similar Threads

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