AVSPP

AVSPP とは?

  • AVSPP(AViSynth PreProcessor)とは?

    SourceForge.net: AVSPP -- Avisynth PreProcessor

    AVSPP -- Avisynth Preprocessor is a tool for preprocessing Avisynth scripts, allowing script writers to integrate PHP with Avisynth scripts. It allows access to remote images and videos, loops, and other functionality that is easily accomplished in PHP.

    (試訳: AVSPP -- Avisynth Preprocessor は、AviSynth スクリプトを前処理するためのツールです。スクリプトライターに PHP を AviSynth スクリプトと統合することを可能にします。リモート画像、ビデオ、ループ、PHP で簡単に遂行されるその他の機能にアクセスすることを可能にします。)

  • tacman1123 氏作。

想定される用途

  • AviSynth が苦手なループ(for, foreach)などの処理を PHP で書く。
  • 公開されている画像やコードをダウンロードして、AviSynth スクリプトにインポートする。

AVSPP の入手

使用方法

1. avp ファイルの作成

  • avp ファイルは、AviSynth スクリプトの一部に PHP スクリプトがミックスされたもの。
  • PHP スクリプト部分は、「<? 」と「 ?>」の間に書く。

2. avspp.exe の実行

  • コマンドラインから avspp.exe を呼び出す。引数には avp ファイルを指定する。
  • 実行すると、avs ファイルが出力される。

使用例

README.txt より

avspp examples\slideshow1.avp
  • 上の例では、examples\slideshow1.avs が生成される。
  • 出力される avs ファイルでは、ループなど PHP スクリプトで書かれた部分が純粋な AviSynth スクリプトに変換されている。

リンク

最終更新日時: 2008-06-30 (月) 23:49:52 (5777d)