VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. I have been getting into video over the last month (with the goal of capturing and editing) and have been working on setting up AviSynth+ and QTGMC following this tutorial:
    https://www.youtube.com/watch?v=d4rLvpkBlnQ

    The files have changed a bit since this tutorial was published, and in particular, a text file for a script (Zs_RF_Shared.avsi) is posted at http://avisynth.nl/index.php/QTGMC. The file is indicated as "...required from now on" under "Core Plugins and scripts."

    This file was not covered in the tutorial.

    I copied the text, saved as "Zs_RF_Shared.avsi," and got an error when saving that it needed to be saved unicode. I did that, but AvsPmod didn't like it and wanted utf-8 without BOM. After researching, I found this PowerShell script and converted the file:

    Code:
    $MyPath = "full path including filename"
    $MyFile = "filename"
    $MyFile = Get-Content -Encoding UTF8 $MyPath
    $Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $False
    [System.IO.File]::WriteAllLines($MyPath, $MyFile, $Utf8NoBomEncoding)
    Does this look legitimate? The re-coded Zs_RF_Shared.avsi file is attached. AvsPmod seems to work...
    Image Attached Files
    Quote Quote  
  2. It's legit. The guy who's been maintaining QTGMC has gradually been updating quite a few scripts to support high bitdepth video and other fun stuff with Avisynth+, and rather than repeat functions the scripts have in common, they've been moved to the Zs_RF_Shared.avsi script. That was fairly recent.

    I don't know what unicode characters Notepad?? is referring to, but you probably could've dismissed the error message and saved as ANSI (the encoding method in Save window for Notepad). The text editor I normally use (Metapad) didn't even ask and just saved it that way (as DOS text).

    Here's a copy I saved from here if you want to compare them. I'm confident it's okay.
    Image Attached Files
    Last edited by hello_hello; 10th May 2020 at 22:12. Reason: spelling
    Quote Quote  
  3. Originally Posted by hello_hello View Post
    I don't know what unicode characters Notepad?? is referring to, but you probably could've dismissed the error message and saved as ANSI (the encoding method in Save window for Notepad). The text editor I normally use (Metapad) didn't even ask and just saved it that way (as DOS text).
    It was Notepad. Based on comparing with your file, the differences are the question marks in comments. You are right, just ignore and save.

    Thanks for helping me verify.

    Image
    [Attachment 53197 - Click to enlarge]
    Quote Quote  
  4. Now I need to work out what's happening, because it'll annoy me if I don't. I should've remembered Didée's name, because I've corrected it to remove the question marks in a few scripts. It seems it's not displaying correctly in my browser, and when I copy and paste, Notepad's algorithm for determining the type of formatting probably gets it's wrong. I think....

    I don't quite understand why, because his name can apparently display correctly in ANSI.

    Edit: It's looking like it's github's fault. "Didée" displays fine on this page:
    https://github.com/realfinder/AVS-Stuff/blob/master/avs%202.5%20and%20up/Zs_RF_Shared.avsi
    But not after opening the "RAW" link. At least not for me. You can however, get an un-mangled version by right clicking on "RAW" and downloading it that way. Or maybe it's my browser?

    I also downloaded it from this post. It's attached.
    Image Attached Files
    Last edited by hello_hello; 10th May 2020 at 06:12.
    Quote Quote  
  5. "Did�e" = the copy and paste version. The � hex code is "FFFD"

    é= ASCII hex 00E9
    é= Unicode hex 00E9

    https://en.wikipedia.org/wiki/Specials_(Unicode_block)
    The replacement character (often a black diamond with a white question mark or an empty square box) is a symbol found in the Unicode standard at code point U+FFFD in the Specials table. It is used to indicate problems when a system is unable to render a stream of data to a correct symbol.
    Quote Quote  



Similar Threads

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