VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 30 of 30
Thread
  1. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    Hello

    Appreciate any help with getting QTGMC in and working as having a few issues

    so..... this is where my journey started,

    https://forum.videohelp.com/threads/397453-VHS-CAPTURE-AT-THE-VERY-BEST-QUALITY-Help


    this is where I am up to and here I am having errors

    any help will be very much appreciated, thank you in advance


    Hi Guys

    Thanks for any help in advance

    ok this is where I am at in AvsPmod, I am using the play bar at the bottom and dragging to see if I can view my clip, If I can i'm assuming that the entered commands are working?

    which they are not at the moment


    also don't seem to be getting any audio either ???

    I have been using max audio when capturing set to 24bit
    think in future I will capture audio at 16bit, as I feel this is more standard for VHS HIFI stereo capture and maybe some of the programs / plugins




    Also can not seem to get the 64bit plugins working ??

    I have copied all the various plugins x86 32bit to C:\Program Files (x86)\AviSynth+\plugins+

    I have also copied all the various plugins 64bit to C:\Program Files (x86)\AviSynth+\plugins64+

    but do not feel the 64bit is working ???







    Code:
    a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    SetFilterMTMode("QTGMC", 2)
    AudioDub(v,a) # join the together.
    Crop(10,0,-6,-0) # crop 10 pixels off the left, 6 off the right
    #ConvertToYV12()
    AssumeTFF()
    QTGMC(Preset="Faster", Edithreads=1)

    Having issues using #ConvertToYV12() as this only works with 8bit ???
    so have discarded this command




    Image
    [Attachment 53615 - Click to enlarge]



    Now when I try to use QTGMC with or without additional presets I get this STRANGE ERROR

    I don't know what 'AvsPlusVersionNumber' means ????

    Image
    Image
    [Attachment 53614 - Click to enlarge]



    Can anybody please shine any light please


    Thank you




    Just downloaded Avisynth Info Tool


    Does not look like the 64bit is working, not sure how you get it working as there is no install 32/64bit options, it just installs

    32bit info
    ----------

    OS/Hardware info]
    Operating system: Windows 10 (x64) (Build 18363)

    CPU: Intel(R) Xeon(R) CPU E5-2643 v3 @ 3.40GHz / Xeon (Woodcrest)
    MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, FMA3, AVX, AVX2
    6 physical cores / 12 logical cores


    [Avisynth info]
    VersionString: AviSynth+ 3.6.0 (r3276, 3.6, i386)
    VersionNumber: 2.60
    File / Product version: 3.6.0.0 / 3.6.0.0
    Interface Version: 8
    Multi-threading support: Yes
    Avisynth.dll location: C:\Windows\SysWOW64\avisynth.dll
    Avisynth.dll time stamp: 2020-05-20, 16:26:02 (UTC)
    PluginDir2_5 (HKLM, x86): C:\Program Files (x86)\AviSynth+\plugins
    PluginDir+ (HKLM, x86): C:\Program Files (x86)\AviSynth+\plugins+


    [C++ 2.6 Plugins (32 Bit)]
    C:\Program Files (x86)\AviSynth+\plugins+\.dll [2020-05-31]
    C:\Program Files (x86)\AviSynth+\plugins+\ConvertStacked.dll [2020-05-20]
    C:\Program Files (x86)\AviSynth+\plugins+\DirectShowSource.dll [2020-05-20]
    C:\Program Files (x86)\AviSynth+\plugins+\ffms2.dll [2016-12-29]
    C:\Program Files (x86)\AviSynth+\plugins+\ImageSeq.dll [2020-05-20]
    C:\Program Files (x86)\AviSynth+\plugins+\LSMASHSource.dll [2020-05-31]
    C:\Program Files (x86)\AviSynth+\plugins+\masktools2.dll [2.2.23.0]
    C:\Program Files (x86)\AviSynth+\plugins+\mvtools2.dll [2.7.42.0]
    C:\Program Files (x86)\AviSynth+\plugins+\nnedi3.dll [0.9.4.55]
    C:\Program Files (x86)\AviSynth+\plugins+\RgTools.dll [1.0.0.0]
    C:\Program Files (x86)\AviSynth+\plugins+\Shibatch.dll [2020-05-20]
    C:\Program Files (x86)\AviSynth+\plugins+\TimeStretch.dll [2020-05-20]
    C:\Program Files (x86)\AviSynth+\plugins+\VDubFilter.dll [2020-05-20]

    [Scripts (AVSI)]
    C:\Program Files (x86)\AviSynth+\plugins+\colors_rgb.avsi [2020-05-20]
    C:\Program Files (x86)\AviSynth+\plugins+\QTGMC.avsi [2020-05-30]

    [Uncategorized files]
    C:\Program Files (x86)\AviSynth+\plugins+\colors_rgb.txt [2020-05-20]



    64bit info
    ----------
    Cannot load avisynth.dll

    Dependencies that could not be loaded:
    VCRUNTIME140_1.dll
    Quote Quote  
  2. Start with a simple script:

    Code:
    Version()
    If you want to use both 32 bit and 64 bit AviSynth: open that script in a 32 bit editor and a 64 bit editor. I use VirtualDub2 for both. But I think avspmod will work (I don't use it). You should see something like:

    Image
    [Attachment 53616 - Click to enlarge]


    That will verify that both versions of AviSynth are installed and working.

    Assuming that works, try loading your source audio and video:

    Code:
    a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    AudioDub(v,a) # join them together.
    Open that in VirtualDub2. Verify you have video and sound.
    Quote Quote  
  3. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    HI

    Thank you for the reply

    ok

    Code:
    a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    AudioDub(v,a) # join them together.
    running this script in vudub2 32bit works, plays video and sound

    but will not work in 64bit

    generates this error


    Image
    [Attachment 53617 - Click to enlarge]


    regards
    Quote Quote  
  4. Did you check both the Version script in both 64 bit and 32 bit? I believe that error means 64 bit AviSynth(+) is not installed. Look in C:\Windows\System32 and see if avisynth.dll is there. If so, view its properties, Details tab:

    Image
    [Attachment 53618 - Click to enlarge]
    Last edited by jagabo; 31st May 2020 at 19:08.
    Quote Quote  
  5. Yes, it looks like avisynth+ x64 is not installed

    For the AvsPlusVersionNumber error , download Zs_RF_Shared.avsi and put it in the plugins directory
    https://forum.doom9.org/showthread.php?t=174121

    ConvertToYV12() - should be ConvertToYV12(interlaced=true) ; but avs+ and newer versions of QTGMC can work with 10bit422 . YV12 is 8bit 4:2:0 . It's not going to make a big difference quality wise with VHS input to keep 10bit or 4:2:2 ; but interlaced=false (the default setting) will cause chroma notching artifacts
    Quote Quote  
  6. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    Hello Guys

    and thank you for your help

    ok

    Image
    [Attachment 53628 - Click to enlarge]


    this is the file I have in my system32


    I CAN NOT get it work with VUDUB2 64 only 32bit version work

    I have even uninstalled AVIsynth+ and all the plugins and reinstalled again


    still does not work on 64bit ? I am running windows 10 latest version fully updated



    This is the error I get

    Image
    [Attachment 53630 - Click to enlarge]




    I did download Zs_RF_Shared.avsi and install in the avisynth plugins folders both 32 and 64

    and it did lose the error in AVSpMod,

    I don't know what 'AvsPlusVersionNumber' means ????

    but as I scrolled through the video moving the bar it sat there for ages, and did not scroll through the video until it had finished do what it was doing


    so several questions


    do I need AvsPmod as I don't think it works very well ?? does anyone else use it ? I'm only using it because some one on youtube explaining QTGMC suggested using it ??


    Would I be better just getting rid of it and writing my scripts in any decent text editor and and dragging into VUDUB2 ?

    thus one less bit of clutter on worry about, just a thought ?


    OK next big question, how can I get the 64bit version of AVIsynth+ working ???

    is this a 64bit install file, because the only AVIsynth+ install file I have, installs only in the programs files x86 folder even though there is folders for 64bit plugins.

    It does not seem to install under program files thus the 64bit version of software


    any help in getting this working will be very much appreciated




    If I start adding more than

    Code:
    a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    AudioDub(v,a) # join them together.
    like QTGMC / CROP etc. it does not play good in VUDUB2 though only 32bit test

    video all slow and sound all blocky / choppy

    not sure if this is correct ??



    this was my code

    Code:
    a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    AudioDub(v,a) # join the together.
    Crop(10,0,-6,-0) # crop 10 pixels off the left, 6 off the right
    #ConvertToYV12()
    AssumeTFF()
    QTGMC(Preset="Faster")
    
    #a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    #v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    #AudioDub(v,a) # join them together.


    Regards
    Last edited by Johnnysh; 1st Jun 2020 at 15:52.
    Quote Quote  
  7. Originally Posted by Johnnysh View Post
    I CAN NOT get it work with VUDUB2 64 only 32bit version work
    If you use a 64 bit editor you must have 64 bit AviSynth installed and 64 bit AviSynth filters. If you use a 32 bit editor you must have 32 bit AviSynth installed and 32 bit AviSynth filters.

    Originally Posted by Johnnysh View Post
    That's VirtualDub telling you that it can't read the AVS file -- presumably because the right AvISynth version isn't installed.

    Originally Posted by Johnnysh View Post
    I don't know what 'AvsPlusVersionNumber' means ????
    That problem will go away once you have all the right filter versions installed.

    Originally Posted by Johnnysh View Post
    but as I scrolled through the video moving the bar it sat there for ages, and did not scroll through the video until it had finished do what it was doing
    If you were using LWLibavVideoSource... it has to build an index of the entire file first. That can take a while the first time the source filter is used. Subsequent openings of the same source won't take so long unless you delete the index file (.lwi file).

    Originally Posted by Johnnysh View Post
    do I need AvsPmod as I don't think it works very well ?? does anyone else use it ? I'm only using it because some one on youtube explaining QTGMC suggested using it ??
    Many people use it because it's easier, especially for beginners. But I use Notepad.

    Originally Posted by Johnnysh View Post
    Would I be better just getting rid of it and writing my scripts in any decent text editor and and dragging into VUDUB2 ?
    You probably want to stick with it.

    Originally Posted by Johnnysh View Post
    OK next big question, how can I get the 64bit version of AVIsynth+ working ???

    is this a 64bit install file, because the only AVIsynth+ install file I have, installs only in the programs files x86 folder even though there is folders for 64bit plugins.

    It does not seem to install under program files thus the 64bit version of software
    When I installed AviSynth+ it gave the option of installing either, or both 32 and 64 bit versions. I installed both and everything was in Program Files (x86). Except for the 32 bit version of AviSynth.dll in C:\Windows\SysWOW64, and the 64 bit version of AviSynth.dll in C:\Windows\System32. The folder names sound backward but that's the way al bit system dll's work in Windows 64.

    Originally Posted by Johnnysh View Post
    If I start adding more than

    Code:
    a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    AudioDub(v,a) # join them together.
    like QTGMC / CROP etc. it does not play good in VUDUB2 though only 32bit test

    video all slow and sound all blocky / choppy

    not sure if this is correct ??
    That's normal. QTGMC is too slow for most systems to deal with in realtime.
    Quote Quote  
  8. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    Hello

    and thank you very much for the reply

    Ok this is what I get by default when I install AVISynth+

    Image
    [Attachment 53631 - Click to enlarge]


    and I also leave both 32 & 64 ticked, yet it still will not work in VUDUB2 64 ??


    this is no installing AviSynth to program files only to the x86 programs folder


    just tried unticking the x86 which uninstalled the x86 version, yet VUDUB 32 still works ? and VUDUB 64 still not work ?


    Is it because I am loading both 64 & 32, should I only choose one out of the two to use / install



    here is the version I have under my syswow64

    Image
    [Attachment 53632 - Click to enlarge]




    Regards
    Last edited by Johnnysh; 1st Jun 2020 at 16:52.
    Quote Quote  
  9. Another install method you can try is groucho's universal avisynth installer
    https://forum.doom9.org/showthread.php?t=172124
    Quote Quote  
  10. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    Thank you for the help

    ok have tried installing / uninstalling AVISynth with that new installer and still no good ??



    is there something wrong with VUDUB do I need to add any 64bit plugins ??


    could never imagine this could be so difficult


    please just remind me why we are using AVIsynth and VUDUB

    is it because these are the best and better than anything you can buy, or can I buy some software that will do this job and relieve all this pain

    Regards



    Regards
    Quote Quote  
  11. Try running the AviSynth+ installer as Admin?

    As noted earlier the AviSynth+ installation doesn't write anything to the "C:\Prorgram Files\", all the support files go in "C:\Program Files (x86)\". If there isn't an avisynth.dll in C:\Windows\System32\ 64 bit AviSynth isn't installed.

    And I don't think you ever answered the question of whether the Version() script ran in both 32 bit and 64 bit.
    Last edited by jagabo; 1st Jun 2020 at 17:46.
    Quote Quote  
  12. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    Hi

    Ok just tried running AVISynth installer as admin and.......

    Image
    [Attachment 53633 - Click to enlarge]



    is this normal ???

    Oh I have overrid this and installed even with this error ??

    and yes when I try and run the scrip in 32bit mode it work in VUDUB

    yet this script generates this error when trying to run it in 64bit VUDUB

    Image
    [Attachment 53634 - Click to enlarge]


    Regards
    Quote Quote  
  13. Originally Posted by Johnnysh View Post
    and yes when I try and run the scrip in 32bit mode it work in VUDUB

    yet this script generates this error when trying to run it in 64bit VUDUB
    What script? The script I'm talking about is the simple Version() script in post #2. That doesn't require any plugins. If that doesn't work 64 bit AviSynth is definitely NOT installed.

    And that error MS Defender message probably related to the problem. Where did you get the install file?
    Quote Quote  
  14. Not sure why x64 avisynth will not install for you...

    Was the reason for this "adventure" just QTGMC ? Another approach would be to use some GUI like hybrid , or staxrip, or megui , which can run on "portable" avisynth versions. I think Hybrid and staxrip can also use vapoursynth version of QTGMC
    Quote Quote  
  15. Another thing to try is 3.5.1

    That newer 3.6 version breaks compatibility with many plugins and programs . It's a lot of headache and growing pains right now . (I'd actually recommend not using it unless you're helping debug things for developers)
    Quote Quote  
  16. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    Hi

    ok

    script that will not work in 64bit

    is simple script

    Code:
    a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    AudioDub(v,a) # join the together.
    I get this error

    Image
    [Attachment 53635 - Click to enlarge]




    I did try Hybrid and staxrip can also use vapoursynth version of QTGMC

    it did work but lots of setting and was under the impression that AVISynth was the way to go for the best results

    but not sure now, just seems headaches all the way


    will TMPENC do the job, I was going to purchase that


    but just was hoping for the very very best results, thats why I have spent 5 days trying with AVISYNTH


    but now starting to get very very deflated with AVISYNTH

    regards
    Quote Quote  
  17. Originally Posted by Johnnysh View Post
    script that will not work in 64bit

    is simple script

    Code:
    a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    AudioDub(v,a) # join the together.
    I get this error
    That's not the simple script. It requires a 3rd party plugin -- a plugin that doesn't come with AviSynth+. This is the simplest script, from post #2:

    Code:
    Version()
    It doesn't require anything other than AviSynth+ be installed. This is probably going to give you the same error but it's the first step in analyzing the problem.
    Quote Quote  
  18. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    Hello

    Thank you for the reply


    Ok simply script and same error


    Image
    [Attachment 53636 - Click to enlarge]



    Regards
    Quote Quote  
  19. So it's certain that 64 bit AviSynth(+) is not installed.

    Windows is much pickier about installing 64 bit software (depending on version and settings). I think you're going to need to run the install as Admin and by pass the warning.

    But first, from where did you get the version you're trying to install? From this web site?

    https://www.videohelp.com/software/AviSynth-Plus

    On the other hand, 32 bit AviSynth is apparently working. Why don't you just use that?
    Last edited by jagabo; 1st Jun 2020 at 19:41.
    Quote Quote  
  20. Originally Posted by Johnnysh View Post
    I did try Hybrid and staxrip can also use vapoursynth version of QTGMC

    it did work but lots of setting and was under the impression that AVISynth was the way to go for the best results
    No, if script is set up correctly. Using QTGMC in Avisynth does not render better result as it would in Vapoursynth.
    Quote Quote  
  21. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    HI Guys

    Happy Days are here again

    ok after much much playing around in win 10 I have managed to get the 64 bit version of AVISynth in and running in VUDUB2

    with the very basic script

    Code:
    #a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    #v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    #AudioDub(v,a) # join the together.
    #Crop(10,0,-6,-0) # crop 10 pixels off the left, 6 off the right
    #ConvertToYV12()
    #AssumeTFF()
    #QTGMC(Preset="Faster")
    
    #a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    #v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    #AudioDub(v,a) # join them together.
    Version()
    VERSION()

    this is what I get in the 64bit version of VUDUB2 when I drag the script (VERSION) over VUDUB2

    Image
    [Attachment 53695 - Click to enlarge]



    getting back now to the job in hand which is perfect / pristine .... conversion / delinterlacing / cropping etc

    of my horrible captured VHS Raw video in to lovely 50 fps De-Interlaced / ReSized (4:3 Aspect Ratio) / Black levels Rectified


    would someone please be kind enough to give me an idea of what script I should be running to do all of the above

    Since reinstalling the AVIsynth

    I have not added any new plugins in the 32/64 folder

    Guess is need to add QTGMC for starters, what other plugins should I add and I'm guessing they will be added to both 32/64 bit plugin folders, to allow either 32/64 bit to work


    OK

    I have added all the plugins QTGMC / LMSMASH etc

    to get this code working

    Code:
    a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    AudioDub(v,a) # join the together.
    SetFilterMTMode("QTGMC", 2)
    Crop(10,0,-6,-0) # crop 10 pixels off the left, 6 off the right
    #ConvertToYV12(interlaced=true) 
    AssumeTFF()
    QTGMC(Preset="Faster", Edithreads=1)
    
    #a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    #v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    #AudioDub(v,a) # join them together.
    #Version()








    the only error is ConvertToYV12()
    it complains it only works with 8bit video



    So is there a 10bit solution for ConvertToYV

    and the aim is to convert to 50fps deinterlaced at the VERY VERY best quality I can achieve from my 10bit captured video

    File size is not important also would like the best audio quality too guess this will be 360Kps mp3





    Thank you in advance for any help
    Last edited by Johnnysh; 6th Jun 2020 at 17:09.
    Quote Quote  
  22. Originally Posted by Johnnysh View Post



    the only error is ConvertToYV12()
    it complains it only works with 8bit video



    So is there a 10bit solution for ConvertToYV

    and the aim is to convert to 50fps deinterlaced at the VERY VERY best quality I can achieve from my 10bit captured video

    File size is not important also would like the best audio quality too guess this will be 360Kps mp3
    See post #5 . You don't need ConvertToYV12() . And if you include it before deinterlacing, it should be interlaced=true

    If you want to convert to 4:2:0 8bit, then

    ConvertToYUV420(interlaced=true)
    ConvertBits(8)

    Technically if you wanted the "best", you started at 10bit 4:2:2. But it's not going to make much of a difference for your source


    You can add prefetch(some number) at the end to multithread for faster processing

    eg.
    prefetch(4)


    mp3 is lossy audio, so technically not the "best". But it's not going to make much of a difference for your source
    Quote Quote  
  23. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    Thank you for your reply


    sorry getting a little confused so.....

    1) I have captured in 10bit which as I now understand is 4:2:2

    2) 8Bit is 4:2:0, so would not want to down grade 10bit to 8bit, correct ?

    3) so If I want to keep 10bit quality I discard the script line of ConvertToYV12, correct ? so I leave format in 10bit

    4) Can I also leave the Audio in native Wave Format, I don;t really want to convert to MP3 if pos
    though if I did how would this be done, what script would one use to convert audio to 360 mp3 ?

    5) What other lines of script / enhancing plugins should I consider using in the conversion process

    6) I have a beast of a Workstation Running XEON 3.4ghz processors / 64gig memory / 12ghz Titan Video Card
    any advice on performance enhancement with code / commands / script would be very much appreciated

    7) Once all the script is in place how do you do the conversion, is this done in VUDUB2 ?
    How do you initiate the conversion?
    you must have to set new path / file name parameters / and other attributes i'm guessing


    8) looking at my current script is the any additional recommended lines of code or script you can suggest

    Code:
    a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    AudioDub(v,a) # join the together.
    SetFilterMTMode("QTGMC", 2)
    Crop(10,0,-6,-0) # crop 10 pixels off the left, 6 off the right
    #ConvertToYUV420(interlaced=true)
    #ConvertBits(8)
    AssumeTFF()
    QTGMC(Preset="Faster", Edithreads=1)
    9) I have seen people using Script with ffmpeg ??? do I need to use this command ??


    9a) are there any other lines of script I should consider to enhance the conversion, de noise / sharpen / colour correction etc.

    10) is there a lite video editor that can edit / cut / chop frames from my original source capture and then allow me to save in the same file format as the original capture, thus no conversion and loss in the original quality, the only down side is the files could be huge if it an 1hour 40min 10bit capture from vhs



    Thank in advance for any help
    Last edited by Johnnysh; 6th Jun 2020 at 17:55.
    Quote Quote  
  24. Originally Posted by Johnnysh View Post
    Thank you for your reply


    sorry getting a little confused so.....

    1) I have captured in 10bit which as I now understand is 4:2:2


    2) 8Bit is 4:2:0, so would not want to down grade 10bit to 8bit, correct ?


    3) so If I want to keep 10bit quality I discard the script line of ConvertToYV12, correct ? so I leave format in 10bit
    No , bit depth (or color depth) is different than chroma subsampling.

    In short, 8bit vs. 10bit is the bit depth, or the precision of values. 8bit values go from 0-255, 10bit from 0-1023

    Chroma subsampling is how much color information you can potentially have for the format (not necessarily for your source) . 4:2:2 means half width, half height color . For 720x576, it means the Cb,Cr color planes have 360x288 worth of color information maximum (yours is a lot lower, given the source quality) . 4:4:4 is full color , 4:2:0 is half width, half height


    https://en.wikipedia.org/wiki/Color_depth

    https://en.wikipedia.org/wiki/Chroma_subsampling

    It's not going to make a big difference for your source

    But another thing that guides your decision might be how are you going to watch it? Many devices such as phones, etc.. won't support 10bit422 for playback. It's not standard for end consumer format . 10bit420 is standard for HEVC supported devices . 8bit420 is standard for everything right now - DVD, BD, Web(youtube, vimeo), etc....

    4) Can I also leave the Audio in native Wave Format, I don;t really want to convert to MP3 if pos
    though if I did how would this be done, what script would one use to convert audio to 360 mp3 ?
    Not with avisynth ; it just frameserves uncompressed audio and video (although there is a plugin called soundout that can encode from a script). Normally you would feed the script into an encoder, or some GUI, or some batch script for encoding

    For audio, you can also use lossless audio compression such as flac

    5) What other lines of script / enhancing plugins should I consider using in the conversion process

    6) I have a beast of a Workstation Running XEON 3.4ghz processors / 64gig memory / 12ghz Titan Video Card
    any advice on performance enhancement with code / commands / script would be very much appreciated
    Prefetch(something) for multithreading. Otherwise you're going to have wasted (idle) resources

    Otherwise you can run concurrent single threaded instances (multiple encodes simultaneously) . But you need fast I/O to make the most of this, such as SSD's or RAID-0 , or multiple HDD's in JBOD, since you're dealing with uncompressed video

    7) Once all the script is in place how do you do the conversion, is this done in VUDUB2 ?
    How do you initiate the conversion?
    you must have to set new path / file name parameters / and other attributes i'm guessing
    If using vdub2 , you have to set video=> compression, audio=>compression and file=>save as




    9) I have seen people using Script with ffmpeg ??? do I need to use this command ??
    You don't *need* to, but ffmpeg is like a swiss army knife and easier to batch encode, and it has access to multiple encoders

    10) is there a lite video editor that can edit / cut / chop frames from my original source capture and then allow me to save in the same file format as the original capture, thus no conversion and loss in the original quality, the only down side is the files could be huge if it an 1hour 40min 10bit capture from vhs
    Vdub2 can do this, you can mark in/out or delete sections. When you set it to video=>direct stream copy, audio=>direct stream copy , it just stream copies when doing cuts or edits . Since your format is uncompressed, every frame is a keyframe, so you can cut anywhere without limitations
    Last edited by poisondeathray; 6th Jun 2020 at 18:10.
    Quote Quote  
  25. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    Hello


    Thank you so much for your detailed info

    I'm using AJA KONA LHI to capture the VHS in 10bit, would it be more advantageous to capture in 8bit ?

    I thought I could see an improvement in 10bit capture, but maybe it was just my imagination

    So I'm guessing you really think it would be better to capture the VHS in 8bit mode


    But will I lose any quality, VHS is so poor anyway, just trying to capture the last bit of detail with what I have around me?

    if this makes it more difficult to play once converted, maybe I should consider 8bit capture a long as the quality is not degraded

    Thank you in advance for any help
    Quote Quote  
  26. I doubt there is any improvement using 10bit for a VHS source. 8bit is beneficial in that it's lower bandwidth (smaller filesizes) compared to 10bit. If it makes you feel better, then use 10bit. But if you use ConvertBits(8), or ConvertToYV12 (8 bit 4:2:0), where you have that in the script, it negates everything 10bit anyways - i.e what's the point of capturing 10bit if you're converting to 8bit before doing anything ? In theory, if you used QTGMC on 10bit, before converting to 8bit, it might be better, but I still doubt you will see any difference on VHS sources. If I was using 10bit for whatever reason, I'd keep it 10bit.
    Quote Quote  
  27. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    Thank you for the reply

    Ok as it's such a long winded process and I plan to discard the tapes after the Archive, I guess it makes sense to capture at 10bit just for quality reasons

    I plan to keep two file one that is converted and plays nice on digital playback phones, tablets media servers pc's etc. And the RAW archive capture that does not play back nicely because it's interlaced

    Though it can always be used in the future for more conversion if needed

    so Do I need to add anymore to my script ?? to enhance / black level correct / aspect ratio correct / de grain etc.

    and working on converting for 10bit420 is standard for HEVC supported devices what command do I use ?

    is it #ConvertToYUV420(interlaced=true)

    I also noticed you mentioned prefech to aid multi tasking how is this used ?

    here is my script so far

    Code:
    a = LWlibavAudioSource("3-original-raw-sample.mov") # get the audio
    v = LWlibavVideoSource("3-original-raw-sample.mov") # get them video
    AudioDub(v,a) # join the together.
    SetFilterMTMode("QTGMC", 2)
    Crop(10,0,-6,-0) # crop 10 pixels off the left, 6 off the right
    ConvertToYUV420(interlaced=true)
    #ConvertBits(8)
    AssumeTFF()
    QTGMC(Preset="Faster", Edithreads=2)


    Thanks for any info, appeciated
    Quote Quote  
  28. Originally Posted by Johnnysh View Post

    so Do I need to add anymore to my script ?? to enhance / black level correct / aspect ratio correct / de grain etc.
    Possibly, it would depend on the specific video


    Aspect Ratio is usually done when you are encoding, if you're using "non square pixels". The alternative is resizing to some square pixel format in the script

    and working on converting for 10bit420 is standard for HEVC supported devices what command do I use ?

    is it #ConvertToYUV420(interlaced=true)
    Yes, just uncomment it like you have in the script

    ConvertToYUV420(interlaced=true)


    I also noticed you mentioned prefech to aid multi tasking how is this used ?
    Add it to the end of the script. You have to do some tests to figure out what the optimum number is. A good start might be the # of physical cores. But usually multiple encodes are faster, waste less resources if you have fast enough hardware
    Quote Quote  
  29. Member
    Join Date
    Apr 2010
    Location
    London
    Search PM
    Thank you for the info will pick this up tomorrow, off to bed now


    thank you for your valued info


    Kind Regards


    John
    Quote Quote  
  30. I think you should look at your VCR's settings. It looks to me like it's removing too much noise and detail is going with it.
    Quote Quote  



Similar Threads