Screentogif: Gifski encoding is failing when using non-latin characters

Created on 18 May 2018  ·  14Comments  ·  Source: NickeManarin/ScreenToGif

how can i use gifski

⏳ waiting for answer 🐞 bug

All 14 comments

WIN7 it work

Did you download the Gifski dll via the Options > Extras > "Download Gifski" button?

Yes,but it didn't work in win10

Can you show me a screenshot of the error?

No error info,just stuck when encoding,and then the program disappear
xyuptl ky8iduz32wnta

Hmm, without an error message this will be hard to be solved.
From what I can see, it's stuck on the first step of the encoding, like something is blocking from even starting.

Please, check if the Dll file is not being blocked by some anti-virus. Also, check if it's not marked as "Downloaded from the internet" (If you right click on the DLL, open Properties, check if there's a button that says something like "Unblock").

Emmm,I used the same program and same gifski.dll in win10 1605.It encoding successed.
I'm sure the dll is not be block in my PC.

Oh,I change the cache folder in other path which don't contain chinese(because the default path contain a chinese user name).Then,the Gifgski work.

Oh, that explains it. Thanks :)

1. Summary

Gifski doesn't work, if in path Non-ASCII symbols, not only Chinese.

See also.

2. Data

3. Steps to reproduce

I open project in ScreenToGIF → Save asGifGifski.

4. Expected behavior

If folder name:

  • D:\ScreenToGIF

or

  • D:\Screen To GIF (use breaking spaces)

        GIF successfully created:

GIF expected

5. Non-expected behavior

Else folder for saving name:

  • D:\СкринТуГиф (all letters — Cyrillic)

        ScreenToGIF crash. No logs.

ScreenToGIF crash

6. Environment

  • Windows 10 Enterprise LTSB 64-bit EN
  • ScreenToGIF 2.16
  • Gifski — download from ExtrasOptionsExtrasGifski

Thanks.

Saving gif with Gifski suddenly not working for me, here is the log of the error.

► Title - 
    Encode
▬ Message - 
    The type initializer for 'ScreenToGif.Util.GifskiInterop' threw an exception.
○ Type - 
    System.TypeInitializationException
♦ [Version] Date/Hour - 
    [2.17.1] 05/05/2019 20:23:49
▲ Source - 
    ScreenToGif
▼ TargetSite - 
    IntPtr Start(Int32, Boolean, Boolean)
♠ StackTrace - 
   at ScreenToGif.Util.GifskiInterop.Start(Int32 quality, Boolean looped, Boolean fast)
   at ScreenToGif.Windows.Other.Encoder.<Encode>d__23.MoveNext()

▬▬ Message - 
    Value cannot be null.
Parameter name: ptr
○○ Type - 
    System.ArgumentNullException
▲▲ Source - 
    mscorlib
▼▼ TargetSite - 
    System.Delegate GetDelegateForFunctionPointer(IntPtr, System.Type)
♠♠ StackTrace - 
   at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr ptr, Type t)
   at ScreenToGif.Util.GifskiInterop..cctor()

@clickwithclark Can you try downloading Gifski again? Using the download button from Options > Extras.

just did, just getting the error again.

@u2shana @Kristinita @clickwithclark
There's a new test version which should solve this bug.
Download here: https://github.com/NickeManarin/ScreenToGif/issues/551

Can you people test it?
In order to test it, you need to delete the old Gifski and download again via Options > Extras, while using the test version of ScreenToGif.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pyoungberg picture pyoungberg  ·  9Comments

rxliuli picture rxliuli  ·  16Comments

positr0nic picture positr0nic  ·  17Comments

Cornstar23 picture Cornstar23  ·  11Comments

felixfbecker picture felixfbecker  ·  27Comments