Webをキャプチャして変換するツール
GrabzItのオンラインコミュニティ

Error when configure GRABZIT

WebページまたはHTMLをキャプチャまたは変換する方法について質問する into画像、CSV、PDF、またはDOCXドキュメント、およびビデオの変換方法 intoアニメーションGIFはAPIを使用しています。

先生こんにちは、

 

I am sandip i have to  configure GRABZIT for youtube to gif. but it seems generate error. have look below error detail.

致命的なエラー: Uncaught Error: Class 'GrabzIt\GrabzItImageOptions' not found in /media/phpuser/Data/sandip/study/demo/php/lib/GrabzItClient.php:182 Stack trace: #0 /media/phpuser/Data/sandip/study/demo/php/index.php(78): GrabzIt\GrabzItClient->URLToImage('https://www.you...') #1 {main} thrown in /media/phpuser/Data/sandip/study/demo/php/lib/GrabzItClient.php オンライン 182

私を助けてください。

感謝

 

 

30 年 2018 月 XNUMX 日に匿名からの質問

こんにちは、

We just fixed this issue are you using version: 3.3.0.1?

敬具

ドミニク

30 年 2018 月 XNUMX 日に GrabzIt サポートによって回答されました

I am using GrabzIt 3.3 version.

30 年 2018 月 XNUMX 日に匿名によって回答されました

Then you will need to upgrade to version 3.3.0.1. Visme

30 年 2018 月 XNUMX 日に GrabzIt サポートによって回答されました

I have used latest version still error occured.

30 年 2018 月 XNUMX 日に匿名によって回答されました

Ok, can you open GrabzItClient.php and put some echo statements on the $file_name variable in the spl_autoload_register function. Hopefully this will explain why it isn't working.

30 年 2018 月 XNUMX 日に GrabzIt サポートによって回答されました

I did echo with filename nothing happend. it showing blank page

30 年 2018 月 XNUMX 日に匿名によって回答されました

If PHP can't find a class it should then call spl_autoload_register can you put a simple echo in there that outputs some static text?

使用している PHP のバージョンは何ですか?

Also can you replace the content spl_autoload_register of with:

$file_name = str_replace("GrabzIt\\", '', $class_name) . '.php';

if (strpos($file_name, "GrabzIt") === 0) {

include($file_name);

}

This does not require a file lookup.

30 年 2018 月 XNUMX 日に GrabzIt サポートによって回答されました

Thanks error removed

but i unable to convert youtube url to gif.

エラー:

Your animated GIF exceeds the maximum total resolution allowed on your package. Upgrade for free to generate animated GIFs with a higher total resolution: https://grabz.it/upgrade/?FreeTrial=true

感謝

30 年 2018 月 XNUMX 日に GrabzIt サポートによって回答されました

I am glad the code change fixed the problem. We will release that soon.

What options are you specifiying for the GrabzItAnimationOptions クラス?

30 年 2018 月 XNUMX 日に GrabzIt サポートによって回答されました

I choosing the youtube url to gif

Youtube url: https://www.youtube.com/watch?v=Bey4XXJAqS8

公共 function URLToAnimation($ url, GrabzItAnimationOptions $ options = ヌル)
    {
        if ($ options == ヌル)
        {
            $ options = 新製品 GrabzItAnimationOptions();           
        }       

        $ this->要求 = 新製品 GrabzItRequest($ this->getRootUrl(false) . "takeanimation.ashx", false, $ options, $ url);
    }
これは私のコードです
30 年 2018 月 XNUMX 日に匿名によって回答されました

That's GrabzIt's code.

What options are you selecting from the GrabzItAnimationOptions class? And then passing in the $options variable?

30 年 2018 月 XNUMX 日に GrabzIt サポートによって回答されました

I dont know about which option u are talking. i just copy GRABIT php package and configure.

now u tell me what to do.

30 年 2018 月 XNUMX 日に匿名によって回答されました

You must be setting width, height, frames per second or duration as by default it keeps within the total resolution restrictions for the free package. I have checked the PHP demo just to make sure it does and it works correctly.

More information on this can be found in this 記事.

30 年 2018 月 XNUMX 日に GrabzIt サポートによって回答されました

助けてくれてありがとう。

Now let me know how to remove watermark from GIF.

Further let me know if i use your library free then how much days is it free for to use.

30 年 2018 月 XNUMX 日に匿名によって回答されました

To remove the GrabzIt watermark you need to subscribe, you can do so with a seven day free trial.

If you want to just use the free account it is free forever.

30 年 2018 月 XNUMX 日に GrabzIt サポートによって回答されました