VideoHelp Forum




+ Reply to Thread
Results 1 to 13 of 13
  1. Member
    Join Date
    May 2016
    Location
    Lithopolis, OH United States
    Search Comp PM
    I am currently looking for some streamlined methods to upscale some game captures without having to leave my house. I found a website that has a decent method that can do that with for old game captures to HD. I am mostly trying to aim for 720/HD but I also want to maintain the aspect ratio. I know my computer is a potato and Chromebook is almost useless but I do not want to always go to the library to use Virtualdub2. What would be a good streamlined version of that method from the via AVISynth script?
    Quote Quote  
  2. That site uses:

    Code:
    PointResize(960, 720) # Nearest Neighbor in VirtualDub
    or

    Code:
    LanczosResize(960, 720) # Lanczos3 in VirtualDub
    different than at that web site but good for pixel art retro games:

    Code:
    HQ4x()
    Samples of a small image upscaled 4x using the above methods:

    Image
    [Attachment 70382 - Click to enlarge]


    You'll have to provide samples for more details.
    Last edited by jagabo; 15th Apr 2023 at 17:29.
    Quote Quote  
  3. Member
    Join Date
    May 2016
    Location
    Lithopolis, OH United States
    Search Comp PM
    Here are some samples that I had yet to upscale. I will also post their information:

    Information on Sample.avi

    Code:
    General
    Complete name :************\sample.avi
    Format :	AVI
    Format/Info :	Audio Video Interleave
    File size :	318 MiB
    Duration :	3 min 17 s
    Overall bit rate :	13.5 Mb/s
    IsTruncated :	Yes
    
    Video
    ID :	0
    Format :	Lagarith
    Codec ID :	LAGS
    Duration :	3 min 17 s
    Bit rate :	12.1 Mb/s
    Width :	320 pixels
    Height :	224 pixels
    Display aspect ratio :	1.429
    Frame rate :	60.000 FPS
    Color space :	RGB
    Bit depth :	8 bits
    Bits/(Pixel*Frame) :	2.804
    Stream size :	285 MiB (89%)
    
    Audio
    ID :	1
    Format :	PCM
    Format settings :	Little / Signed
    Codec ID :	1
    Duration :	3 min 17 s
    Bit rate mode :	Constant
    Bit rate :	1 411.2 kb/s
    Channel(s) :	2 channels
    Sampling rate :	44.1 kHz
    Bit depth :	16 bits
    Stream size :	33.3 MiB (10%)
    Alignment :	Aligned on interleaves
    Interleave, duration :	17 ms (1.00 video frame)
    Interleave, preload duration :	33 ms
    Information on Sample 2.avi

    Code:
    General
    Complete name :***********\sample 2.avi
    Format :	AVI
    Format/Info :	Audio Video Interleave
    File size :	148 MiB
    Duration :	1 min 14 s
    Overall bit rate :	16.5 Mb/s
    IsTruncated :	Yes
    
    Video
    ID :	0
    Format :	Lagarith
    Codec ID :	LAGS
    Duration :	1 min 14 s
    Bit rate :	15.1 Mb/s
    Width :	320 pixels
    Height :	224 pixels
    Display aspect ratio :	1.429
    Frame rate :	60.000 FPS
    Color space :	Y
    Bits/(Pixel*Frame) :	3.512
    Stream size :	135 MiB (91%)
    
    Audio
    ID :	1
    Format :	PCM
    Format settings :	Little / Signed
    Codec ID :	1
    Duration :	1 min 14 s
    Bit rate mode :	Constant
    Bit rate :	1 411.2 kb/s
    Channel(s) :	2 channels
    Sampling rate :	44.1 kHz
    Bit depth :	16 bits
    Stream size :	12.6 MiB (9%)
    Alignment :	Aligned on interleaves
    Interleave, duration :	17 ms (1.00 video frame)
    Interleave, preload duration :	33 ms
    I want to upscale using the methods that you shown me.
    Image Attached Files
    Quote Quote  
  4. Example:

    Code:
    AviSource("sample.avi")
    
    # pick one of the following 3:
    
    #PointResize(width*4, height*4)
    #LanczosResize(width*4, height*4)
    HQ4X()
    You'll probably want to ConvertToYV12() at the end for encoding.
    Quote Quote  
  5. There are also some models for 8bit upscaling over at https://upscale.wiki/wiki/Model_Database.
    Personally, I prefer PointResize and similar for such content.
    (attached samples, two use vsgan models, the other two use point resize and NNEDi3)

    Cu Selur
    Image Attached Files
    Last edited by Selur; 21st Apr 2023 at 13:30.
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  6. Member
    Join Date
    May 2016
    Location
    Lithopolis, OH United States
    Search Comp PM
    What AVISynth program do I use? I currently have AVSPMod or MeGUI?
    Last edited by Guernsey; 24th Apr 2023 at 11:29.
    Quote Quote  
  7. Use whatever program with AVS support that you want.
    Quote Quote  
  8. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Sorry. But I get the distinct idea that the OP - do correct me if I err - does not have a clue what avisynth actually is. It is if he reads on here of all the avisynth scripts and thinks 'can I use these or somat to my own need ?'

    He talks of not wanting to go to a library to use vdub2 yet that is one program (of many) that will load an avisynth script to do the actual encoding.


    Avisynth will do, I am sorry to be so blunt, feck all without a supported encoder. AVSPmod is AFAIK only an editor to create a script - not having used it I think it also parses the script to check for errors in the multitude of the options of a particular avissynth command/filtter. And I do not even know if MEGui will accept an avisynth script.


    But if your PC is a 'dog' and my own will hardly encode any avisynth script without regular coffee refills you may be, as we say it, 'barking up the wrong tree'
    Quote Quote  
  9. Both MeGUI and AVSPmod can encode AVS scripts.
    Quote Quote  
  10. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    ^^ That's fairy nuff.

    AVSPMod, from the site write-up, describes itself as an 'editor' and I have never used MeGui.


    You learn somat every day
    Quote Quote  
  11. Member
    Join Date
    May 2016
    Location
    Lithopolis, OH United States
    Search Comp PM
    Do I use Virtualdub2 to export the final video file? Or can it used with any program that supports AVISynth?
    Quote Quote  
  12. You can use VirtualDub2 or any other encoder that supports AviSynth.
    Quote Quote  
  13. Member
    Join Date
    May 2016
    Location
    Lithopolis, OH United States
    Search Comp PM
    Alright.
    Quote Quote  



Similar Threads

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