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:
Does this look legitimate? The re-coded Zs_RF_Shared.avsi file is attached. AvsPmod seems to work...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)
+ Reply to Thread
Results 1 to 5 of 5
-
-
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.Last edited by hello_hello; 10th May 2020 at 22:12. Reason: spelling
Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview) -
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.
[Attachment 53197 - Click to enlarge] -
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.Last edited by hello_hello; 10th May 2020 at 06:12.
Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview) -
"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.
Similar Threads
-
Qtgmc-GUI. A simple encoder for your Qtgmc scripts.
By ProWo in forum Video ConversionReplies: 17Last Post: 4th Mar 2023, 02:01 -
I think this just needs QTGMC...
By pooksahib in forum Video ConversionReplies: 2Last Post: 30th May 2019, 03:12 -
Help with QTGMC?
By attackworld in forum EditingReplies: 3Last Post: 26th Nov 2018, 21:57 -
Avisynth: How to install plugins? (Already pasted .avsi and .dll in folder)
By strawberryshortcake in forum Newbie / General discussionsReplies: 110Last Post: 14th May 2018, 00:04 -
Can't load .avsi plugin
By ben45 in forum Video ConversionReplies: 4Last Post: 10th Aug 2016, 08:55